Set reorgPeriod / finalityBlocks for arbitrum and optimism to 0 for testnet2 and mainnet (#778)

* Set reorgPeriod / finalityBlocks for arbitrum and optimism for testnet2 and mainnet

* More changes
pull/789/head
Trevor Porter 2 years ago committed by GitHub
parent 47f4f10f14
commit 856dde4802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      rust/config/mainnet/arbitrum_config.json
  2. 4
      rust/config/mainnet/avalanche_config.json
  3. 4
      rust/config/mainnet/bsc_config.json
  4. 4
      rust/config/mainnet/celo_config.json
  5. 4
      rust/config/mainnet/ethereum_config.json
  6. 4
      rust/config/mainnet/optimism_config.json
  7. 4
      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. 6
      typescript/infra/config/environments/mainnet/core/rust/arbitrum_config.json
  17. 6
      typescript/infra/config/environments/mainnet/core/rust/avalanche_config.json
  18. 6
      typescript/infra/config/environments/mainnet/core/rust/bsc_config.json
  19. 6
      typescript/infra/config/environments/mainnet/core/rust/celo_config.json
  20. 6
      typescript/infra/config/environments/mainnet/core/rust/ethereum_config.json
  21. 6
      typescript/infra/config/environments/mainnet/core/rust/optimism_config.json
  22. 6
      typescript/infra/config/environments/mainnet/core/rust/polygon_config.json
  23. 6
      typescript/infra/config/environments/testnet/agent.ts
  24. 4
      typescript/infra/config/environments/testnet2/agent.ts
  25. 4
      typescript/infra/config/environments/testnet2/core/rust/alfajores_config.json
  26. 4
      typescript/infra/config/environments/testnet2/core/rust/arbitrumrinkeby_config.json
  27. 4
      typescript/infra/config/environments/testnet2/core/rust/bsctestnet_config.json
  28. 4
      typescript/infra/config/environments/testnet2/core/rust/fuji_config.json
  29. 4
      typescript/infra/config/environments/testnet2/core/rust/kovan_config.json
  30. 4
      typescript/infra/config/environments/testnet2/core/rust/mumbai_config.json
  31. 4
      typescript/infra/config/environments/testnet2/core/rust/optimismkovan_config.json
  32. 8
      typescript/sdk/src/consts/chainMetadata.ts

@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -76,7 +76,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -36,10 +36,10 @@ export const abacus: AgentConfig<MainnetChains> = {
reorgPeriod: 15,
},
optimism: {
reorgPeriod: 20,
reorgPeriod: 0,
},
arbitrum: {
reorgPeriod: 1,
reorgPeriod: 0,
},
avalanche: {
reorgPeriod: 1,

@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -48,7 +48,7 @@
"domain": "6386274",
"name": "arbitrum",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -62,7 +62,7 @@
"domain": "28528",
"name": "optimism",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "6648936",
"name": "ethereum",
"rpcStyle": "ethereum",
"finalityBlocks": "15",
"finalityBlocks": "20",
"connection": {
"type": "http",
"url": ""

@ -28,7 +28,11 @@ export const abacus: AgentConfig<TestnetChains> = {
chainOverrides: {
optimismkovan: {
interval: 5,
reorgPeriod: 2,
reorgPeriod: 0,
},
arbitrumrinkeby: {
interval: 5,
reorgPeriod: 0,
},
},
},

@ -42,10 +42,10 @@ export const abacus: AgentConfig<TestnetChains> = {
reorgPeriod: 9,
},
arbitrumrinkeby: {
reorgPeriod: 1,
reorgPeriod: 0,
},
optimismkovan: {
reorgPeriod: 1,
reorgPeriod: 0,
},
},
},

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -62,7 +62,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -76,7 +76,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -76,7 +76,7 @@
"domain": "1634872690",
"name": "arbitrumrinkeby",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""
@ -94,7 +94,7 @@
"domain": "1869622635",
"name": "optimismkovan",
"rpcStyle": "ethereum",
"finalityBlocks": "1",
"finalityBlocks": "0",
"connection": {
"type": "http",
"url": ""

@ -37,12 +37,12 @@ export const ethereum: ChainMetadata = {
export const arbitrum: ChainMetadata = {
id: 0x617262, // b'arb' interpreted as an int
finalityBlocks: 1,
finalityBlocks: 0,
};
export const optimism: ChainMetadata = {
id: 0x6f70, // b'op' interpreted as an int
finalityBlocks: 1,
finalityBlocks: 0,
};
export const bsc: ChainMetadata = {
@ -125,12 +125,12 @@ export const bsctestnet: ChainMetadata = {
export const arbitrumrinkeby: ChainMetadata = {
id: 0x61722d72, // b'ar-r' interpreted as an int
finalityBlocks: 1,
finalityBlocks: 0,
};
export const optimismkovan: ChainMetadata = {
id: 0x6f702d6b, // b'op-k' interpreted as an int
finalityBlocks: 1,
finalityBlocks: 0,
};
export const auroratestnet: ChainMetadata = {

Loading…
Cancel
Save