Skip to content

Commit

Permalink
Remove test list from config
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Feb 28, 2024
1 parent b433d7d commit 3289bb1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
16 changes: 1 addition & 15 deletions cmd/zetae2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ contracts:
connector_eth: "0x00005e3125aba53c5652f9f0ce1a4cf91d8b15ea"
custody: "0x000047f11c6e42293f433c82473532e869ce4ec5"
usdt: "0x07865c6e87b9f70255377e024ace6630c1eaa37f"
test_list:
# - "erc20_deposit"
# - "erc20_withdraw"
# - "eth_deposit"
# - "eth_withdraw"
```

### Bitcoin setup
Expand Down Expand Up @@ -95,7 +90,7 @@ zetae2e list-tests
Run tests:

```go
zetae2e run [config] --verbose
zetae2e run [testname1]:[arg1],[arg2] [testname2]:[arg1],[arg2] --config config.yml
```

Since cctxs might take a longer time to be processed on live networks, it is highly recommended to use `--verbose` flag to see the current status of the cctx workflow.
Expand Down Expand Up @@ -124,9 +119,6 @@ contracts:
zeta_eth
connector_eth
custody: "0x000047f11c6e42293f433c82473532e869ce4ec5"
test_list:
- "eth_deposit"
- "eth_withdraw"
```

One of the tests can be commented out in case only a deposit or a withdrawal is to be tested.
Expand All @@ -151,9 +143,6 @@ contracts:
usdt_zrc20
evm:
usdt
test_list:
- "erc20_deposit"
- "erc20_withdraw"
```

### Testing a ZRC20 from a Bitcoin chain
Expand Down Expand Up @@ -182,9 +171,6 @@ contracts:
btc_zrc20
uniswap_factory
uniswap_router
test_list:
- "bitcoin_deposit"
- "bitcoin_withdraw"
```

### TODO: message passing
5 changes: 0 additions & 5 deletions cmd/zetae2e/config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,4 @@ contracts:
connector_eth: "0x00005e3125aba53c5652f9f0ce1a4cf91d8b15ea"
custody: "0x000047f11c6e42293f433c82473532e869ce4ec5"
usdt: "0x07865c6e87b9f70255377e024ace6630c1eaa37f"
test_list:
# - "erc20_deposit"
# - "erc20_withdraw"
# - "eth_deposit"
# - "eth_withdraw"

1 change: 0 additions & 1 deletion e2e/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ type Config struct {
RPCs RPCs `yaml:"rpcs"`
Contracts Contracts `yaml:"contracts"`
ZetaChainID string `yaml:"zeta_chain_id"`
TestList []string `yaml:"test_list"`
}

// Accounts contains the configuration for the accounts
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2etests/e2etests.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var AllE2ETests = []runner.E2ETest{
runner.NewE2ETest(TestDepositEtherLiquidityCapName, "deposit Ethers into ZEVM with a liquidity cap", "", nil, TestDepositEtherLiquidityCap),
runner.NewE2ETest(TestMyTestName, "performing custom test", "", nil, TestMyTest),
runner.NewE2ETest(TestERC20DepositName, "deposit ERC20 into ZEVM", "", nil, TestERC20Deposit),
runner.NewE2ETest(TestEtherDepositName, "deposit Ether into ZEVM", "", nil, TestEtherDeposit),
runner.NewE2ETest(TestEtherDepositName, "deposit Ether into ZEVM", "deposit amount (0.01ETH default)", nil, TestEtherDeposit),
runner.NewE2ETest(TestEtherWithdrawName, "withdraw Ether from ZEVM", "", nil, TestEtherWithdraw),
runner.NewE2ETest(TestBitcoinDepositName, "deposit Bitcoin into ZEVM", "", nil, TestBitcoinDeposit),
runner.NewE2ETest(TestDonationEtherName, "donate Ether to the TSS", "", nil, TestDonationEther),
Expand Down

0 comments on commit 3289bb1

Please sign in to comment.