From 89db95a085de9630217e7fc44c23c3f092c9de10 Mon Sep 17 00:00:00 2001 From: anhductn2001 Date: Wed, 15 Jan 2025 16:16:02 +0700 Subject: [PATCH] update coreIP and rpc --- live-tests/eibc_3rd_token_test.go | 4 ++-- live-tests/eibc_ack_error_test.go | 2 +- live-tests/eibc_pfm_test.go | 2 +- tests/fullnode_sync_block_sync_test.go | 17 ++++++++--------- tests/fullnode_sync_gossip_test.go | 24 ++++++++++++------------ tests/fullnode_sync_test.go | 8 ++++---- tests/rollapp_state_update_test.go | 8 ++++---- tests/sequencer_test.go | 18 +++++++++--------- 8 files changed, 41 insertions(+), 42 deletions(-) diff --git a/live-tests/eibc_3rd_token_test.go b/live-tests/eibc_3rd_token_test.go index b165aaee..e451bf9d 100644 --- a/live-tests/eibc_3rd_token_test.go +++ b/live-tests/eibc_3rd_token_test.go @@ -30,7 +30,7 @@ func TestEIBC_3rd_Token_RolY_Live(t *testing.T) { } mocha := cosmos.CosmosChain{ RPCAddr: "rpc.celestia.test-eu1.ccvalidators.com:443", - GrpcAddr: "mocha-4-consensus.mesa.newmetric.xyz:9090", + GrpcAddr: "https://celestia-testnet-rpc.itrocket.net:443:9090", ChainID: "mocha-4", Bin: "celestia-appd", GasPrices: "0utia", @@ -212,7 +212,7 @@ func TestEIBC_3rd_Token_Timeout_RolY_Live(t *testing.T) { } mocha := cosmos.CosmosChain{ RPCAddr: "rpc.celestia.test-eu1.ccvalidators.com:443", - GrpcAddr: "mocha-4-consensus.mesa.newmetric.xyz:9090", + GrpcAddr: "https://celestia-testnet-rpc.itrocket.net:443:9090", ChainID: "mocha-4", Bin: "celestia-appd", GasPrices: "0utia", diff --git a/live-tests/eibc_ack_error_test.go b/live-tests/eibc_ack_error_test.go index b0216278..e7198c36 100644 --- a/live-tests/eibc_ack_error_test.go +++ b/live-tests/eibc_ack_error_test.go @@ -35,7 +35,7 @@ func TestEIBC_AckError_Dym_RolY_Live(t *testing.T) { mocha := cosmos.CosmosChain{ RPCAddr: "rpc.celestia.test-eu1.ccvalidators.com:443", - GrpcAddr: "mocha-4-consensus.mesa.newmetric.xyz:9090", + GrpcAddr: "https://celestia-testnet-rpc.itrocket.net:443:9090", ChainID: "mocha-4", Bin: "celestia-appd", GasPrices: "0utia", diff --git a/live-tests/eibc_pfm_test.go b/live-tests/eibc_pfm_test.go index 6989da99..ecff4137 100644 --- a/live-tests/eibc_pfm_test.go +++ b/live-tests/eibc_pfm_test.go @@ -44,7 +44,7 @@ func TestEIBCPFMRolX_Live(t *testing.T) { mocha := cosmos.CosmosChain{ RPCAddr: "rpc.celestia.test-eu1.ccvalidators.com:443", - GrpcAddr: "mocha-4-consensus.mesa.newmetric.xyz:9090", + GrpcAddr: "https://celestia-testnet-rpc.itrocket.net:443:9090", ChainID: "mocha-4", Bin: "celestia-appd", GasPrices: "0utia", diff --git a/tests/fullnode_sync_block_sync_test.go b/tests/fullnode_sync_block_sync_test.go index a93f3386..416eb4ba 100644 --- a/tests/fullnode_sync_block_sync_test.go +++ b/tests/fullnode_sync_block_sync_test.go @@ -71,12 +71,12 @@ func TestSync_BlockSync_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -416,12 +416,12 @@ func TestSync_BlockSync_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -761,12 +761,12 @@ func TestSync_BlockSync_fn_disconnect_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1139,12 +1139,12 @@ func TestSync_BlockSync_fn_disconnect_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1471,4 +1471,3 @@ func TestSync_BlockSync_fn_disconnect_Wasm(t *testing.T) { ) require.NoError(t, err) } - diff --git a/tests/fullnode_sync_gossip_test.go b/tests/fullnode_sync_gossip_test.go index cf6fa734..d8eedf72 100644 --- a/tests/fullnode_sync_gossip_test.go +++ b/tests/fullnode_sync_gossip_test.go @@ -70,12 +70,12 @@ func TestSync_Celes_Rt_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -393,12 +393,12 @@ func TestSync_Celes_Rt_Gossip_Wasm(t *testing.T) { numCelestiaFn := 0 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -729,12 +729,12 @@ func TestSync_Sqc_Disconnect_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1080,12 +1080,12 @@ func TestSync_Sqc_Disconnect_Gossip_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1431,12 +1431,12 @@ func TestSync_Fullnode_Disconnect_Gossip_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1783,12 +1783,12 @@ func TestSync_Fullnode_Disconnect_Gossip_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/fullnode_sync_test.go b/tests/fullnode_sync_test.go index 660ef94b..e669c01a 100644 --- a/tests/fullnode_sync_test.go +++ b/tests/fullnode_sync_test.go @@ -390,14 +390,14 @@ func TestFullnodeSync_Celestia_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // 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://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -665,14 +665,14 @@ func TestFullnodeSync_Celestia_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // 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://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/rollapp_state_update_test.go b/tests/rollapp_state_update_test.go index 49362c0f..02050e5b 100644 --- a/tests/rollapp_state_update_test.go +++ b/tests/rollapp_state_update_test.go @@ -1592,7 +1592,7 @@ func Test_RollAppStateUpdateFail_Celes_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" modifyEVMGenesisKV := append( rollappEVMGenesisKV, @@ -1605,7 +1605,7 @@ func Test_RollAppStateUpdateFail_Celes_EVM(t *testing.T) { url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -2094,7 +2094,7 @@ func Test_RollAppStateUpdateFail_Celes_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // trustedHash := "\"017428B113893E854767E626BC9CF860BDF49C2AC2DF56F3C1B6582B2597AC6E\"" // sampleFrom := 2423882 @@ -2109,7 +2109,7 @@ func Test_RollAppStateUpdateFail_Celes_Wasm(t *testing.T) { url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { diff --git a/tests/sequencer_test.go b/tests/sequencer_test.go index de08034d..a0b48506 100644 --- a/tests/sequencer_test.go +++ b/tests/sequencer_test.go @@ -61,7 +61,7 @@ func TestSequencerCelestia_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // trustedHash := "\"017428B113893E854767E626BC9CF860BDF49C2AC2DF56F3C1B6582B2597AC6E\"" // sampleFrom := 2423882 @@ -76,7 +76,7 @@ func TestSequencerCelestia_EVM(t *testing.T) { url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -348,7 +348,7 @@ func TestSequencerCelestia_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // trustedHash := "\"017428B113893E854767E626BC9CF860BDF49C2AC2DF56F3C1B6582B2597AC6E\"" // sampleFrom := 2423882 @@ -363,7 +363,7 @@ func TestSequencerCelestia_Wasm(t *testing.T) { url := "https://api-mocha.celenium.io/v1/block/count" headerKey := "User-Agent" headerValue := "Apidog/1.0.0 (https://apidog.com)" - rpcEndpoint := "http://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -643,14 +643,14 @@ func TestSequencerHubDisconnection_EVM(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // 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://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -940,14 +940,14 @@ func TestSequencerHubDisconnection_Wasm(t *testing.T) { numRollAppVals := 1 nodeStore := "/home/celestia/light" p2pNetwork := "mocha-4" - coreIp := "mocha-4-consensus.mesa.newmetric.xyz" + coreIp := "https://celestia-testnet-rpc.itrocket.net:443" // 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://rpc-mocha.pops.one:26657" + rpcEndpoint := "http://celestia-testnet-consensus.itrocket.net:26657" cf := test.NewBuiltinChainFactory(zaptest.NewLogger(t), []*test.ChainSpec{ { @@ -1193,4 +1193,4 @@ func TestSequencerHubDisconnection_Wasm(t *testing.T) { isFinalized, err = dymension.WaitUntilRollappHeightIsFinalized(ctx, rollapp1.GetChainID(), rollappHeight, 600) require.NoError(t, err) require.True(t, isFinalized) -} \ No newline at end of file +}