mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 07:45:18 +00:00
fix typo in weth contract seed for internal testnet (#1491)
* fix typo in weth contract seed for internal testnet * move wallet variable up for organizational purposes
This commit is contained in:
parent
27d2502419
commit
42f30080a6
7
.github/scripts/seed-internal-testnet.sh
vendored
7
.github/scripts/seed-internal-testnet.sh
vendored
@ -13,6 +13,7 @@ kava config broadcast-mode block
|
||||
|
||||
# setup dev wallet
|
||||
echo "${DEV_WALLET_MNEMONIC}" | kava keys add --recover dev-wallet
|
||||
DEV_TEST_WALLET_ADDRESS="0x7E08fa61f22f1A40B4617b887eD24b85CDaf33c2"
|
||||
|
||||
# setup kava etherum comptabile account for deploying
|
||||
# erc20 contracts to the kava chain
|
||||
@ -53,9 +54,13 @@ npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRAC
|
||||
|
||||
# deploy and fund wETH ERC20 contract
|
||||
wETH_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "Wrapped wETH" ETH 18)
|
||||
wETH_CONTRACT_ADDRESS=${wBTC_CONTRACT_DEPLOY: -42}
|
||||
wETH_CONTRACT_ADDRESS=${wETH_CONTRACT_DEPLOY: -42}
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000000000000
|
||||
|
||||
# seed some evm wallets
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000000000000
|
||||
|
||||
# give dev-wallet enough delegation power to pass proposals by itself
|
||||
# enumerate all genesis validators
|
||||
GENTX_VALIDATORS=("kavavaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxrnrlwp" "kavavaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw958sh3s")
|
||||
|
Loading…
Reference in New Issue
Block a user