Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
laalaguer committed Aug 10, 2021
1 parent 424fa9e commit ee6f5fa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Below Branches Should NOT Be Used

## `testnet` branch
Based on `main` branch.

Specific tweaks:
- `chainId()` tweak (fixed value) for different network: “testnet” `0x27`.
- `istanbul` compiler option change to `constantinpole`.
- `CREATE2` hash change of respective files.
- Test cases changes to include `chainId` as a parameter.

## `mainnet` branch
Based on `testnet` branch

Specific tweaks:
- `chainId()` tweak (fixed value) for different network: “mainnet” `0x4a`.
- Compiler change same as `testnet` branch.
- `CREATE2` hash change of respective files.
- Test cases changes same as on `testnet` branch.
26 changes: 6 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,18 @@ What is changed:
- `CREATE2` hash. (uniswap-v2-periphery/contracts/libraries/UniswapV2Library.sol)

What remains:
- `chainId()` OPCODE call remains the same
- `chainId()` call remains the same.
- Compiler option `istanbul` remains the same.

This is compatible with VeChain after update of thor code `1.5.1`

# Below Should NOT Be Used
## Development Branches
## Deprecated Branches
`mainnet` branch. See `CHANGELOG.md`

## `testnet` branch
Based on `main` branch.
`testnet` branch. See `CHANGELOG.md`

Specific tweaks:
- `chainId()` tweak (fixed value) for different network: “testnet” `0x27`.
- `istanbul` compiler option change to `constantinpole`.
- `CREATE2` hash change of respective files.
- Test cases changes to include `chainId` as a parameter.

## `mainnet` branch
Based on `testnet` branch

Specific tweaks:
- `chainId()` tweak (fixed value) for different network: “mainnet” `0x4a`.
- Compiler change same as `testnet` branch.
- `CREATE2` hash change of respective files.
- Test cases changes same as on `testnet` branch.

## Disclaimer
# Disclaimer
Redistributions of source code must retain this list of conditions and the following disclaimer.

Neither the name of VeChain (VeChain Foundation) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
Expand Down

0 comments on commit ee6f5fa

Please sign in to comment.