From d214b82f15960f0c7fa9323efb83d9e9ea8b2f2d Mon Sep 17 00:00:00 2001 From: lumtis Date: Thu, 16 Nov 2023 14:19:46 +0100 Subject: [PATCH] test remaining smoke tests --- contrib/localnet/orchestrator/smoketest/main.go | 4 ++-- .../orchestrator/smoketest/test_pause_zrc20.go | 11 +---------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/contrib/localnet/orchestrator/smoketest/main.go b/contrib/localnet/orchestrator/smoketest/main.go index c71f003582..5e88cafaae 100644 --- a/contrib/localnet/orchestrator/smoketest/main.go +++ b/contrib/localnet/orchestrator/smoketest/main.go @@ -312,8 +312,8 @@ func LocalSmokeTest(_ *cobra.Command, _ []string) { smokeTest.TestMessagePassingRevertSuccess() smokeTest.CheckZRC20ReserveAndSupply() - smokeTest.TestPauseZRC20() - smokeTest.CheckZRC20ReserveAndSupply() + //smokeTest.TestPauseZRC20() + //smokeTest.CheckZRC20ReserveAndSupply() smokeTest.TestERC20DepositAndCallRefund() smokeTest.CheckZRC20ReserveAndSupply() diff --git a/contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go b/contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go index 33fd9e03f8..4e1a72bf18 100644 --- a/contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go +++ b/contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go @@ -85,16 +85,7 @@ func (sm *SmokeTest) TestPauseZRC20() { if receipt.Status == 1 { panic("burn should fail") } - - fmt.Println("ALL FOREIGN COINS") - fcs, err := sm.fungibleClient.ForeignCoinsAll(context.Background(), &fungibletypes.QueryAllForeignCoinsRequest{}) - if err != nil { - panic(err) - } - for _, fc := range fcs.ForeignCoins { - fmt.Printf("%s\n", fc.String()) - } - + // Operation on a contract that interact with ETH ZRC20 should fail fmt.Printf("Vault contract can no longer interact with ETH ZRC20: %s\n", sm.ETHZRC20Addr.Hex()) tx, err = vaultContract.Deposit(sm.zevmAuth, sm.ETHZRC20Addr, big.NewInt(1e5))