-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Athens 3 support #9
Conversation
messaging/warriors/tasks/deploy.ts
Outdated
task("deploy", descTask).addParam("networks", descNetworksFlag).setAction(main); | ||
task("deploy", "Deploy the contract", main).addParam( | ||
"networks", | ||
"Comma separated list of networks to deploy to" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe can also list the options of networks here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! f2a5e67
omnichain/hello/tasks/deploy.ts
Outdated
@@ -4,7 +4,7 @@ import { HardhatRuntimeEnvironment } from "hardhat/types"; | |||
const contractName = "HelloZeta"; | |||
|
|||
const main = async (args: any, hre: HardhatRuntimeEnvironment) => { | |||
if (hre.network.name !== "athens") { | |||
if (hre.network.name !== "zeta_testnet") { | |||
throw new Error( | |||
'🚨 Please use the "athens" network to deploy to ZetaChain.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use "zeta_testnet" network...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uint256 crossChainGas = 2 * (10 ** 18);
@zetachain/toolkit@athens3
for:balances
,faucet
, etc.ZetaConnectorMock.sol
andEthZetaMock.sol
prepareParams
@zetachain/protocol-contracts
forgetAddress
All contracts have been tested to work with Athens 3: #11