diff --git a/tests/fullnode_sync_block_sync_test.go b/tests/fullnode_sync_block_sync_test.go index 57c76786..fc99f929 100644 --- a/tests/fullnode_sync_block_sync_test.go +++ b/tests/fullnode_sync_block_sync_test.go @@ -66,12 +66,12 @@ func TestSync_BlockSync_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -407,12 +407,12 @@ func TestSync_BlockSync_fn_disconnect_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/fullnode_sync_gossip_test.go b/tests/fullnode_sync_gossip_test.go index 2510b06e..201004f0 100644 --- a/tests/fullnode_sync_gossip_test.go +++ b/tests/fullnode_sync_gossip_test.go @@ -61,12 +61,12 @@ func TestSync_Celes_Rt_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -376,12 +376,12 @@ func TestSync_Celes_Rt_Gossip_Wasm(t *testing.T) { numCelestiaFn := 0 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -653,12 +653,12 @@ func TestSync_Sqc_Disconnect_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1001,12 +1001,12 @@ func TestSync_Sqc_Disconnect_Gossip_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1349,12 +1349,12 @@ func TestSync_Fullnode_Disconnect_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1694,12 +1694,12 @@ func TestSync_Fullnode_Disconnect_Gossip_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/fullnode_sync_test.go b/tests/fullnode_sync_test.go index dc88307d..dae83a81 100644 --- a/tests/fullnode_sync_test.go +++ b/tests/fullnode_sync_test.go @@ -337,14 +337,14 @@ func TestFullnodeSync_Celestia_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" // trustedHash := "\"A62DD37EDF3DFF5A7383C6B5AA2AC619D1F8C8FEB7BA07730E50BBAAC8F2FF0C\"" // sampleFrom := 2395649 url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -607,14 +607,14 @@ func TestFullnodeSync_Celestia_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" // trustedHash := "\"A62DD37EDF3DFF5A7383C6B5AA2AC619D1F8C8FEB7BA07730E50BBAAC8F2FF0C\"" // sampleFrom := 2395649 url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/sequencer_test.go b/tests/sequencer_test.go index 8f68ea75..47585163 100644 --- a/tests/sequencer_test.go +++ b/tests/sequencer_test.go @@ -60,14 +60,14 @@ func TestSequencerCelestia_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" // trustedHash := "\"017428B113893E854767E626BC9CF860BDF49C2AC2DF56F3C1B6582B2597AC6E\"" // sampleFrom := 2423882 url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -338,14 +338,14 @@ func TestSequencerHubDisconnection_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "celestia-testnet-consensus.itrocket.net" + coreIp := "rpc-mocha.pops.one" // trustedHash := "\"017428B113893E854767E626BC9CF860BDF49C2AC2DF56F3C1B6582B2597AC6E\"" // sampleFrom := 2423882 url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" + rpcEndpoint := "http://rpc-mocha.pops.one:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/setup.go b/tests/setup.go index 136079c8..76e32862 100644 --- a/tests/setup.go +++ b/tests/setup.go @@ -84,12 +84,12 @@ type ForwardMetadata struct { } const ( - ibcPath = "dymension-demo" - anotherIbcPath = "dymension-demo2" - BLOCK_FINALITY_PERIOD = 30 - EventDemandOrderCreated = "dymensionxyz.dymension.eibc.EventDemandOrderCreated" - EventDemandOrderFulfilled = "dymensionxyz.dymension.eibc.EventDemandOrderFulfilled" - EventDemandOrderFeeUpdated = "dymensionxyz.dymension.eibc.EventDemandOrderFeeUpdated" + ibcPath = "dymension-demo" + anotherIbcPath = "dymension-demo2" + BLOCK_FINALITY_PERIOD = 30 + EventDemandOrderCreated = "dymensionxyz.dymension.eibc.EventDemandOrderCreated" + EventDemandOrderFulfilled = "dymensionxyz.dymension.eibc.EventDemandOrderFulfilled" + EventDemandOrderFeeUpdated = "dymensionxyz.dymension.eibc.EventDemandOrderFeeUpdated" EventDemandOrderPacketStatusUpdated = "dymensionxyz.dymension.eibc.EventDemandOrderPacketStatusUpdated" ) @@ -195,6 +195,14 @@ var ( } rollappEVMGenesisKV = []cosmos.GenesisKV{ + { + Key: "app_state.sequencers.params.unbonding_time", + Value: "180s", + }, + { + Key: "app_state.staking.params.unbonding_time", + Value: "180s", + }, { Key: "app_state.mint.params.mint_denom", Value: "urax", @@ -263,6 +271,14 @@ var ( } rollappWasmGenesisKV = []cosmos.GenesisKV{ + { + Key: "app_state.sequencers.params.unbonding_time", + Value: "180s", + }, + { + Key: "app_state.staking.params.unbonding_time", + Value: "180s", + }, // Bank denom metadata { Key: "app_state.bank.denom_metadata", @@ -291,6 +307,14 @@ var ( } dymensionGenesisKV = []cosmos.GenesisKV{ + { + Key: "app_state.sequencer.params.unbonding_time", + Value: "180s", + }, + { + Key: "app_state.staking.params.unbonding_time", + Value: "180s", + }, // gov params { Key: "app_state.gov.params.voting_period",