Skip to content

Commit

Permalink
Merge branch 'feat/canonial_light_client_3rd_hub' of github.com:dymen…
Browse files Browse the repository at this point in the history
…sionxyz/e2e-tests into feat/canonial_light_client_3rd_hub
  • Loading branch information
hoangdv2429 committed Sep 16, 2024
2 parents fa0d5c0 + a9788ea commit e6316fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions tests/admc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestADMC_Originates_HubtoRA_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -204,6 +205,7 @@ func TestADMC_Migrate_Empty_User_Memo_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -432,6 +434,7 @@ func TestADMC_Migrate_With_User_Memo_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -668,6 +671,7 @@ func TestADMC_Originates_HubtoRA_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -837,6 +841,7 @@ func TestADMC_Migrate_Empty_User_Memo_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -1062,6 +1067,7 @@ func TestADMC_Migrate_With_User_Memo_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -1294,6 +1300,7 @@ func TestADMC_MetaData_NotFound_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down Expand Up @@ -1493,6 +1500,7 @@ func TestADMC_MetaData_NotFound_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_time"] = "50s"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
3 changes: 0 additions & 3 deletions tests/disconnection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func TestDisconnection_EVM(t *testing.T) {

// Wait for rollapp finalized
rollapp1Height, err := rollapp1.Height(ctx)
fmt.Println(rollapp1Height)
require.NoError(t, err)
dymension.WaitUntilRollappHeightIsFinalized(ctx, rollapp1.GetChainID(), rollapp1Height, 300)

Expand All @@ -205,15 +204,13 @@ func TestDisconnection_EVM(t *testing.T) {

// Wait until rollapp stops produce block
rollappHeight, err := rollapp1.Height(ctx)
fmt.Println(rollappHeight)
require.NoError(t, err)

err = testutil.WaitForCondition(
time.Minute*10,
time.Second*5, // each epoch is 5 seconds
func() (bool, error) {
newRollappHeight, err := rollapp1.Height(ctx)
fmt.Println(newRollappHeight)
require.NoError(t, err)

if newRollappHeight > rollappHeight {
Expand Down
1 change: 1 addition & 0 deletions tests/fullnode_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (

test "github.com/decentrio/rollup-e2e-testing"
"github.com/decentrio/rollup-e2e-testing/cosmos"
"github.com/decentrio/rollup-e2e-testing/cosmos"
"github.com/decentrio/rollup-e2e-testing/cosmos/hub/celes_hub"
"github.com/decentrio/rollup-e2e-testing/cosmos/hub/dym_hub"
"github.com/decentrio/rollup-e2e-testing/cosmos/rollapp/dym_rollapp"
Expand Down

0 comments on commit e6316fc

Please sign in to comment.