Skip to content

Commit

Permalink
trusting_period and batch_submit_time
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Sep 10, 2024
1 parent a46751a commit f4c7604
Show file tree
Hide file tree
Showing 23 changed files with 98 additions and 40 deletions.
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-20240906122105-34ede6dfe1d1
github.com/decentrio/rollup-e2e-testing v0.0.0-20240910042137-4b80501642c9
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-20240906122105-34ede6dfe1d1 h1:VP1JKYWYR3XkFYaqgnJ/A79X1y2A1aqkoqqvFB654/0=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240906122105-34ede6dfe1d1/go.mod h1:QmBrZgZplhtgHRWC0Z7LC7TDsKuC8sDyQvZyXXaqw/c=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240910042137-4b80501642c9 h1:yxIfbIDKRqM1VF9U27ImOue7MRb/OFmB7nitX2iKssQ=
github.com/decentrio/rollup-e2e-testing v0.0.0-20240910042137-4b80501642c9/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
2 changes: 2 additions & 0 deletions tests/disconnection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func TestDisconnection_EVM(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["batch_acceptance_attempts"] = "1"
Expand Down Expand Up @@ -248,6 +249,7 @@ 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["batch_acceptance_attempts"] = "1"
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 f4c7604

Please sign in to comment.