Some more correct finality numbers (#671)

* More correct finality numbers

* change all configs
pull/676/head
Trevor Porter 2 years ago committed by GitHub
parent 590dc8e348
commit 38cdae0f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      rust/config/mainnet/arbitrum_config.json
  2. 10
      rust/config/mainnet/avalanche_config.json
  3. 10
      rust/config/mainnet/bsc_config.json
  4. 10
      rust/config/mainnet/celo_config.json
  5. 10
      rust/config/mainnet/ethereum_config.json
  6. 10
      rust/config/mainnet/optimism_config.json
  7. 10
      rust/config/mainnet/polygon_config.json
  8. 6
      rust/config/testnet2/alfajores_config.json
  9. 6
      rust/config/testnet2/arbitrumrinkeby_config.json
  10. 6
      rust/config/testnet2/bsctestnet_config.json
  11. 6
      rust/config/testnet2/fuji_config.json
  12. 6
      rust/config/testnet2/kovan_config.json
  13. 6
      rust/config/testnet2/mumbai_config.json
  14. 6
      rust/config/testnet2/optimismkovan_config.json
  15. 12
      typescript/infra/config/environments/mainnet/agent.ts
  16. 10
      typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json
  17. 10
      typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json
  18. 10
      typescript/infra/config/environments/mainnet/core/rust/bsc_config.json
  19. 10
      typescript/infra/config/environments/mainnet/core/rust/celo_config.json
  20. 10
      typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json
  21. 10
      typescript/infra/config/environments/mainnet/core/rust/optimism_config.json
  22. 10
      typescript/infra/config/environments/mainnet/core/rust/polygon_config.json
  23. 4
      typescript/infra/config/environments/testnet2/agent.ts
  24. 6
      typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json
  25. 6
      typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json
  26. 6
      typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json
  27. 6
      typescript/infra/config/environments/testnet2/core/rust/fuji_config.json
  28. 6
      typescript/infra/config/environments/testnet2/core/rust/kovan_config.json
  29. 6
      typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json
  30. 6
      typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json
  31. 14
      typescript/sdk/src/chain-metadata.ts

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -23,25 +23,25 @@ export const agent: AgentConfig<MainnetChains> = {
},
chainOverrides: {
celo: {
reorgPeriod: 0,
reorgPeriod: 1,
},
ethereum: {
reorgPeriod: 7,
reorgPeriod: 20,
},
bsc: {
reorgPeriod: 7,
reorgPeriod: 15,
},
optimism: {
reorgPeriod: 1,
reorgPeriod: 20,
},
arbitrum: {
reorgPeriod: 1,
},
avalanche: {
reorgPeriod: 0,
reorgPeriod: 1,
},
polygon: {
reorgPeriod: 500,
reorgPeriod: 256,
},
},
},

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""
@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "6452067",
"name": "bsc",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "1635148152",
"name": "avalanche",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1886350457",
"name": "polygon",
"rpcStyle": "ethereum",
"finalityBlocks": "500",
"finalityBlocks": "256",
"connection": {
"type": "http",
"url": ""

@ -23,10 +23,10 @@ export const agent: AgentConfig<TestnetChains> = {
},
chainOverrides: {
alfajores: {
reorgPeriod: 0,
reorgPeriod: 1,
},
fuji: {
reorgPeriod: 0,
reorgPeriod: 1,
},
kovan: {
reorgPeriod: 7,

@ -6,7 +6,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -6,7 +6,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""
@ -20,7 +20,7 @@
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"finalityBlocks": "7",
"finalityBlocks": "15",
"connection": {
"type": "http",
"url": ""
@ -34,7 +34,7 @@
"domain": "43113",
"name": "fuji",
"rpcStyle": "ethereum",
"finalityBlocks": "0",
"finalityBlocks": "1",
"connection": {
"type": "http",
"url": ""

@ -9,12 +9,12 @@ import { ChainMetadata, CompleteChainMap } from './types';
*/
export const celo: ChainMetadata = {
id: 0x63656c6f, // b'celo' interpreted as an int
finalityBlocks: 0,
finalityBlocks: 1,
};
export const ethereum: ChainMetadata = {
id: 0x657468, // b'eth' interpreted as an int
finalityBlocks: 7,
finalityBlocks: 20,
};
export const arbitrum: ChainMetadata = {
@ -29,12 +29,12 @@ export const optimism: ChainMetadata = {
export const bsc: ChainMetadata = {
id: 0x627363, // b'bsc' interpreted as an int
finalityBlocks: 7,
finalityBlocks: 15,
};
export const avalanche: ChainMetadata = {
id: 0x61766178, // b'avax' interpreted as an int
finalityBlocks: 0,
finalityBlocks: 1,
paginate: {
// Needs to be low to avoid RPC timeouts
blocks: 100000,
@ -44,7 +44,7 @@ export const avalanche: ChainMetadata = {
export const polygon: ChainMetadata = {
id: 0x706f6c79, // b'poly' interpreted as an int
finalityBlocks: 500,
finalityBlocks: 256,
paginate: {
// Needs to be low to avoid RPC timeouts
blocks: 10000,
@ -57,12 +57,12 @@ export const polygon: ChainMetadata = {
*/
export const alfajores: ChainMetadata = {
id: 1000,
finalityBlocks: 0,
finalityBlocks: 1,
};
export const fuji: ChainMetadata = {
id: 43113,
finalityBlocks: 0,
finalityBlocks: 1,
};
export const goerli: ChainMetadata = {

Loading…
Cancel
Save