Increase Avalanche Finality Blocks (#824)

pull/825/head
Nam Chu Hoai 2 years ago committed by GitHub
parent 22254610ff
commit 5c384cefa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      rust/config/mainnet/arbitrum_config.json
  2. 2
      rust/config/mainnet/bsc_config.json
  3. 2
      rust/config/mainnet/celo_config.json
  4. 2
      rust/config/mainnet/ethereum_config.json
  5. 2
      rust/config/mainnet/optimism_config.json
  6. 2
      rust/config/mainnet/polygon_config.json
  7. 2
      typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json
  8. 2
      typescript/infra/config/environments/mainnet/core/rust/bsc_config.json
  9. 2
      typescript/infra/config/environments/mainnet/core/rust/celo_config.json
  10. 2
      typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json
  11. 2
      typescript/infra/config/environments/mainnet/core/rust/optimism_config.json
  12. 2
      typescript/infra/config/environments/mainnet/core/rust/polygon_config.json
  13. 2
      typescript/sdk/src/consts/chainConnectionConfigs.ts
  14. 2
      typescript/sdk/src/consts/chainMetadata.ts

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -6,7 +6,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -6,7 +6,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -20,7 +20,7 @@
"domain": "1635148152", "domain": "1635148152",
"name": "avalanche", "name": "avalanche",
"rpcStyle": "ethereum", "rpcStyle": "ethereum",
"finalityBlocks": "1", "finalityBlocks": "3",
"connection": { "connection": {
"type": "http", "type": "http",
"url": "" "url": ""

@ -33,7 +33,7 @@ export const avalanche: IChainConnection = {
'https://api.avax.network/ext/bc/C/rpc', 'https://api.avax.network/ext/bc/C/rpc',
43114, 43114,
), ),
confirmations: 1, confirmations: 3,
blockExplorerUrl: 'https://snowtrace.io', blockExplorerUrl: 'https://snowtrace.io',
}; };

@ -56,7 +56,7 @@ export const bsc: ChainMetadata = {
export const avalanche: ChainMetadata = { export const avalanche: ChainMetadata = {
id: 0x61766178, // b'avax' interpreted as an int id: 0x61766178, // b'avax' interpreted as an int
finalityBlocks: 1, finalityBlocks: 3,
paginate: { paginate: {
// Needs to be low to avoid RPC timeouts // Needs to be low to avoid RPC timeouts
blocks: 100000, blocks: 100000,

Loading…
Cancel
Save