From 856dde480247d6f727e6c01af0ec557fd55b20ce Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Mon, 18 Jul 2022 17:22:58 +0100 Subject: [PATCH] Set reorgPeriod / finalityBlocks for arbitrum and optimism to 0 for testnet2 and mainnet (#778) * Set reorgPeriod / finalityBlocks for arbitrum and optimism for testnet2 and mainnet * More changes --- rust/config/mainnet/arbitrum_config.json | 4 ++-- rust/config/mainnet/avalanche_config.json | 4 ++-- rust/config/mainnet/bsc_config.json | 4 ++-- rust/config/mainnet/celo_config.json | 4 ++-- rust/config/mainnet/ethereum_config.json | 4 ++-- rust/config/mainnet/optimism_config.json | 4 ++-- rust/config/mainnet/polygon_config.json | 4 ++-- rust/config/testnet2/alfajores_config.json | 4 ++-- rust/config/testnet2/arbitrumrinkeby_config.json | 4 ++-- rust/config/testnet2/bsctestnet_config.json | 4 ++-- rust/config/testnet2/fuji_config.json | 4 ++-- rust/config/testnet2/kovan_config.json | 4 ++-- rust/config/testnet2/mumbai_config.json | 4 ++-- rust/config/testnet2/optimismkovan_config.json | 4 ++-- typescript/infra/config/environments/mainnet/agent.ts | 4 ++-- .../environments/mainnet/core/rust/arbitrum_config.json | 6 +++--- .../environments/mainnet/core/rust/avalanche_config.json | 6 +++--- .../config/environments/mainnet/core/rust/bsc_config.json | 6 +++--- .../environments/mainnet/core/rust/celo_config.json | 6 +++--- .../environments/mainnet/core/rust/ethereum_config.json | 6 +++--- .../environments/mainnet/core/rust/optimism_config.json | 6 +++--- .../environments/mainnet/core/rust/polygon_config.json | 6 +++--- typescript/infra/config/environments/testnet/agent.ts | 6 +++++- typescript/infra/config/environments/testnet2/agent.ts | 4 ++-- .../environments/testnet2/core/rust/alfajores_config.json | 4 ++-- .../testnet2/core/rust/arbitrumrinkeby_config.json | 4 ++-- .../testnet2/core/rust/bsctestnet_config.json | 4 ++-- .../environments/testnet2/core/rust/fuji_config.json | 4 ++-- .../environments/testnet2/core/rust/kovan_config.json | 4 ++-- .../environments/testnet2/core/rust/mumbai_config.json | 4 ++-- .../testnet2/core/rust/optimismkovan_config.json | 4 ++-- typescript/sdk/src/consts/chainMetadata.ts | 8 ++++---- 32 files changed, 76 insertions(+), 72 deletions(-) diff --git a/rust/config/mainnet/arbitrum_config.json b/rust/config/mainnet/arbitrum_config.json index 402e64207..4fa2f5eef 100644 --- a/rust/config/mainnet/arbitrum_config.json +++ b/rust/config/mainnet/arbitrum_config.json @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "6386274", "name": "arbitrum", "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 f3ba439b7..81fdb4929 100644 --- a/rust/config/mainnet/avalanche_config.json +++ b/rust/config/mainnet/avalanche_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "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 86e49abac..2d24ce20b 100644 --- a/rust/config/mainnet/bsc_config.json +++ b/rust/config/mainnet/bsc_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "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 90e151f12..a0079ea3b 100644 --- a/rust/config/mainnet/celo_config.json +++ b/rust/config/mainnet/celo_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "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 a568c492e..972134ec8 100644 --- a/rust/config/mainnet/ethereum_config.json +++ b/rust/config/mainnet/ethereum_config.json @@ -62,7 +62,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "28528", "name": "optimism", "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 eed7189c5..ed0137285 100644 --- a/rust/config/mainnet/optimism_config.json +++ b/rust/config/mainnet/optimism_config.json @@ -62,7 +62,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "28528", "name": "optimism", "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 c83c7816e..13b21c07a 100644 --- a/rust/config/mainnet/polygon_config.json +++ b/rust/config/mainnet/polygon_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "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 65571f110..05b95d57c 100644 --- a/rust/config/testnet2/alfajores_config.json +++ b/rust/config/testnet2/alfajores_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 e1a9b8dc0..ec7f38047 100644 --- a/rust/config/testnet2/arbitrumrinkeby_config.json +++ b/rust/config/testnet2/arbitrumrinkeby_config.json @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "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 6f82059ec..1dd2d7517 100644 --- a/rust/config/testnet2/bsctestnet_config.json +++ b/rust/config/testnet2/bsctestnet_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 fbb088f43..269d087cc 100644 --- a/rust/config/testnet2/fuji_config.json +++ b/rust/config/testnet2/fuji_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 f6733327a..9da23d505 100644 --- a/rust/config/testnet2/kovan_config.json +++ b/rust/config/testnet2/kovan_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 ce5629f4c..cfd7aaa95 100644 --- a/rust/config/testnet2/mumbai_config.json +++ b/rust/config/testnet2/mumbai_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 a7e1952a3..c8a5e84a4 100644 --- a/rust/config/testnet2/optimismkovan_config.json +++ b/rust/config/testnet2/optimismkovan_config.json @@ -76,7 +76,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 339ce6286..9e5284a0c 100644 --- a/typescript/infra/config/environments/mainnet/agent.ts +++ b/typescript/infra/config/environments/mainnet/agent.ts @@ -36,10 +36,10 @@ export const abacus: AgentConfig = { reorgPeriod: 15, }, optimism: { - reorgPeriod: 20, + reorgPeriod: 0, }, arbitrum: { - reorgPeriod: 1, + reorgPeriod: 0, }, avalanche: { reorgPeriod: 1, 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 d3e3ab1bd..4fa2f5eef 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "6386274", "name": "arbitrum", "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 f2a2fd943..81fdb4929 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "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 37b5aaeee..2d24ce20b 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "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 32cc34ad7..a0079ea3b 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/celo_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/celo_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "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 0ee9f9e35..972134ec8 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json @@ -62,7 +62,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "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 7b792164f..ed0137285 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json @@ -62,7 +62,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "28528", "name": "optimism", "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 71899bc5b..13b21c07a 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json @@ -48,7 +48,7 @@ "domain": "6386274", "name": "arbitrum", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -62,7 +62,7 @@ "domain": "28528", "name": "optimism", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "6648936", "name": "ethereum", "rpcStyle": "ethereum", - "finalityBlocks": "15", + "finalityBlocks": "20", "connection": { "type": "http", "url": "" diff --git a/typescript/infra/config/environments/testnet/agent.ts b/typescript/infra/config/environments/testnet/agent.ts index 3a70a9b67..b63403134 100644 --- a/typescript/infra/config/environments/testnet/agent.ts +++ b/typescript/infra/config/environments/testnet/agent.ts @@ -28,7 +28,11 @@ export const abacus: AgentConfig = { chainOverrides: { optimismkovan: { interval: 5, - reorgPeriod: 2, + reorgPeriod: 0, + }, + arbitrumrinkeby: { + interval: 5, + reorgPeriod: 0, }, }, }, diff --git a/typescript/infra/config/environments/testnet2/agent.ts b/typescript/infra/config/environments/testnet2/agent.ts index e3a685668..e818dbb35 100644 --- a/typescript/infra/config/environments/testnet2/agent.ts +++ b/typescript/infra/config/environments/testnet2/agent.ts @@ -42,10 +42,10 @@ export const abacus: AgentConfig = { reorgPeriod: 9, }, arbitrumrinkeby: { - reorgPeriod: 1, + reorgPeriod: 0, }, optimismkovan: { - reorgPeriod: 1, + reorgPeriod: 0, }, }, }, 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 65571f110..05b95d57c 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 e1a9b8dc0..ec7f38047 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "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 6f82059ec..1dd2d7517 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 fbb088f43..269d087cc 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/fuji_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 f6733327a..9da23d505 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/kovan_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 ce5629f4c..cfd7aaa95 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json @@ -62,7 +62,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -76,7 +76,7 @@ "domain": "1869622635", "name": "optimismkovan", "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 a7e1952a3..c8a5e84a4 100644 --- a/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json +++ b/typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json @@ -76,7 +76,7 @@ "domain": "1634872690", "name": "arbitrumrinkeby", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" @@ -94,7 +94,7 @@ "domain": "1869622635", "name": "optimismkovan", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "0", "connection": { "type": "http", "url": "" diff --git a/typescript/sdk/src/consts/chainMetadata.ts b/typescript/sdk/src/consts/chainMetadata.ts index d6f07cf03..051fff2f7 100644 --- a/typescript/sdk/src/consts/chainMetadata.ts +++ b/typescript/sdk/src/consts/chainMetadata.ts @@ -37,12 +37,12 @@ export const ethereum: ChainMetadata = { export const arbitrum: ChainMetadata = { id: 0x617262, // b'arb' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 0, }; export const optimism: ChainMetadata = { id: 0x6f70, // b'op' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 0, }; export const bsc: ChainMetadata = { @@ -125,12 +125,12 @@ export const bsctestnet: ChainMetadata = { export const arbitrumrinkeby: ChainMetadata = { id: 0x61722d72, // b'ar-r' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 0, }; export const optimismkovan: ChainMetadata = { id: 0x6f702d6b, // b'op-k' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 0, }; export const auroratestnet: ChainMetadata = {