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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -70,7 +70,7 @@ export const alfajores: IChainConnection = {
'https://alfajores-forno.celo-testnet.org', 'https://alfajores-forno.celo-testnet.org',
44787, 44787,
), ),
confirmations: 1, confirmations: 0,
blockExplorerUrl: 'https://alfajores-blockscout.celo-testnet.org/', blockExplorerUrl: 'https://alfajores-blockscout.celo-testnet.org/',
}; };
@ -87,7 +87,7 @@ export const fuji: IChainConnection = {
'https://api.avax-test.network/ext/bc/C/rpc', 'https://api.avax-test.network/ext/bc/C/rpc',
43113, 43113,
), ),
confirmations: 1, confirmations: 3,
blockExplorerUrl: 'https://testnet.snowtrace.io/', blockExplorerUrl: 'https://testnet.snowtrace.io/',
}; };

@ -30,7 +30,7 @@ export interface RpcPagination {
*/ */
export const celo: ChainMetadata = { export const celo: ChainMetadata = {
id: 0x63656c6f, // b'celo' interpreted as an int id: 0x63656c6f, // b'celo' interpreted as an int
finalityBlocks: 1, finalityBlocks: 0,
}; };
export const ethereum: ChainMetadata = { export const ethereum: ChainMetadata = {
@ -81,12 +81,12 @@ export const polygon: ChainMetadata = {
*/ */
export const alfajores: ChainMetadata = { export const alfajores: ChainMetadata = {
id: 1000, id: 1000,
finalityBlocks: 1, finalityBlocks: 0,
}; };
export const fuji: ChainMetadata = { export const fuji: ChainMetadata = {
id: 43113, id: 43113,
finalityBlocks: 1, finalityBlocks: 3,
}; };
export const goerli: ChainMetadata = { export const goerli: ChainMetadata = {

Loading…
Cancel
Save