node icon indicating copy to clipboard operation
node copied to clipboard

Introduce a `deploy` command in `zetae2e`

Open lumtis opened this issue 1 year ago • 0 comments

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

lumtis avatar May 21 '24 13:05 lumtis