diff --git a/rust/config/mainnet/arbitrum_config.json b/rust/config/mainnet/arbitrum_config.json index 4fa2f5eef..150e95128 100644 --- a/rust/config/mainnet/arbitrum_config.json +++ b/rust/config/mainnet/arbitrum_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/bsc_config.json b/rust/config/mainnet/bsc_config.json index 2d24ce20b..b8a9c83af 100644 --- a/rust/config/mainnet/bsc_config.json +++ b/rust/config/mainnet/bsc_config.json @@ -6,7 +6,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/celo_config.json b/rust/config/mainnet/celo_config.json index a0079ea3b..6b6dc9bec 100644 --- a/rust/config/mainnet/celo_config.json +++ b/rust/config/mainnet/celo_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/ethereum_config.json b/rust/config/mainnet/ethereum_config.json index 972134ec8..4fc21bba2 100644 --- a/rust/config/mainnet/ethereum_config.json +++ b/rust/config/mainnet/ethereum_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/optimism_config.json b/rust/config/mainnet/optimism_config.json index ed0137285..26dce2d62 100644 --- a/rust/config/mainnet/optimism_config.json +++ b/rust/config/mainnet/optimism_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/rust/config/mainnet/polygon_config.json b/rust/config/mainnet/polygon_config.json index 13b21c07a..aec1ea064 100644 --- a/rust/config/mainnet/polygon_config.json +++ b/rust/config/mainnet/polygon_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" 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 4fa2f5eef..150e95128 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "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 2d24ce20b..b8a9c83af 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/bsc_config.json @@ -6,7 +6,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "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 a0079ea3b..6b6dc9bec 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/celo_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/celo_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "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 972134ec8..4fc21bba2 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "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 ed0137285..26dce2d62 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/optimism_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "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 13b21c07a..aec1ea064 100644 --- a/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json +++ b/typescript/infra/config/environments/mainnet/core/rust/polygon_config.json @@ -20,7 +20,7 @@ "domain": "1635148152", "name": "avalanche", "rpcStyle": "ethereum", - "finalityBlocks": "1", + "finalityBlocks": "3", "connection": { "type": "http", "url": "" diff --git a/typescript/sdk/src/consts/chainConnectionConfigs.ts b/typescript/sdk/src/consts/chainConnectionConfigs.ts index f6faab5d5..ef18839a9 100644 --- a/typescript/sdk/src/consts/chainConnectionConfigs.ts +++ b/typescript/sdk/src/consts/chainConnectionConfigs.ts @@ -33,7 +33,7 @@ export const avalanche: IChainConnection = { 'https://api.avax.network/ext/bc/C/rpc', 43114, ), - confirmations: 1, + confirmations: 3, blockExplorerUrl: 'https://snowtrace.io', }; diff --git a/typescript/sdk/src/consts/chainMetadata.ts b/typescript/sdk/src/consts/chainMetadata.ts index ffd37445e..c5be8fd26 100644 --- a/typescript/sdk/src/consts/chainMetadata.ts +++ b/typescript/sdk/src/consts/chainMetadata.ts @@ -56,7 +56,7 @@ export const bsc: ChainMetadata = { export const avalanche: ChainMetadata = { id: 0x61766178, // b'avax' interpreted as an int - finalityBlocks: 1, + finalityBlocks: 3, paginate: { // Needs to be low to avoid RPC timeouts blocks: 100000,