Skip to content

Commit

Permalink
Feat: add new config on genesis for new version (#404)
Browse files Browse the repository at this point in the history
Co-authored-by: anhductn2001 <[email protected]>
  • Loading branch information
hoangdv2429 and anhductn2001 committed Sep 12, 2024
1 parent 2d78637 commit ccba11d
Show file tree
Hide file tree
Showing 25 changed files with 115 additions and 36 deletions.
1 change: 1 addition & 0 deletions clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ rm -rf /tmp/rollapp*
rm -rf /tmp/dym*
rm -rf /tmp/sequencer*
rm -rf /tmp/celes*
rm -rf /tmp/gaia*
echo "Clean success!!"

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

require (
github.com/decentrio/e2e-testing-live v0.0.0-20240718080249-ee255229c869
github.com/decentrio/rollup-e2e-testing v0.0.0-20240826075000-703ac1665ee8
github.com/decentrio/rollup-e2e-testing v0.0.0-20240911110829-da071a3f1628
github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20240717194206-54c0fca5fada
github.com/dymensionxyz/dymint v1.2.0-rc01
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c h1:pFUpOrbxDR
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c/go.mod h1:6UhI8N9EjYm1c2odKpFpAYeR8dsBeM7PtzQhRgxRr9U=
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-20240826075000-703ac1665ee8 h1:0DDLdwsT5WumK6P3m1rAQxz1GzFqN7+TBHAY8hct9IA=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240826075000-703ac1665ee8/go.mod h1:QmBrZgZplhtgHRWC0Z7LC7TDsKuC8sDyQvZyXXaqw/c=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240911110829-da071a3f1628 h1:BaQci/ieiQ7+N0sRouA+CznSzPDbOx+ae/LsgcCQgSs=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240911110829-da071a3f1628/go.mod h1:QmBrZgZplhtgHRWC0Z7LC7TDsKuC8sDyQvZyXXaqw/c=
github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4=
github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo=
github.com/deckarep/golang-set/v2 v2.1.0 h1:g47V4Or+DUdzbs8FxCCmgb6VYd+ptPAngjM6dtGktsI=
Expand Down
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_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

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

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

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

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

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

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

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

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
2 changes: 2 additions & 0 deletions tests/automated_denommetadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ func TestADMC_Hub_to_RA_Migrate_Dym_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

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

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
5 changes: 5 additions & 0 deletions tests/data/native_denom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"display": "RAX",
"base": "urax",
"exponent": 18
}
11 changes: 8 additions & 3 deletions tests/disconnection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ func TestDisconnection_EVM(t *testing.T) {
dymintTomlOverrides["settlement_gas_prices"] = "0adym"
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_max_time"] = "20s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["block_batch_max_size_bytes"] = "1000"
dymintTomlOverrides["max_supported_batch_skew"] = "1"
dymintTomlOverrides["max_batch_skew"] = "1"
dymintTomlOverrides["batch_acceptance_attempts"] = "1"
dymintTomlOverrides["batch_acceptance_timeout"] = "5s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"
Expand Down Expand Up @@ -195,6 +196,7 @@ 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 @@ -204,13 +206,15 @@ 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 Expand Up @@ -248,8 +252,9 @@ func TestDisconnection_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "5s"
dymintTomlOverrides["block_batch_max_size_bytes"] = "1000"
dymintTomlOverrides["max_supported_batch_skew"] = "1"
dymintTomlOverrides["max_batch_skew"] = "1"
dymintTomlOverrides["batch_acceptance_attempts"] = "1"
dymintTomlOverrides["batch_acceptance_timeout"] = "5s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"
Expand Down
1 change: 1 addition & 0 deletions tests/eibc_corrupted_memo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func TestEIBCCorruptedMemoNegative_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
1 change: 1 addition & 0 deletions tests/eibc_fee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func TestEIBCFeeTooHigh_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"
dymintTomlOverrides["block_time"] = "2s"

Expand Down
2 changes: 2 additions & 0 deletions tests/eibc_feemarket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ func TestEIBCUpdateOnAckErrAndTimeout_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

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

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
1 change: 1 addition & 0 deletions tests/eibc_nobalance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func TestEIBCNoBalanceToFulfillOrder_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
1 change: 1 addition & 0 deletions tests/eibc_timeout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func TestEIBCTimeoutDymToRollapp_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand Down
2 changes: 2 additions & 0 deletions tests/frozen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ func TestOtherRollappNotAffected_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides["config/dymint.toml"] = dymintTomlOverrides
Expand All @@ -1199,6 +1200,7 @@ func TestOtherRollappNotAffected_Wasm(t *testing.T) {
dymintTomlOverrides2["max_proof_time"] = "500ms"
dymintTomlOverrides2["max_idle_time"] = "3s"
dymintTomlOverrides2["batch_submit_max_time"] = "100s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

configFileOverrides2["config/dymint.toml"] = dymintTomlOverrides2
Expand Down
6 changes: 4 additions & 2 deletions tests/fullnode_sync_block_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func TestSync_BlockSync_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "3600s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["block_time"] = "20ms"
dymintTomlOverrides["p2p_gossip_cache_size"] = "1"
dymintTomlOverrides["p2p_blocksync_enabled"] = "true"
Expand Down Expand Up @@ -180,7 +181,7 @@ func TestSync_BlockSync_EVM(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -384,6 +385,7 @@ func TestSync_BlockSync_fn_disconnect_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "3s"
dymintTomlOverrides["max_proof_time"] = "500ms"
dymintTomlOverrides["batch_submit_max_time"] = "3600s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["block_time"] = "20ms"
dymintTomlOverrides["p2p_gossip_cache_size"] = "1"
dymintTomlOverrides["p2p_blocksync_enabled"] = "true"
Expand Down Expand Up @@ -521,7 +523,7 @@ func TestSync_BlockSync_fn_disconnect_EVM(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}),
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}),
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down
18 changes: 12 additions & 6 deletions tests/fullnode_sync_gossip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestSync_Celes_Rt_Gossip_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -175,7 +176,7 @@ func TestSync_Celes_Rt_Gossip_EVM(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -357,6 +358,7 @@ func TestSync_Celes_Rt_Gossip_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "80s"
dymintTomlOverrides["batch_submit_time"] = "20s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -492,7 +494,7 @@ func TestSync_Celes_Rt_Gossip_Wasm(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -634,6 +636,7 @@ func TestSync_Sqc_Disconnect_Gossip_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "5s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -767,7 +770,7 @@ func TestSync_Sqc_Disconnect_Gossip_EVM(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -982,6 +985,7 @@ func TestSync_Sqc_Disconnect_Gossip_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "5s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -1115,7 +1119,7 @@ func TestSync_Sqc_Disconnect_Gossip_Wasm(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -1330,6 +1334,7 @@ func TestSync_Fullnode_Disconnect_Gossip_EVM(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "5s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -1463,7 +1468,7 @@ func TestSync_Fullnode_Disconnect_Gossip_EVM(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down Expand Up @@ -1675,6 +1680,7 @@ func TestSync_Fullnode_Disconnect_Gossip_Wasm(t *testing.T) {
dymintTomlOverrides["max_idle_time"] = "200ms"
dymintTomlOverrides["max_proof_time"] = "150ms"
dymintTomlOverrides["batch_submit_max_time"] = "5s"
dymintTomlOverrides["batch_submit_time"] = "5s"
dymintTomlOverrides["block_time"] = "190ms"
dymintTomlOverrides["p2p_blocksync_enabled"] = "false"

Expand Down Expand Up @@ -1808,7 +1814,7 @@ func TestSync_Fullnode_Disconnect_Gossip_Wasm(t *testing.T) {

// Create an exec instance
execConfig := types.ExecConfig{
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.accname", "validator"}), // Replace with your command and arguments
Cmd: strslice.StrSlice([]string{"celestia", "light", "start", "--node.store", nodeStore, "--gateway", "--core.ip", coreIp, "--p2p.network", p2pNetwork, "--keyring.keyname", "validator"}), // Replace with your command and arguments
}

execIDResp, err := client.ContainerExecCreate(ctx, containerID, execConfig)
Expand Down
Loading

0 comments on commit ccba11d

Please sign in to comment.