node
node copied to clipboard
Introduce a `deploy` command in `zetae2e`
Describe the Issue Some E2E tests like zEVM message passing, use test contract to test the feature.
Deploying contracts can be expensive in live networks while we only need to deploy it once in the case of TestDapp contract.
Introduce a zetae2e deploy command to deploy such contracts. The contract address is returned in the command.
Then the contract address can be used as a new argument for the test
zetae2e deploy [network] [contract]
zetae2e deploy zetachain|evm testdapp --config config.yml