Skip to content

Commit

Permalink
EthConnect test cannot support the new revert test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <[email protected]>
  • Loading branch information
peterbroadhurst committed Dec 21, 2023
1 parent 5084926 commit fd554b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:

- stack-type: ethereum
blockchain-connector: ethconnect
test-suite: TestEthereumGatewayE2ESuite
test-suite: TestEthereumGatewayLegacyEthE2ESuite
database-type: sqlite3
token-provider: erc1155
multiparty-enabled: false
Expand Down
9 changes: 9 additions & 0 deletions test/e2e/runners/ethereum_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ func TestEthereumGatewayE2ESuite(t *testing.T) {
suite.Run(t, new(gateway.EthereumRevertTestSuite))
suite.Run(t, new(gateway.TokensOnlyTestSuite))
}

func TestEthereumGatewayLegacyEthE2ESuite(t *testing.T) {
// Note EthereumRevertTestSuite does not work with legacy EthConnect, as the
// submissionRejected boolean is only supported by the EVMConnect (FFTM) generation.
suite.Run(t, new(gateway.TokensTestSuite))
suite.Run(t, new(gateway.EthereumCouponTestSuite))
suite.Run(t, new(gateway.EthereumSimpleStorageTestSuite))
suite.Run(t, new(gateway.TokensOnlyTestSuite))
}

0 comments on commit fd554b7

Please sign in to comment.