From 2f139900150be04635d2249329f5198e14983920 Mon Sep 17 00:00:00 2001 From: James Prestwich Date: Mon, 16 Aug 2021 17:58:02 -0700 Subject: [PATCH] deploy: aug-16: upgrade safety + convenience events --- .../1629161277958/alfajores_config.json | 39 ++++++++++ .../1629161277958/alfajores_contracts.json | 22 ++++++ .../1629161277958/alfajores_verification.json | 77 +++++++++++++++++++ .../1629161469162/alfajores_contracts.json | 12 +++ .../1629161469162/alfajores_verification.json | 44 +++++++++++ .../bridge/1629161469162/kovan_contracts.json | 13 ++++ .../1629161469162/kovan_verification.json | 52 +++++++++++++ rust/config/1629161277958/kathy-partial.json | 8 ++ rust/config/1629161277958/kovan_config.json | 39 ++++++++++ .../config/1629161277958/kovan_contracts.json | 22 ++++++ .../1629161277958/kovan_verification.json | 77 +++++++++++++++++++ .../1629161277958/processor-partial.json | 3 + .../config/1629161277958/relayer-partial.json | 3 + .../config/1629161277958/updater-partial.json | 8 ++ .../config/1629161277958/watcher-partial.json | 33 ++++++++ 15 files changed, 452 insertions(+) create mode 100644 rust/config/1629161277958/alfajores_config.json create mode 100644 rust/config/1629161277958/alfajores_contracts.json create mode 100644 rust/config/1629161277958/alfajores_verification.json create mode 100644 rust/config/1629161277958/bridge/1629161469162/alfajores_contracts.json create mode 100644 rust/config/1629161277958/bridge/1629161469162/alfajores_verification.json create mode 100644 rust/config/1629161277958/bridge/1629161469162/kovan_contracts.json create mode 100644 rust/config/1629161277958/bridge/1629161469162/kovan_verification.json create mode 100644 rust/config/1629161277958/kathy-partial.json create mode 100644 rust/config/1629161277958/kovan_config.json create mode 100644 rust/config/1629161277958/kovan_contracts.json create mode 100644 rust/config/1629161277958/kovan_verification.json create mode 100644 rust/config/1629161277958/processor-partial.json create mode 100644 rust/config/1629161277958/relayer-partial.json create mode 100644 rust/config/1629161277958/updater-partial.json create mode 100644 rust/config/1629161277958/watcher-partial.json diff --git a/rust/config/1629161277958/alfajores_config.json b/rust/config/1629161277958/alfajores_config.json new file mode 100644 index 000000000..339813535 --- /dev/null +++ b/rust/config/1629161277958/alfajores_config.json @@ -0,0 +1,39 @@ +{ + "signers": { + "alfajores": { + "key": "", + "type": "hexKey" + }, + "kovan": { + "key": "", + "type": "hexKey" + } + }, + "replicas": { + "kovan": { + "address": "0x997d46b019c93EAb56cE76002471FC658FF90690", + "domain": "3000", + "name": "kovan", + "rpcStyle": "ethereum", + "connection": { + "type": "http", + "url": "https://kovan.infura.io/v3/5c456d7844fa40a683e934df60534c60" + } + } + }, + "home": { + "address": "0x6a392803EE643925A5c3Ca780eC3dBc09279Cd1c", + "domain": "1000", + "name": "alfajores", + "rpcStyle": "ethereum", + "connection": { + "type": "http", + "url": "https://alfajores-forno.celo-testnet.org" + } + }, + "tracing": { + "level": "debug", + "style": "json" + }, + "db": "db_path" +} \ No newline at end of file diff --git a/rust/config/1629161277958/alfajores_contracts.json b/rust/config/1629161277958/alfajores_contracts.json new file mode 100644 index 000000000..3e114dddc --- /dev/null +++ b/rust/config/1629161277958/alfajores_contracts.json @@ -0,0 +1,22 @@ +{ + "upgradeBeaconController": "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1", + "xAppConnectionManager": "0x618351E83091627675bb50ceD6f2F7200686c89d", + "updaterManager": "0xa1837c8CaEf178362f213a922bee2EcfcAB3e066", + "governance": { + "implementation": "0x5511AbA35571C3831b64cE3364783bc43Ff9AE96", + "proxy": "0xB8AB86324388b7e5060Dd28d706dc879280cd416", + "beacon": "0x0F8d1D8Fe03095717aca1984eFdd550850601d5C" + }, + "home": { + "implementation": "0x2c65982AAcDff08b20DC299A4C69D65bfceb578E", + "proxy": "0x6a392803EE643925A5c3Ca780eC3dBc09279Cd1c", + "beacon": "0xB7fec2D550bfe9Fb195E6B61dA02c7ad5F0E7a67" + }, + "replicas": { + "3000": { + "implementation": "0xb7767086Fe3A5abD44Cf5d7aF284Fc45981312ee", + "proxy": "0x3508E40DC9c52D352A44234d6d8d7ad53Af4D9Ac", + "beacon": "0x4B9246e1b8AED1951dd24150E1ef319bC6eBEc47" + } + } +} \ No newline at end of file diff --git a/rust/config/1629161277958/alfajores_verification.json b/rust/config/1629161277958/alfajores_verification.json new file mode 100644 index 000000000..fcecac931 --- /dev/null +++ b/rust/config/1629161277958/alfajores_verification.json @@ -0,0 +1,77 @@ +[ + { + "name": "UpgradeBeaconController", + "address": "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1", + "constructorArguments": [] + }, + { + "name": "Contract Implementation", + "address": "0x2c65982AAcDff08b20DC299A4C69D65bfceb578E", + "constructorArguments": [ + 1000 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0xB7fec2D550bfe9Fb195E6B61dA02c7ad5F0E7a67", + "constructorArguments": [ + "0x2c65982AAcDff08b20DC299A4C69D65bfceb578E", + "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1" + ] + }, + { + "name": "Contract Proxy", + "address": "0x6a392803EE643925A5c3Ca780eC3dBc09279Cd1c", + "constructorArguments": [ + "0xB7fec2D550bfe9Fb195E6B61dA02c7ad5F0E7a67", + "0xc4d66de8000000000000000000000000a1837c8caef178362f213a922bee2ecfcab3e066" + ] + }, + { + "name": "Contract Implementation", + "address": "0x5511AbA35571C3831b64cE3364783bc43Ff9AE96", + "constructorArguments": [ + 1000, + 1 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x0F8d1D8Fe03095717aca1984eFdd550850601d5C", + "constructorArguments": [ + "0x5511AbA35571C3831b64cE3364783bc43Ff9AE96", + "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1" + ] + }, + { + "name": "Contract Proxy", + "address": "0xB8AB86324388b7e5060Dd28d706dc879280cd416", + "constructorArguments": [ + "0x0F8d1D8Fe03095717aca1984eFdd550850601d5C", + "0x485cc955000000000000000000000000618351e83091627675bb50ced6f2f7200686c89d00000000000000000000000024f6c874f56533d9a1422e85e5c7a806ed11c036" + ] + }, + { + "name": "Contract Implementation", + "address": "0xb7767086Fe3A5abD44Cf5d7aF284Fc45981312ee", + "constructorArguments": [ + 1000 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x4B9246e1b8AED1951dd24150E1ef319bC6eBEc47", + "constructorArguments": [ + "0xb7767086Fe3A5abD44Cf5d7aF284Fc45981312ee", + "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1" + ] + }, + { + "name": "Contract Proxy", + "address": "0x3508E40DC9c52D352A44234d6d8d7ad53Af4D9Ac", + "constructorArguments": [ + "0x4B9246e1b8AED1951dd24150E1ef319bC6eBEc47", + "0xbf30a55d0000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000004177372fd9581ceb2367e0ce84adc5dad9df8d550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000" + ] + } +] \ No newline at end of file diff --git a/rust/config/1629161277958/bridge/1629161469162/alfajores_contracts.json b/rust/config/1629161277958/bridge/1629161469162/alfajores_contracts.json new file mode 100644 index 000000000..a226aa5c1 --- /dev/null +++ b/rust/config/1629161277958/bridge/1629161469162/alfajores_contracts.json @@ -0,0 +1,12 @@ +{ + "bridgeRouter": { + "implementation": "0xce28d2b3e11DbdFF74Fc71a6167aa2b35b2c21CF", + "proxy": "0x229210Ce1C0E5a4AA92A1529235E3744B2d51b2c", + "beacon": "0xE3Fd5f9FA872af7a7Ee5d60cA4eCB287eDbE59D4" + }, + "bridgeToken": { + "implementation": "0x46e4Db3C6ce655B952340A2e3f131F12C0b304e5", + "proxy": "0x5f159d4BCC9377636770CccAEa35d1923aD2b0eb", + "beacon": "0xeC1782bCAb30b1338762E07921252dB34231918d" + } +} \ No newline at end of file diff --git a/rust/config/1629161277958/bridge/1629161469162/alfajores_verification.json b/rust/config/1629161277958/bridge/1629161469162/alfajores_verification.json new file mode 100644 index 000000000..33d5b405d --- /dev/null +++ b/rust/config/1629161277958/bridge/1629161469162/alfajores_verification.json @@ -0,0 +1,44 @@ +[ + { + "name": "Contract Implementation", + "address": "0x46e4Db3C6ce655B952340A2e3f131F12C0b304e5", + "constructorArguments": [] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0xeC1782bCAb30b1338762E07921252dB34231918d", + "constructorArguments": [ + "0x46e4Db3C6ce655B952340A2e3f131F12C0b304e5", + "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1" + ] + }, + { + "name": "Contract Proxy", + "address": "0x5f159d4BCC9377636770CccAEa35d1923aD2b0eb", + "constructorArguments": [ + "0xeC1782bCAb30b1338762E07921252dB34231918d", + "0x" + ] + }, + { + "name": "Contract Implementation", + "address": "0xce28d2b3e11DbdFF74Fc71a6167aa2b35b2c21CF", + "constructorArguments": [] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0xE3Fd5f9FA872af7a7Ee5d60cA4eCB287eDbE59D4", + "constructorArguments": [ + "0xce28d2b3e11DbdFF74Fc71a6167aa2b35b2c21CF", + "0x4745D876fD9f50AA9D9cD798440B1bB453b8e9e1" + ] + }, + { + "name": "Contract Proxy", + "address": "0x229210Ce1C0E5a4AA92A1529235E3744B2d51b2c", + "constructorArguments": [ + "0xE3Fd5f9FA872af7a7Ee5d60cA4eCB287eDbE59D4", + "0x485cc955000000000000000000000000ec1782bcab30b1338762e07921252db34231918d000000000000000000000000618351e83091627675bb50ced6f2f7200686c89d" + ] + } +] \ No newline at end of file diff --git a/rust/config/1629161277958/bridge/1629161469162/kovan_contracts.json b/rust/config/1629161277958/bridge/1629161469162/kovan_contracts.json new file mode 100644 index 000000000..1d22e5f56 --- /dev/null +++ b/rust/config/1629161277958/bridge/1629161469162/kovan_contracts.json @@ -0,0 +1,13 @@ +{ + "bridgeRouter": { + "implementation": "0xdEbf7683BC87eE4C3f5FEfb9Cc4CA5Ba3dDfaA10", + "proxy": "0xeD5F71445DbD6de6907B4090eE9dB737e9816f6c", + "beacon": "0x27D2Db93Ec59dd681A3484ED68272003BFb55200" + }, + "bridgeToken": { + "implementation": "0x22cA7d2B62C7d0BC28727e44500c1722BeBdC41A", + "proxy": "0x6960FFA4f6468cCaD91ECa9292712Ea8319038FF", + "beacon": "0x3F28A3e66326c3aa494d4F8e9477d1397EE94432" + }, + "ethHelper": "0x1F65C73f2390d3765E9914B9B04C788471D429A3" +} \ No newline at end of file diff --git a/rust/config/1629161277958/bridge/1629161469162/kovan_verification.json b/rust/config/1629161277958/bridge/1629161469162/kovan_verification.json new file mode 100644 index 000000000..7ef94d306 --- /dev/null +++ b/rust/config/1629161277958/bridge/1629161469162/kovan_verification.json @@ -0,0 +1,52 @@ +[ + { + "name": "Contract Implementation", + "address": "0x22cA7d2B62C7d0BC28727e44500c1722BeBdC41A", + "constructorArguments": [] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x3F28A3e66326c3aa494d4F8e9477d1397EE94432", + "constructorArguments": [ + "0x22cA7d2B62C7d0BC28727e44500c1722BeBdC41A", + "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE" + ] + }, + { + "name": "Contract Proxy", + "address": "0x6960FFA4f6468cCaD91ECa9292712Ea8319038FF", + "constructorArguments": [ + "0x3F28A3e66326c3aa494d4F8e9477d1397EE94432", + "0x" + ] + }, + { + "name": "Contract Implementation", + "address": "0xdEbf7683BC87eE4C3f5FEfb9Cc4CA5Ba3dDfaA10", + "constructorArguments": [] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x27D2Db93Ec59dd681A3484ED68272003BFb55200", + "constructorArguments": [ + "0xdEbf7683BC87eE4C3f5FEfb9Cc4CA5Ba3dDfaA10", + "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE" + ] + }, + { + "name": "Contract Proxy", + "address": "0xeD5F71445DbD6de6907B4090eE9dB737e9816f6c", + "constructorArguments": [ + "0x27D2Db93Ec59dd681A3484ED68272003BFb55200", + "0x485cc9550000000000000000000000003f28a3e66326c3aa494d4f8e9477d1397ee94432000000000000000000000000d78bc75fb02b562cd8da52ac39b735cb5b073ca7" + ] + }, + { + "name": "ETH Helper", + "address": "0x1F65C73f2390d3765E9914B9B04C788471D429A3", + "constructorArguments": [ + "0xd0a1e359811322d97991e03f863a0c30c2cf029c", + "0xeD5F71445DbD6de6907B4090eE9dB737e9816f6c" + ] + } +] \ No newline at end of file diff --git a/rust/config/1629161277958/kathy-partial.json b/rust/config/1629161277958/kathy-partial.json new file mode 100644 index 000000000..46988a832 --- /dev/null +++ b/rust/config/1629161277958/kathy-partial.json @@ -0,0 +1,8 @@ +{ + "messageInterval": "100", + "chat": { + "message": "static message", + "recipient": "0xabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd", + "type": "static" + } +} diff --git a/rust/config/1629161277958/kovan_config.json b/rust/config/1629161277958/kovan_config.json new file mode 100644 index 000000000..b4d0b68ef --- /dev/null +++ b/rust/config/1629161277958/kovan_config.json @@ -0,0 +1,39 @@ +{ + "signers": { + "kovan": { + "key": "", + "type": "hexKey" + }, + "alfajores": { + "key": "", + "type": "hexKey" + } + }, + "replicas": { + "alfajores": { + "address": "0x3508E40DC9c52D352A44234d6d8d7ad53Af4D9Ac", + "domain": "1000", + "name": "alfajores", + "rpcStyle": "ethereum", + "connection": { + "type": "http", + "url": "https://alfajores-forno.celo-testnet.org" + } + } + }, + "home": { + "address": "0x1144bBf93d4499c684c2712a5ed4d4240D9c6f87", + "domain": "3000", + "name": "kovan", + "rpcStyle": "ethereum", + "connection": { + "type": "http", + "url": "https://kovan.infura.io/v3/5c456d7844fa40a683e934df60534c60" + } + }, + "tracing": { + "level": "debug", + "style": "json" + }, + "db": "db_path" +} \ No newline at end of file diff --git a/rust/config/1629161277958/kovan_contracts.json b/rust/config/1629161277958/kovan_contracts.json new file mode 100644 index 000000000..b830b1154 --- /dev/null +++ b/rust/config/1629161277958/kovan_contracts.json @@ -0,0 +1,22 @@ +{ + "upgradeBeaconController": "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE", + "xAppConnectionManager": "0xD78Bc75FB02b562cd8dA52ac39B735cB5b073Ca7", + "updaterManager": "0x2c4C3aF9f42408c6D802914451d8D40871BA5A02", + "governance": { + "implementation": "0x46d2807365EACAade2845d03426846b22A6e5967", + "proxy": "0x77534486c6467fd24b1f7d60CA61D984D91F6A2a", + "beacon": "0x1A7CfA5F9d99EC2d3480c85Cb62992120c0E90cF" + }, + "home": { + "implementation": "0xBd630Cd7fd74ee3d597db42E6a40F759785cfB14", + "proxy": "0x1144bBf93d4499c684c2712a5ed4d4240D9c6f87", + "beacon": "0xC8188E6Edb19393f9ce1DadB6cAa58394470baD1" + }, + "replicas": { + "1000": { + "implementation": "0x8441c5418713893CA4DF32a0a0c7E56bF5EE6A5f", + "proxy": "0x997d46b019c93EAb56cE76002471FC658FF90690", + "beacon": "0x0c576960a81F3007d0570c215F1e8820EC30c54F" + } + } +} \ No newline at end of file diff --git a/rust/config/1629161277958/kovan_verification.json b/rust/config/1629161277958/kovan_verification.json new file mode 100644 index 000000000..46a28b654 --- /dev/null +++ b/rust/config/1629161277958/kovan_verification.json @@ -0,0 +1,77 @@ +[ + { + "name": "UpgradeBeaconController", + "address": "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE", + "constructorArguments": [] + }, + { + "name": "Contract Implementation", + "address": "0xBd630Cd7fd74ee3d597db42E6a40F759785cfB14", + "constructorArguments": [ + 3000 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0xC8188E6Edb19393f9ce1DadB6cAa58394470baD1", + "constructorArguments": [ + "0xBd630Cd7fd74ee3d597db42E6a40F759785cfB14", + "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE" + ] + }, + { + "name": "Contract Proxy", + "address": "0x1144bBf93d4499c684c2712a5ed4d4240D9c6f87", + "constructorArguments": [ + "0xC8188E6Edb19393f9ce1DadB6cAa58394470baD1", + "0xc4d66de80000000000000000000000002c4c3af9f42408c6d802914451d8d40871ba5a02" + ] + }, + { + "name": "Contract Implementation", + "address": "0x46d2807365EACAade2845d03426846b22A6e5967", + "constructorArguments": [ + 3000, + 1 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x1A7CfA5F9d99EC2d3480c85Cb62992120c0E90cF", + "constructorArguments": [ + "0x46d2807365EACAade2845d03426846b22A6e5967", + "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE" + ] + }, + { + "name": "Contract Proxy", + "address": "0x77534486c6467fd24b1f7d60CA61D984D91F6A2a", + "constructorArguments": [ + "0x1A7CfA5F9d99EC2d3480c85Cb62992120c0E90cF", + "0x485cc955000000000000000000000000d78bc75fb02b562cd8da52ac39b735cb5b073ca700000000000000000000000024f6c874f56533d9a1422e85e5c7a806ed11c036" + ] + }, + { + "name": "Contract Implementation", + "address": "0x8441c5418713893CA4DF32a0a0c7E56bF5EE6A5f", + "constructorArguments": [ + 3000 + ] + }, + { + "name": "Contract UpgradeBeacon", + "address": "0x0c576960a81F3007d0570c215F1e8820EC30c54F", + "constructorArguments": [ + "0x8441c5418713893CA4DF32a0a0c7E56bF5EE6A5f", + "0x4058C320fe3Ee874FeC5e83B5BcA9267641C60bE" + ] + }, + { + "name": "Contract Proxy", + "address": "0x997d46b019c93EAb56cE76002471FC658FF90690", + "constructorArguments": [ + "0x0c576960a81F3007d0570c215F1e8820EC30c54F", + "0xbf30a55d00000000000000000000000000000000000000000000000000000000000003e80000000000000000000000004177372fd9581ceb2367e0ce84adc5dad9df8d550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000" + ] + } +] \ No newline at end of file diff --git a/rust/config/1629161277958/processor-partial.json b/rust/config/1629161277958/processor-partial.json new file mode 100644 index 000000000..3cbe62b80 --- /dev/null +++ b/rust/config/1629161277958/processor-partial.json @@ -0,0 +1,3 @@ +{ + "pollingInterval": "10" +} diff --git a/rust/config/1629161277958/relayer-partial.json b/rust/config/1629161277958/relayer-partial.json new file mode 100644 index 000000000..3cbe62b80 --- /dev/null +++ b/rust/config/1629161277958/relayer-partial.json @@ -0,0 +1,3 @@ +{ + "pollingInterval": "10" +} diff --git a/rust/config/1629161277958/updater-partial.json b/rust/config/1629161277958/updater-partial.json new file mode 100644 index 000000000..a9d6f75a7 --- /dev/null +++ b/rust/config/1629161277958/updater-partial.json @@ -0,0 +1,8 @@ +{ + "pollingInterval": "5", + "updatePause": "15", + "updater": { + "key": "", + "type": "hexKey" + } +} diff --git a/rust/config/1629161277958/watcher-partial.json b/rust/config/1629161277958/watcher-partial.json new file mode 100644 index 000000000..b24e3d361 --- /dev/null +++ b/rust/config/1629161277958/watcher-partial.json @@ -0,0 +1,33 @@ +{ + "pollingInterval": "100", + "watcher": { + "key": "", + "type": "hexKey" + }, + "connectionManagers": [ + { + "address": "0x0000000000000000000000000000000000000000", + "domain": "60", + "name": "ethereum", + "rpcStyle": "ethereum", + "config": { + "connection": { + "type": "ws", + "url": "ws://localhost:8545" + } + } + }, + { + "address": "0x0000000000000000000000000000000000000000", + "domain": "61", + "name": "eth-classic", + "rpcStyle": "ethereum", + "config": { + "connection": { + "type": "ws", + "url": "ws://localhost:8545" + } + } + } + ] +}