diff --git a/rust/config/mainnet/arbitrum_config.json b/rust/config/mainnet/arbitrum_config.json index 150e95128..8d2b7b1d1 100644 --- a/rust/config/mainnet/arbitrum_config.json +++ b/rust/config/mainnet/arbitrum_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/avalanche_config.json b/rust/config/mainnet/avalanche_config.json index 81fdb4929..f0211e6f6 100644 --- a/rust/config/mainnet/avalanche_config.json +++ b/rust/config/mainnet/avalanche_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/bsc_config.json b/rust/config/mainnet/bsc_config.json index b8a9c83af..4ddfd48af 100644 --- a/rust/config/mainnet/bsc_config.json +++ b/rust/config/mainnet/bsc_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/celo_config.json b/rust/config/mainnet/celo_config.json index 6b6dc9bec..18552f105 100644 --- a/rust/config/mainnet/celo_config.json +++ b/rust/config/mainnet/celo_config.json @@ -94,7 +94,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/ethereum_config.json b/rust/config/mainnet/ethereum_config.json index 4fc21bba2..ed539837e 100644 --- a/rust/config/mainnet/ethereum_config.json +++ b/rust/config/mainnet/ethereum_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/optimism_config.json b/rust/config/mainnet/optimism_config.json index 26dce2d62..f63d13196 100644 --- a/rust/config/mainnet/optimism_config.json +++ b/rust/config/mainnet/optimism_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/polygon_config.json b/rust/config/mainnet/polygon_config.json index aec1ea064..be221bcf6 100644 --- a/rust/config/mainnet/polygon_config.json +++ b/rust/config/mainnet/polygon_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/alfajores_config.json b/rust/config/testnet2/alfajores_config.json index 05b95d57c..7b2f18e48 100644 --- a/rust/config/testnet2/alfajores_config.json +++ b/rust/config/testnet2/alfajores_config.json @@ -20,7 +20,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/arbitrumrinkeby_config.json b/rust/config/testnet2/arbitrumrinkeby_config.json index ec7f38047..4586c71fa 100644 --- a/rust/config/testnet2/arbitrumrinkeby_config.json +++ b/rust/config/testnet2/arbitrumrinkeby_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/bsctestnet_config.json b/rust/config/testnet2/bsctestnet_config.json index 1dd2d7517..a6bf675a3 100644 --- a/rust/config/testnet2/bsctestnet_config.json +++ b/rust/config/testnet2/bsctestnet_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/fuji_config.json b/rust/config/testnet2/fuji_config.json index 269d087cc..b77b2d429 100644 --- a/rust/config/testnet2/fuji_config.json +++ b/rust/config/testnet2/fuji_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/kovan_config.json b/rust/config/testnet2/kovan_config.json index 9da23d505..2a4d78dad 100644 --- a/rust/config/testnet2/kovan_config.json +++ b/rust/config/testnet2/kovan_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -20,7 +20,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/mumbai_config.json b/rust/config/testnet2/mumbai_config.json index cfd7aaa95..250592537 100644 --- a/rust/config/testnet2/mumbai_config.json +++ b/rust/config/testnet2/mumbai_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/rust/config/testnet2/optimismkovan_config.json b/rust/config/testnet2/optimismkovan_config.json index c8a5e84a4..56ac4f03e 100644 --- a/rust/config/testnet2/optimismkovan_config.json +++ b/rust/config/testnet2/optimismkovan_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/agent.ts b/typescript/infra/config/environments/mainnet/agent.ts index 8afced555..12b7f7a18 100644 --- a/typescript/infra/config/environments/mainnet/agent.ts +++ b/typescript/infra/config/environments/mainnet/agent.ts @@ -27,7 +27,7 @@ export const abacus: AgentConfig = { }, chainOverrides: { celo: { - reorgPeriod: 1, + reorgPeriod: 0, }, ethereum: { reorgPeriod: 20, @@ -42,7 +42,7 @@ export const abacus: AgentConfig = { reorgPeriod: 0, }, avalanche: { - reorgPeriod: 1, + reorgPeriod: 3, }, polygon: { reorgPeriod: 256, diff --git a/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json b/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json index 150e95128..8d2b7b1d1 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json b/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json index 81fdb4929..f0211e6f6 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json b/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json index b8a9c83af..4ddfd48af 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/celo_config.json b/typescript/infra/config/environments/mainnet/core/rust/celo_config.json index 6b6dc9bec..18552f105 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/celo_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/celo_config.json @@ -94,7 +94,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json b/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json index 4fc21bba2..ed539837e 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json b/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json index 26dce2d62..f63d13196 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json @@ -48,7 +48,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json b/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json index aec1ea064..be221bcf6 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json @@ -34,7 +34,7 @@ "domain": "1667591279", "name": "celo", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/agent.ts b/typescript/infra/config/environments/testnet2/agent.ts index 3d8ed5c5d..c9f5aba80 100644 --- a/typescript/infra/config/environments/testnet2/agent.ts +++ b/typescript/infra/config/environments/testnet2/agent.ts @@ -27,10 +27,10 @@ export const abacus: AgentConfig = { }, chainOverrides: { alfajores: { - reorgPeriod: 1, + reorgPeriod: 0, }, fuji: { - reorgPeriod: 1, + reorgPeriod: 3, }, kovan: { reorgPeriod: 7, diff --git a/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json b/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json index 05b95d57c..7b2f18e48 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json @@ -20,7 +20,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json b/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json index ec7f38047..4586c71fa 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json b/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json index 1dd2d7517..a6bf675a3 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json b/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json index 269d087cc..b77b2d429 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json b/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json index 9da23d505..2a4d78dad 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -20,7 +20,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json b/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json index cfd7aaa95..250592537 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json b/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json index c8a5e84a4..56ac4f03e 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json @@ -6,7 +6,7 @@ "domain": "1000", "name": "alfajores", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -34,7 +34,7 @@ "domain": "43113", "name": "fuji", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/sdk/src/consts/chainConnectionConfigs.ts b/typescript/sdk/src/consts/chainConnectionConfigs.ts index ef18839a9..a3ffa4b9a 100644 --- a/typescript/sdk/src/consts/chainConnectionConfigs.ts +++ b/typescript/sdk/src/consts/chainConnectionConfigs.ts @@ -70,7 +70,7 @@ export const alfajores: IChainConnection = { 'https://alfajores-forno.celo-testnet.org', 44787, ), - confirmations: 1, + confirmations: 0, blockExplorerUrl: 'https://alfajores-blockscout.celo-testnet.org/', }; @@ -87,7 +87,7 @@ export const fuji: IChainConnection = { 'https://api.avax-test.network/ext/bc/C/rpc', 43113, ), - confirmations: 1, + confirmations: 3, blockExplorerUrl: 'https://testnet.snowtrace.io/', }; diff --git a/typescript/sdk/src/consts/chainMetadata.ts b/typescript/sdk/src/consts/chainMetadata.ts index c5be8fd26..973dba41b 100644 --- a/typescript/sdk/src/consts/chainMetadata.ts +++ b/typescript/sdk/src/consts/chainMetadata.ts @@ -30,7 +30,7 @@ export interface RpcPagination { */ export const celo: ChainMetadata = { id: 0x63656c6f, // b'celo' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 0, }; export const ethereum: ChainMetadata = { @@ -81,12 +81,12 @@ export const polygon: ChainMetadata = { */ export const alfajores: ChainMetadata = { id: 1000, - finalityBlocks: 1, + finalityBlocks: 0, }; export const fuji: ChainMetadata = { id: 43113, - finalityBlocks: 1, + finalityBlocks: 3, }; export const goerli: ChainMetadata = {