Use BOBA as the main L2 fee token and l1 native token is a secondary option
Progress
[x] Update core contracts in deployer
[x] Update core contract tests
[x] Update boba contracts in boba deployer
[x] Update l2geth
[x] Update integration tests
[x] Update SDK
Important Changes
Use OVM_ETH.sol for BOBA
Use L2Governance.sol without ERC20Vote.sol for l1 native token on L2
Remove xBOBA in L2 LP
Update BOBATuringCredit for receiving ETH
Add decimals in Boba_GasPriceOralce.sol - The decimal place is for the price ratio. It's used to increase the accuracy when two token prices are close and deal with the situation that other token price is higher than BOBA price.
Skip 013-BobaDao.deploy.ts and 016-BobaSaving.deploy.ts.
Important Notice
The bytecode for L2_L1NativeToken.sol is different for different L1 chain. The problem is caused by that the token name is stored in the bytecode, so we can't pre-populate it if we don't know the l1 token name.
Use BOBA as the main L2 fee token and l1 native token is a secondary option
Progress
Important Changes
OVM_ETH.sol
for BOBAL2Governance.sol
withoutERC20Vote.sol
for l1 native token on L2decimals
inBoba_GasPriceOralce.sol
- The decimal place is for the price ratio. It's used to increase the accuracy when two token prices are close and deal with the situation that other token price is higher than BOBA price.013-BobaDao.deploy.ts
and016-BobaSaving.deploy.ts
.Important Notice
L2_L1NativeToken.sol
is different for different L1 chain. The problem is caused by that the token name is stored in the bytecode, so we can't pre-populate it if we don't know the l1 token name.