Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wasm tests for previously missing test cases #586

Merged
merged 8 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 105 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ e2e-test: clean-e2e
e2e-test-ibc-success-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransferSuccess_EVM .

e2e-test-light-client-same-chain-id: clean-e2e
e2e-test-light-client-same-chain-id-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransferRA_3rdSameChainID_EVM .

e2e-test-light-client-hub-3rd: clean-e2e
e2e-test-light-client-same-chain-id-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransferRA_3rdSameChainID_Wasm .

e2e-test-light-client-hub-3rd-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransferBetweenHub3rd_EVM .

e2e-test-light-client-hub-3rd-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransferBetweenHub3rd_Wasm .

e2e-test-light-client-same-chain-id-no-light-client: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransfer_NoLightClient_EVM .

e2e-test-light-client-same-chain-id-no-light-client-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCTransfer_NoLightClient_Wasm .

e2e-test-spinup: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSpinUp .

Expand All @@ -47,6 +56,9 @@ e2e-hub-to-RA-migrate-dym-evm: clean-e2e
e2e-test-bridge-fee-param-change-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestChangeBridgeFeeParam_EVM .

e2e-test-bridge-fee-param-change-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestChangeBridgeFeeParam_Wasm .

e2e-test-ibc-transfer-reserved-word-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisIBCTransferReservedMemo_EVM .

Expand All @@ -56,9 +68,12 @@ e2e-test-ibc-timeout-evm: clean-e2e
e2e-test-eibc-fulfillment-only-one-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCFulfillOnOneRollApp_EVM .

e2e-test-eibc-fulfillment-evm-2-RAs: clean-e2e
e2e-test-eibc-fulfillment-evm-2-RAs-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCFulfillment_two_rollapps_EVM .

e2e-test-eibc-fulfillment-evm-2-RAs-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCFulfillment_two_rollapps_Wasm .

e2e-test-ibc-grace-period-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestIBCGracePeriodCompliance_EVM .

Expand Down Expand Up @@ -86,15 +101,27 @@ e2e-test-eibc-pfm-evm: clean-e2e
e2e-test-eibc-fulfill-no-balance-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCNoBalanceToFulfillOrder_EVM .

e2e-test-eibc-fulfill-no-balance-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCNoBalanceToFulfillOrder_Wasm .

e2e-test-eibc-corrupted-memo-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCCorruptedMemoNegative_EVM .

e2e-test-eibc-corrupted-memo-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCCorruptedMemoNegative_Wasm .

e2e-test-eibc-excessive-fee-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCFeeTooHigh_EVM .

e2e-test-eibc-excessive-fee-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCFeeTooHigh_Wasm .

e2e-test-eibc-timeout-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCTimeoutDymToRollapp_EVM .

e2e-test-eibc-timeout-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCTimeoutDymToRollapp_Wasm .

e2e-test-eibc-timeout_and_fulfill-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestEIBCTimeoutFulFillDymToRollapp_EVM .

Expand Down Expand Up @@ -212,9 +239,15 @@ e2e-test-rollapp-hardfork-recover-ibc-client-evm: clean-e2e
e2e-test-rollapp-hardforkduetodrs-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkDueToDrs_EVM .

# e2e-test-rollapp-hardforkduetodrs-wasm: clean-e2e
# cd tests && go test -timeout=45m -race -v -run TestHardForkDueToDrs_Wasm .

e2e-test-rollapp-hardforkduetofraud-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkDueToFraud_EVM .

e2e-test-rollapp-hardforkduetofraud-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestHardForkDueToFraud_Wasm .

e2e-test-rollapp-genesis-transfer-bridge-blocking-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisTransferBridgeBlocking_EVM .

Expand All @@ -227,9 +260,15 @@ e2e-test-genesis-bridge-invalid-evm: clean-e2e
e2e-test-genesis-bridge-before-channel-set-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisBridgeBeforeChannelSet_EVM .

e2e-test-genesis-bridge-before-channel-set-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisBridgeBeforeChannelSet_Wasm .

e2e-test-non-rollapp-unaffected-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_Non_Rollappchain_Unaffected_EVM .

e2e-test-non-rollapp-unaffected-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_Non_Rollappchain_Unaffected_Wasm .

e2e-test-admc-originates-hub-to-rollapp-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestADMC_Originates_HubtoRA_EVM .

Expand All @@ -251,15 +290,27 @@ e2e-test-update-do-timeout-unallowed-evm: clean-e2e
e2e-test-sequencer-celestia-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSequencerCelestia_EVM .

e2e-test-sequencer-celestia-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSequencerCelestia_Wasm .

e2e-test-sequencer-hub-disconnection-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSequencerHubDisconnection_EVM .

e2e-test-sequencer-hub-disconnection-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSequencerHubDisconnection_Wasm .

e2e-test-fullnode-sync-block-sync-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSync_BlockSync_EVM .

e2e-test-fullnode-sync-block-sync-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSync_BlockSync_Wasm .

e2e-test-fullnode-disconnect-block-sync-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSync_BlockSync_fn_disconnect_EVM .

e2e-test-fullnode-disconnect-block-sync-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestSync_BlockSync_fn_disconnect_Wasm .

e2e-test-sequencer-rotation-oneseq-da-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_SeqRotation_OneSeq_DA_EVM .

Expand Down Expand Up @@ -353,42 +404,75 @@ e2e-test-sequencer-rotation-history-sync-old-sequencer-unbonded-p2p-wasm: clean-
e2e-test-sequencer-rotation-forced-da-evm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRotation_Forced_DA_EVM .

e2e-test-sequencer-rotation-forced-da-wasm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRotation_Forced_DA_Wasm .

e2e-test-sequencer-rewardsaddress-update-evm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRewardsAddress_Update_EVM .

e2e-test-sequencer-rewardsaddress-update-wasm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRewardsAddress_Update_Wasm .

e2e-test-sequencer-rewardsaddress-register-evm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRewardsAddress_Register_EVM .

e2e-test-sequencer-rewardsaddress-register-wasm: clean-e2e
cd tests && go test -timeout=30m -race -v -run Test_SeqRewardsAddress_Register_Wasm .

e2e-test-eibc-client-success-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Success_EVM .

e2e-test-eibc-client-success-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Success_Wasm .

e2e-test-eibc-client-nofulfillrollapp-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_NoFulfillRollapp_EVM .

e2e-test-eibc-client-nofulfillrollapp-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_NoFulfillRollapp_Wasm .

e2e-test-genesis-bridge-no-relay-ack-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisBridgeNoRelayAck_EVM .

e2e-test-timebaseupgrade-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_TimeBaseUpgrade_EVM .

e2e-test-timebaseupgrade-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_TimeBaseUpgrade_Wasm .

e2e-test-sequencer-rotation-roatate-request-no-da-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_SeqRot_RotReq_No_DA_EVM .

e2e-test-fraud-detection-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestFraudDetection_EVM .

e2e-test-fraud-detection-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestFraudDetection_Wasm .

e2e-test-timebaseupgradeinpast-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_TimeBaseUpgradeInPast_EVM .

e2e-test-timebaseupgradeinpast-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_TimeBaseUpgradeInPast_Wasm .

e2e-test-zero-fee-rotated-sequencer-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestZeroFee_RotatedSequencer_EVM .

e2e-test-zero-fee-rotated-sequencer-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestZeroFee_RotatedSequencer_Wasm .

e2e-test-zero-fee-relay-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestZeroFee_RelaySuccess_EVM .

e2e-test-zero-fee-relay-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestZeroFee_RelaySuccess_Wasm .

e2e-test-hardfork-kick-proposer-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_HardFork_KickProposer_EVM .

e2e-test-hardfork-kick-proposer-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_HardFork_KickProposer_Wasm .

e2e-test-rollapp-state-update-success-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_RollAppStateUpdateSuccess_EVM .

Expand All @@ -413,24 +497,39 @@ e2e-test-erc20-rollapp-to-hub-new-evm: clean-e2e
e2e-test-update-min-gas-prices-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestUpdateMinGasPrice_EVM .

e2e-test-update-min-gas-prices-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestUpdateMinGasPrice_Wasm .

e2e-test-tokenless-create-erc20-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestTokenlessCreateERC20_EVM .

e2e-test-tokenless-transfer-success-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestTokenlessTransferSuccess_EVM .

e2e-test-tokenless-transfer-success-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestTokenlessTransferSuccess_Wasm .

e2e-test-tokenless-transfer-diff-gas-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestTokenlessTransferDiffGas_EVM .

e2e-test-eibc-client-timeout-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Timeout_EVM .

e2e-test-eibc-client-timeout-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Timeout_Wasm .

e2e-test-eibc-client-ackerr-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_AckErr_EVM .

e2e-test-eibc-client-ackerr-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_AckErr_Wasm .

e2e-test-eibc-client-update-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Update_Order_EVM .

e2e-test-eibc-client-update-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_EIBC_Client_Update_Order_Wasm .

e2e-test-full-node-sync-mul-forks-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_FulNodeSync_MulForks_EVM .

Expand Down Expand Up @@ -628,12 +727,12 @@ e2e-test-genesis-bridge-no-relay-ack-wasm: clean-e2e
e2e-test-sequencer-rotation-roatate-request-no-da-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_SeqRot_RotReq_No_DA_Wasm .

e2e-test-zero-fee-relay-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestZeroFee_RelaySuccess_Wasm .

e2e-test-without-genesis-account-evm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisBridgeWithoutGenesisAcc_EVM .

e2e-test-without-genesis-account-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run TestGenesisBridgeWithoutGenesisAcc_Wasm .

e2e-test-rollapp-state-update-success-wasm: clean-e2e
cd tests && go test -timeout=45m -race -v -run Test_RollAppStateUpdateSuccess_Wasm .

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ replace (

require (
github.com/decentrio/e2e-testing-live v0.0.0-20240718080249-ee255229c869
github.com/decentrio/rollup-e2e-testing v0.0.0-20241230041213-ab3dc8baaa9c
github.com/decentrio/rollup-e2e-testing v0.0.0-20250103025120-a09b381ced46
github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20241224113003-12bfcad722ac
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/decentrio/e2e-testing-live v0.0.0-20240718080249-ee255229c869 h1:qWpUYGOsrSC+1Vmd2TjhbsSpntvvx9PsX3AoeMunFxc=
github.com/decentrio/e2e-testing-live v0.0.0-20240718080249-ee255229c869/go.mod h1:HZNYnPwmSxkwTPjSD5yolauc1Vx1ZzKL4FFMxTq4H5Y=
github.com/decentrio/rollup-e2e-testing v0.0.0-20241230041213-ab3dc8baaa9c h1:VWuH2yNzKJOKke68P1v6E4oiu4fIq9uISAvKBeTStmI=
github.com/decentrio/rollup-e2e-testing v0.0.0-20241230041213-ab3dc8baaa9c/go.mod h1:QmBrZgZplhtgHRWC0Z7LC7TDsKuC8sDyQvZyXXaqw/c=
github.com/decentrio/rollup-e2e-testing v0.0.0-20250103025120-a09b381ced46 h1:/jhpech7oRzkiPUnMNr4wKlI3j3o87WZekcgKtTgvIA=
github.com/decentrio/rollup-e2e-testing v0.0.0-20250103025120-a09b381ced46/go.mod h1:QmBrZgZplhtgHRWC0Z7LC7TDsKuC8sDyQvZyXXaqw/c=
github.com/deckarep/golang-set/v2 v2.1.0 h1:g47V4Or+DUdzbs8FxCCmgb6VYd+ptPAngjM6dtGktsI=
github.com/deckarep/golang-set/v2 v2.1.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y=
Expand Down
Loading