Skip to content

Commit

Permalink
test remaining smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 16, 2023
1 parent be56d5c commit d214b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions contrib/localnet/orchestrator/smoketest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
11 changes: 1 addition & 10 deletions contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}


Check failure on line 88 in contrib/localnet/orchestrator/smoketest/test_pause_zrc20.go

View workflow job for this annotation

GitHub Actions / lint

File is not `goimports`-ed (goimports)
// 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))
Expand Down

0 comments on commit d214b82

Please sign in to comment.