diff --git a/rust/config/mainnet/arbitrum_config.json b/rust/config/mainnet/arbitrum_config.json new file mode 100644 index 000000000..1883c154a --- /dev/null +++ b/rust/config/mainnet/arbitrum_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x79b3D752cc9494eCB93800712471a7a62954C8AE", + "validatorManager": "0x61DDB465eEA5bc3708Cf8B53156aC91a77A2f029" + } + }, + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x552D41c0B5c774F529C956E7CC77d0e054D7aFa8", + "validatorManager": "0x23ce76645EC601148fa451e751eeB75785b97A00" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x5060eCD5dFAD300A90592C04e504600A7cdcF70b", + "validatorManager": "0x4E1c88DD261BEe2941e6c1814597e30F53330428" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x4E1c88DD261BEe2941e6c1814597e30F53330428", + "validatorManager": "0xC077A0Cc408173349b1c9870C667B40FE3C01dd7" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x2Fa570E83009eaEef3a1cbd496a9a30F05266634", + "validatorManager": "0x931dFCc8c1141D6F532FD023bd87DAe0080c835d" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x7082e975Fde8D85B0C56B4512b437efFb46F0a09", + "validatorManager": "0xCA41932888D323B3d99f5eA48F86D502055C0322" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004" + }, + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "14751425" + } +} diff --git a/rust/config/mainnet/avalanche_config.json b/rust/config/mainnet/avalanche_config.json new file mode 100644 index 000000000..67ed045b0 --- /dev/null +++ b/rust/config/mainnet/avalanche_config.json @@ -0,0 +1,108 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x182E8d7c5F1B06201b102123FC7dF0EaeB445a7B", + "validatorManager": "0xd83A4F747fE80Ed98839e05079B1B7Fe037b1638" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xA805695C20ED9F4ce9905cd1aFaE7877A81ec0d7", + "validatorManager": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5", + "validatorManager": "0xf9DbC8776Bc2812c4DBEc45383A1783Ac758Fb55" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x02d16BC51af6BfD153d67CA61754cF912E82C4d9", + "validatorManager": "0x2f9DB5616fa3fAd1aB06cB2C906830BA63d135e3" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x79b3D752cc9494eCB93800712471a7a62954C8AE", + "validatorManager": "0x61DDB465eEA5bc3708Cf8B53156aC91a77A2f029" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x95Ad03405aC24c0bc247bdFDC113B01955A71761", + "validatorManager": "0x4B44e4305B42405382b7BeC717F64D0552a9D9Fe" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004" + }, + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path" +} diff --git a/rust/config/mainnet/bsc_config.json b/rust/config/mainnet/bsc_config.json new file mode 100644 index 000000000..c9ce903ce --- /dev/null +++ b/rust/config/mainnet/bsc_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x4B44e4305B42405382b7BeC717F64D0552a9D9Fe", + "validatorManager": "0x398633D19f4371e1DB5a8EFE90468eB70B1176AA" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x9fA986ACB22953c504Fcf5985DFA476d481C3b1B", + "validatorManager": "0x0BD07E3934D1C4cc8Db0eA2a5cDAc8C8d8eb9824" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xdB670e1a1e312BF17425b08cE55Bdf2cD8F8eD54", + "validatorManager": "0x83c2DB237e93Ce52565AB110124f78fdf159E3f4" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x3a867fCfFeC2B790970eeBDC9023E75B0a172aa7", + "validatorManager": "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x66DC49405Ae2956f7E87FEAa9fE8f506C8987462", + "validatorManager": "0xaad207a0Fd7a4e3C927Ccc78ac8134baF586B852" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x81a92A1a272cb09d7b4970b07548463dC7aE0cB7", + "validatorManager": "0xC343A7054838FE9F249D7E3Ec1Fa6f1D108694b8" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0xc3F23848Ed2e04C0c6d41bd7804fa8f89F940B94" + }, + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "18722839" + } +} diff --git a/rust/config/mainnet/celo_config.json b/rust/config/mainnet/celo_config.json new file mode 100644 index 000000000..da6f6af02 --- /dev/null +++ b/rust/config/mainnet/celo_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x66DC49405Ae2956f7E87FEAa9fE8f506C8987462", + "validatorManager": "0x5E01d8F34b629E3f92d69546bbc4142A7Adee7e9" + } + }, + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x3a867fCfFeC2B790970eeBDC9023E75B0a172aa7", + "validatorManager": "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147", + "validatorManager": "0x086eF95a2F74582Ee30E7D698518a872fb18301f" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x4B44e4305B42405382b7BeC717F64D0552a9D9Fe", + "validatorManager": "0x398633D19f4371e1DB5a8EFE90468eB70B1176AA" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xE0C452DDA7506f0F4dE5C8C1d383F7aD866eA4F0", + "validatorManager": "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xCB5C99F908410add8241b558299fe9aadC06bA99", + "validatorManager": "0x552D41c0B5c774F529C956E7CC77d0e054D7aFa8" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0xe042D1fbDf59828dd16b9649Ede7abFc856F7a6c" + }, + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "13551287" + } +} diff --git a/rust/config/mainnet/ethereum_config.json b/rust/config/mainnet/ethereum_config.json new file mode 100644 index 000000000..0f981ef1e --- /dev/null +++ b/rust/config/mainnet/ethereum_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xE0C452DDA7506f0F4dE5C8C1d383F7aD866eA4F0", + "validatorManager": "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa" + } + }, + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x0E3239277501d215e17a4d31c487F86a425E110B", + "validatorManager": "0x28EFBCadA00A7ed6772b3666F3898d276e88CAe3" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x6A55822cf11f9fcBc4c75BC2638AfE8Eb942cAdd", + "validatorManager": "0x8105a095368f1a184CceA86cCe21318B5Ee5BE28" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x8105a095368f1a184CceA86cCe21318B5Ee5BE28", + "validatorManager": "0x2Fca7f6eC3d4A0408900f2BB30004d4616eE985E" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x552D41c0B5c774F529C956E7CC77d0e054D7aFa8", + "validatorManager": "0x23ce76645EC601148fa451e751eeB75785b97A00" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xea820f9BCFD5E16a0dd42071EB61A29874Ad81A4", + "validatorManager": "0xB3fCcD379ad66CED0c91028520C64226611A48c9" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0x2f9DB5616fa3fAd1aB06cB2C906830BA63d135e3" + }, + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "14970190" + } +} diff --git a/rust/config/mainnet/optimism_config.json b/rust/config/mainnet/optimism_config.json new file mode 100644 index 000000000..2c95283fd --- /dev/null +++ b/rust/config/mainnet/optimism_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xA1ac41d8A663fd317cc3BD94C7de92dC4BA4a882", + "validatorManager": "0x8F1E22d309baa69D398a03cc88E9b46037e988AA" + } + }, + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x14c3CEee8F431aE947364f43429a98EA89800238", + "validatorManager": "0x8428a1a7E97Fc75Fb7Ba5c4aec31B55e52bbe9D6" + } + }, + "polygon": { + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xc22B646edf6c9A43d83fDBc8D5E1B3c6DAfACb83", + "validatorManager": "0xF5165f115ba4E1Adc09f0EB392232D65F219806a" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xF5165f115ba4E1Adc09f0EB392232D65F219806a", + "validatorManager": "0x781bE492F1232E66990d83a9D3AC3Ec26f56DAfB" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x0E3239277501d215e17a4d31c487F86a425E110B", + "validatorManager": "0x28EFBCadA00A7ed6772b3666F3898d276e88CAe3" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xF7af65596A16740b16CF755F3A43206C96285da0", + "validatorManager": "0xF5739A4AF21346Aa937bF7fEB5d3B21c2d230138" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0x0be2Ae2f6D02a3e0e00ECB57D3E1fCbb7f8F38F4" + }, + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "11966568" + } +} diff --git a/rust/config/mainnet/polygon_config.json b/rust/config/mainnet/polygon_config.json new file mode 100644 index 000000000..d29bc00d3 --- /dev/null +++ b/rust/config/mainnet/polygon_config.json @@ -0,0 +1,111 @@ +{ + "environment": "mainnet", + "signers": {}, + "inboxes": { + "bsc": { + "domain": "6452067", + "name": "bsc", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xaad207a0Fd7a4e3C927Ccc78ac8134baF586B852", + "validatorManager": "0x8f4BeB6552b76aA38Cd9994701c0Da7bC829648B" + } + }, + "avalanche": { + "domain": "1635148152", + "name": "avalanche", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x02d16BC51af6BfD153d67CA61754cF912E82C4d9", + "validatorManager": "0x2f9DB5616fa3fAd1aB06cB2C906830BA63d135e3" + } + }, + "celo": { + "domain": "1667591279", + "name": "celo", + "rpcStyle": "ethereum", + "finalityBlocks": "0", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x086eF95a2F74582Ee30E7D698518a872fb18301f", + "validatorManager": "0x95878Fd41bC26f7045C0b98e381c22f010745A75" + } + }, + "arbitrum": { + "domain": "6386274", + "name": "arbitrum", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0x14c3CEee8F431aE947364f43429a98EA89800238", + "validatorManager": "0x8428a1a7E97Fc75Fb7Ba5c4aec31B55e52bbe9D6" + } + }, + "optimism": { + "domain": "28528", + "name": "optimism", + "rpcStyle": "ethereum", + "finalityBlocks": "1", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xA1ac41d8A663fd317cc3BD94C7de92dC4BA4a882", + "validatorManager": "0x8F1E22d309baa69D398a03cc88E9b46037e988AA" + } + }, + "ethereum": { + "domain": "6648936", + "name": "ethereum", + "rpcStyle": "ethereum", + "finalityBlocks": "7", + "connection": { + "type": "http", + "url": "" + }, + "addresses": { + "inbox": "0xF59557dfacDc5a1cb8A36Af43aA4819a6A891e88", + "validatorManager": "0x0E3239277501d215e17a4d31c487F86a425E110B" + } + } + }, + "outbox": { + "addresses": { + "outbox": "0x8249cD1275855F2BB20eE71f0B9fA3c9155E5FaB" + }, + "domain": "1886350457", + "name": "polygon", + "rpcStyle": "ethereum", + "finalityBlocks": "500", + "connection": { + "type": "http", + "url": "" + } + }, + "tracing": { + "level": "debug", + "fmt": "json" + }, + "db": "db_path", + "index": { + "from": "29616068" + } +} diff --git a/typescript/infra/config/environments/mainnet/agent.ts b/typescript/infra/config/environments/mainnet/agent.ts index d37f25473..7b80097b9 100644 --- a/typescript/infra/config/environments/mainnet/agent.ts +++ b/typescript/infra/config/environments/mainnet/agent.ts @@ -9,7 +9,7 @@ export const agent: AgentConfig = { runEnv: 'mainnet', docker: { repo: 'gcr.io/abacus-labs-dev/abacus-agent', - tag: 'sha-d664980', + tag: 'sha-4b9faad', }, aws: { region: 'us-east-1', @@ -21,6 +21,29 @@ export const agent: AgentConfig = { interval: 5, reorgPeriod: 1, }, + chainOverrides: { + celo: { + reorgPeriod: 0, + }, + ethereum: { + reorgPeriod: 7, + }, + bsc: { + reorgPeriod: 7, + }, + optimism: { + reorgPeriod: 1, + }, + arbitrum: { + reorgPeriod: 1, + }, + avalanche: { + reorgPeriod: 0, + }, + polygon: { + reorgPeriod: 500, + }, + }, }, relayer: { default: { diff --git a/typescript/infra/config/environments/testnet2/agent.ts b/typescript/infra/config/environments/testnet2/agent.ts index ea8e81903..6537265cf 100644 --- a/typescript/infra/config/environments/testnet2/agent.ts +++ b/typescript/infra/config/environments/testnet2/agent.ts @@ -9,7 +9,7 @@ export const agent: AgentConfig = { runEnv: 'testnet2', docker: { repo: 'gcr.io/abacus-labs-dev/abacus-agent', - tag: 'sha-9ab7525', + tag: 'sha-4b9faad', }, aws: { region: 'us-east-1', @@ -22,9 +22,26 @@ export const agent: AgentConfig = { reorgPeriod: 1, }, chainOverrides: { + alfajores: { + reorgPeriod: 0, + }, + fuji: { + reorgPeriod: 0, + }, + kovan: { + reorgPeriod: 7, + }, + mumbai: { + reorgPeriod: 32, + }, + bsctestnet: { + reorgPeriod: 9, + }, + arbitrumrinkeby: { + reorgPeriod: 1, + }, optimismkovan: { - interval: 5, - reorgPeriod: 2, + reorgPeriod: 1, }, }, },