Update Celo/Alfajores/Fuji finality blocks (#825)

pull/833/head
Nam Chu Hoai 2 years ago committed by GitHub
parent 5c384cefa8
commit b4389935e3
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/avalanche_config.json
  3. 2
      rust/config/mainnet/bsc_config.json
  4. 2
      rust/config/mainnet/celo_config.json
  5. 2
      rust/config/mainnet/ethereum_config.json
  6. 2
      rust/config/mainnet/optimism_config.json
  7. 2
      rust/config/mainnet/polygon_config.json
  8. 4
      rust/config/testnet2/alfajores_config.json
  9. 4
      rust/config/testnet2/arbitrumrinkeby_config.json
  10. 4
      rust/config/testnet2/bsctestnet_config.json
  11. 4
      rust/config/testnet2/fuji_config.json
  12. 4
      rust/config/testnet2/kovan_config.json
  13. 4
      rust/config/testnet2/mumbai_config.json
  14. 4
      rust/config/testnet2/optimismkovan_config.json
  15. 4
      typescript/infra/config/environments/mainnet/agent.ts
  16. 2
      typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json
  17. 2
      typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json
  18. 2
      typescript/infra/config/environments/mainnet/core/rust/bsc_config.json
  19. 2
      typescript/infra/config/environments/mainnet/core/rust/celo_config.json
  20. 2
      typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json
  21. 2
      typescript/infra/config/environments/mainnet/core/rust/optimism_config.json
  22. 2
      typescript/infra/config/environments/mainnet/core/rust/polygon_config.json
  23. 4
      typescript/infra/config/environments/testnet2/agent.ts
  24. 4
      typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json
  25. 4
      typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json
  26. 4
      typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json
  27. 4
      typescript/infra/config/environments/testnet2/core/rust/fuji_config.json
  28. 4
      typescript/infra/config/environments/testnet2/core/rust/kovan_config.json
  29. 4
      typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json
  30. 4
      typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json
  31. 4
      typescript/sdk/src/consts/chainConnectionConfigs.ts
  32. 6
      typescript/sdk/src/consts/chainMetadata.ts

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -94,7 +94,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"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": ""
@ -94,7 +94,7 @@
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -27,7 +27,7 @@ export const abacus: AgentConfig<MainnetChains> = {
},
chainOverrides: {
celo: {
reorgPeriod: 1,
reorgPeriod: 0,
},
ethereum: {
reorgPeriod: 20,
@ -42,7 +42,7 @@ export const abacus: AgentConfig<MainnetChains> = {
reorgPeriod: 0,
},
avalanche: {
reorgPeriod: 1,
reorgPeriod: 3,
},
polygon: {
reorgPeriod: 256,

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -94,7 +94,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -34,7 +34,7 @@
"domain": "1667591279",
"name": "celo",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

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

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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": ""

@ -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/',
};

@ -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 = {

Loading…
Cancel
Save