Created
July 3, 2024 14:50
-
-
Save 0xmichalis/09c0b0f12372836efd2b6cdb3167432d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ hyperlane warp deploy | |
Hyperlane CLI | |
Hyperlane warp route deployment | |
------------------------------------------------ | |
Using warp route deployment config at ./configs/warp-route-deployment.yaml | |
Warp route deployment plan | |
Deployment plan | |
=============== | |
Using token standard ERC20 | |
┌─────────────┬───────┬──────────┬──────────────────────────────────────────────┬──────────────────────────────────────────────┬──────────────────────────────────────────────┬──────────────────────────┐ | |
│ (index) │ isNft │ type │ token │ owner │ mailbox │ interchainSecurityModule │ | |
├─────────────┼───────┼──────────┼──────────────────────────────────────────────┼──────────────────────────────────────────────┼──────────────────────────────────────────────┼──────────────────────────┤ | |
│ alfajores │ false │ 'xERC20' │ '0xDE3872baFB690EF92a8e76085e914E846A98BCf5' │ '0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23' │ '0xEf9F292fcEBC3848bF4bB92a96a04F9ECBb78E59' │ [Object] │ | |
│ basesepolia │ false │ 'xERC20' │ '0xf92f74Dd03f9A9E04773cE5fF3BCeaBB2eB1dDf0' │ '0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23' │ '0xe306C7CebE03cD7BcCD8259E4D34016a0A156b3b' │ [Object] │ | |
└─────────────┴───────┴──────────┴──────────────────────────────────────────────┴──────────────────────────────────────────────┴──────────────────────────────────────────────┴──────────────────────────┘ | |
? Is this deployment plan correct? yes | |
Running pre-flight checks for chains... | |
✅ Chains are valid | |
✅ Signer is valid | |
? WARNING: 0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23 has low balance on alfajores. At least 0.1 recommended but found 0.048629805999999998 CELO | |
Continue? yes | |
All systems ready, captain! Beginning deployment... | |
Loading Registry factory addresses | |
Loading Registry factory addresses | |
Creating staticAggregationIsm Ism for xERC20 token on alfajores chain | |
Deploy trustedRelayerIsm on alfajores with constructor args (0xEf9F292fcEBC3848bF4bB92a96a04F9ECBb78E59, 0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23) | |
Creating staticAggregationIsm Ism for xERC20 token on basesepolia chain | |
Deploy trustedRelayerIsm on basesepolia with constructor args (0xe306C7CebE03cD7BcCD8259E4D34016a0A156b3b, 0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23) | |
Pending https://sepolia.basescan.org/tx/0x1f1a1a2ce2b533741a1b4391680b4a755a1e5ff9a93e25f637cee296d5c71d8d (waiting 1 blocks for confirmation) | |
Pending https://alfajores.celoscan.io/tx/0x8133d6e2c0fed2cd0ce75da69c21d9d64c927db0e6384dd62a16ac441578afec (waiting 1 blocks for confirmation) | |
Pending https://sepolia.basescan.org/tx/0xab59465fb222c0ed92bc1e871f7c689d02ef6ec4242b8ea34cb83ff9537414a7 (waiting 1 blocks for confirmation) | |
Pending https://alfajores.celoscan.io/tx/0x03dc5552565dcefbd4f9deb88f5b6a7c52a080ef56bc0ae9e4dc65f3075b0a35 (waiting 1 blocks for confirmation) | |
Pending https://sepolia.basescan.org/tx/0x2e1a111796722c519f85583dc8f5791f833f0644c2e6a82b6c82a4ebd032b709 (waiting 1 blocks for confirmation) | |
Pending https://sepolia.basescan.org/tx/0x1c0db1953c89f6fd0c1fb28fe82d4ca880839629d9d1b75658c3c9edc9161e33 (waiting 1 blocks for confirmation) | |
Pending https://alfajores.celoscan.io/tx/0x82a993938999007047168f2845d46a8a8f6206dafa4caf3d86e5d01e0e5461b9 (waiting 1 blocks for confirmation) | |
Finished creating staticAggregationIsm Ism for xERC20 token on basesepolia chain | |
Pending https://alfajores.celoscan.io/tx/0x624b99df72213d14e116faa06c1dbec089f9219f6961b935e7f6930629e813f8 (waiting 1 blocks for confirmation) | |
Finished creating staticAggregationIsm Ism for xERC20 token on alfajores chain | |
Deploying to alfajores from https://alfajores.celoscan.io/address/0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23 | |
Deploy proxyAdmin on alfajores with constructor args () | |
Pending https://alfajores.celoscan.io/tx/0xf139dd57f12a51073a01ea2b4263aa9ad30a53b0966b36e1e9488c3fb0202426 (waiting 1 blocks for confirmation) | |
Deploy HypXERC20 on alfajores with constructor args (0xDE3872baFB690EF92a8e76085e914E846A98BCf5, 0xEf9F292fcEBC3848bF4bB92a96a04F9ECBb78E59) | |
Pending https://alfajores.celoscan.io/tx/0xf8d849604048f9bf37ff909679b0cb621af2236b538be5b14daeb2a5c742533d (waiting 1 blocks for confirmation) | |
All providers failed for method estimateGas and params { | |
"transaction": { | |
"from": "0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23", | |
"maxPriorityFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x77359400" | |
}, | |
"maxFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x02cb417800" | |
}, | |
"to": "0xa7f1d337142846634502D56cf34a255d97C209C4", | |
"data": "0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23", | |
"type": 2, | |
"accessList": null | |
} | |
} | |
All providers failed for method estimateGas and params { | |
"transaction": { | |
"from": "0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23", | |
"maxPriorityFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x77359400" | |
}, | |
"maxFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x02cb417800" | |
}, | |
"to": "0xa7f1d337142846634502D56cf34a255d97C209C4", | |
"data": "0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23", | |
"type": 2, | |
"accessList": null | |
} | |
} | |
All providers failed for method estimateGas and params { | |
"transaction": { | |
"from": "0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23", | |
"maxPriorityFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x77359400" | |
}, | |
"maxFeePerGas": { | |
"type": "BigNumber", | |
"hex": "0x02cb417800" | |
}, | |
"to": "0xa7f1d337142846634502D56cf34a255d97C209C4", | |
"data": "0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23", | |
"type": 2, | |
"accessList": null | |
} | |
} | |
hyperlane warp deploy | |
Deploy Warp Route contracts | |
Options: | |
--log Log output format | |
[string] [choices: "pretty", "json"] | |
--verbosity Log verbosity level | |
[string] [choices: "trace", "debug", "info", "warn", "error", "off"] | |
-r, --registry Registry URI, such as a Github repo U | |
RL or a local file path | |
[string] [default: "https://github.com/hyperlane-xyz/hyperlane-registry"] | |
--overrides Path to a local registry to override | |
the default registry | |
[string] [default: "/home/michalis/.hyperlane"] | |
-k, --key, --private-key, --seed-phrase A hex private key or seed phrase for | |
transaction signing, or use the HYP_K | |
EY env var. | |
[string] [default: process.env.HYP_KEY] | |
-y, --yes Skip confirmation prompts | |
[boolean] [default: false] | |
--help Show help [boolean] | |
-w, --config A path to a JSON or YAML file with a | |
warp route deployment config. | |
[string] [default: "./configs/warp-route-deployment.yaml"] | |
-d, --dry-run Chain name to fork and simulate deplo | |
yment. Please ensure an anvil node in | |
stance is running during execution vi | |
a `anvil`. [string] | |
-f, --from-address An address to simulate transaction si | |
gning on a forked network [string] | |
Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"reason":"execution reverted: Initializable: contract is already initialized","code":"UNPREDICTABLE_GAS_LIMIT","method":"estimateGas","transaction":{"from":"0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23","maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x77359400"},"maxFeePerGas":{"type":"BigNumber","hex":"0x02cb417800"},"to":"0xa7f1d337142846634502D56cf34a255d97C209C4","data":"0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23","type":2,"accessList":null},"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":142,\"error\":{\"code\":3,\"message\":\"execution reverted: Initializable: contract is already initialized\",\"data\":\"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564000000000000000000000000000000000000\"}}\n","error":{"code":3,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564000000000000000000000000000000000000"},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"type\":\"0x2\",\"maxFeePerGas\":\"0x2cb417800\",\"maxPriorityFeePerGas\":\"0x77359400\",\"from\":\"0xa90ede59ec974adfa6f6a1f7acfd1d42089d8f23\",\"to\":\"0xa7f1d337142846634502d56cf34a255d97c209c4\",\"data\":\"0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23\"}],\"id\":142,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://alfajores-forno.celo-testnet.org"}}, tx={"data":"0xc0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9aff6acc2426c39aeff331eb98e4719a058b425000000000000000000000000a90ede59ec974adfa6f6a1f7acfd1d42089d8f23","to":{},"from":"0xa90eDe59eC974adFa6F6a1F7ACfD1d42089d8f23","type":2,"maxFeePerGas":{"type":"BigNumber","hex":"0x02cb417800"},"maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x77359400"},"nonce":{},"gasLimit":{},"chainId":{}}, code=UNPREDICTABLE_GAS_LIMIT, version=abstract-signer/5.7.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment