diff --git a/cmd/zetae2e/local/local.go b/cmd/zetae2e/local/local.go index 33a22c46ca..f893018f58 100644 --- a/cmd/zetae2e/local/local.go +++ b/cmd/zetae2e/local/local.go @@ -286,8 +286,10 @@ func localE2ETest(cmd *cobra.Command, _ []string) { } if testAdmin { eg.Go(adminTestRoutine(conf, deployerRunner, verbose, + e2etests.TestZetaWithdrawName, e2etests.TestPauseZRC20Name, e2etests.TestUpdateBytecodeZRC20Name, + e2etests.TestUpdateBytecodeConnectorName, e2etests.TestDepositEtherLiquidityCapName, // TestMigrateChainSupportName tests EVM chain migration. Currently this test doesn't work with Anvil because pre-EIP1559 txs are not supported diff --git a/e2e/e2etests/test_update_bytecode_connector.go b/e2e/e2etests/test_update_bytecode_connector.go index a6e719948e..0770e80dc4 100644 --- a/e2e/e2etests/test_update_bytecode_connector.go +++ b/e2e/e2etests/test_update_bytecode_connector.go @@ -10,6 +10,9 @@ import ( // TestUpdateBytecodeConnector tests updating the bytecode of a connector and interact with it func TestUpdateBytecodeConnector(r *runner.E2ERunner, _ []string) { + // Can withdraw 0.1ZETA + TestZetaWithdraw(r, []string{"10000000000000000000"}) + // Deploy the test contract newTestConnectorAddr, tx, _, err := testconnectorzevm.DeployTestZetaConnectorZEVM( r.ZEVMAuth, @@ -52,8 +55,16 @@ func TestUpdateBytecodeConnector(r *runner.E2ERunner, _ []string) { if err != nil { panic(err) } - _, err = testConnectorContract.Foo(&bind.CallOpts{}) + + response, err := testConnectorContract.Foo(&bind.CallOpts{}) if err != nil { panic(err) } + + if response != "foo" { + panic("unexpected response") + } + + // Can continue to interact with the connector: withdraw 0.1ZETA + TestZetaWithdraw(r, []string{"10000000000000000000"}) }