-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from BibliothecaDAO/legacy-claim-deploy-logs
legacyClaim: add mainnet deploy logs
- Loading branch information
Showing
4 changed files
with
469 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,225 @@ | ||
Compiling lib(bridge) bridge v0.1.0 (/Users/credence/Desktop/StakedRealm/legacyClaim/starknet/Scarb.toml) | ||
Compiling starknet-contract(bridge) bridge v0.1.0 (/Users/credence/Desktop/StakedRealm/legacyClaim/starknet/Scarb.toml) | ||
Finished release target(s) in 16 seconds | ||
[31m ____ _ [39m | ||
[31m | \ ___ ___| |___ _ _ [39m | ||
[31m | | | -_| . | | . | | |[39m | ||
[31m |____/|___| _|_|___|_ |[39m | ||
[31m |_| |___|[39m | ||
[34m | ||
|
||
|
||
Contract is bridge_bridge.contract_class.json... | ||
|
||
[39m | ||
[35m | ||
Declaring l2_bridge... | ||
|
||
[39m | ||
[35m- Class Hash: [39m 0x50af6dcd59f75c2d2ade3e3db70fa86b3ff882cbd55f77221ca593f2b4c002d | ||
[35m- Tx Hash: [39m https://voyager.online/tx/0x3d9ef99c1cf644c98d826fb6714baaa166f19e4a5ed9bc70813b727ed4b655b) | ||
[32m | ||
Deploying l2_bridge ... | ||
|
||
[39m | ||
[32mTx hash: [39m https://voyager.online/tx/0x67552281ea378d6112cd3b9ba03171fd9ca3884ac9103cd5c5b90ac1f3c933d) | ||
[32mContract Address: [39m 0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b | ||
|
||
|
||
"addresses/prod/l2_bridge.json" has been saved or overwritten | ||
Compiling 1 files with 0.8.24 | ||
Solc 0.8.24 finished in 1.01s | ||
Compiler run [32msuccessful![0m | ||
forge script --broadcast --rpc-url https://mainnet.infura.io/v3/086b03d0842b4691b8a1c0861f3213d0 script/Bridge.s.sol:Deploy -vvvvvvvv | ||
No files changed, compilation skipped | ||
Traces: | ||
[97] [32mDeploy[0m::[32msetUp[0m()[33m[0m | ||
└─ [32m← [0m() | ||
|
||
[1152464] [32mDeploy[0m::[32mrun[0m()[33m[0m | ||
├─ [0] [34mVM[0m::[34menvAddress[0m("BRIDGE_L1_OWNER_ADDRESS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34menvAddress[0m("BRIDGE_L1_ACTUAL_OWNER_ADDRESS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34menvAddress[0m("DEPLOYMENT_ACCOUNT_ADDRESS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34menvUint[0m("DEPLOYMENT_ACCOUNT_PRIVATE_KEY")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34menvAddress[0m("STARKNET_CORE_L1_ADDRESS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34menvUint[0m("BRIDGE_L2_SELECTOR")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34mstartBroadcast[0m(<pk>)[33m[0m | ||
│ └─ [34m← [0m() | ||
├─ [0] [34mVM[0m::[34menvString[0m("LOCAL_LOGS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34mreadFile[0m("logs/prod/l2_bridge.json")[33m [staticcall][0m | ||
│ └─ [34m← [0m"{\n \"address\": \"0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b\",\n \"calldata\": [\n \"0x5ae3677da993adf5f613b4c04e4ba6b518a4221a5ef93948aec805e81bda8dc\",\n \"0x124aeb495b947201f5fac96fd1138e326ad86195b98df6dec9009158a533b49\",\n \"0x992acf50dba66f87d8cafffbbc3cdbbec5f8f514b5014f6d4d75e6b8789153\"\n ],\n \"deployed_at\": 1724855413775,\n \"deployed_at_readable\": \"Wed, 28 Aug 2024 14:30:13 GMT\"\n}" | ||
├─ [0] [34mVM[0m::[34mparseJson[0m("{\n \"address\": \"0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b\",\n \"calldata\": [\n \"0x5ae3677da993adf5f613b4c04e4ba6b518a4221a5ef93948aec805e81bda8dc\",\n \"0x124aeb495b947201f5fac96fd1138e326ad86195b98df6dec9009158a533b49\",\n \"0x992acf50dba66f87d8cafffbbc3cdbbec5f8f514b5014f6d4d75e6b8789153\"\n ],\n \"deployed_at\": 1724855413775,\n \"deployed_at_readable\": \"Wed, 28 Aug 2024 14:30:13 GMT\"\n}", ".address")[33m [staticcall][0m | ||
│ └─ [34m← [0m0x038862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b | ||
├─ [878113] [33m→ [0m[33mnew[0m Bridge@0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9 | ||
│ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0x0000000000000000000000000000000000000000, newOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C) | ||
│ └─ [32m← [0m4267 bytes of code | ||
├─ [174095] [33m→ [0m[33mnew[0m ERC1967Proxy@0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5 | ||
│ ├─ emit [36mUpgraded[0m(implementation: Bridge: [0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9]) | ||
│ ├─ [114041] [32mBridge[0m::[32minitialize[0m(0x000000000000000000000000b3fb62b41c734e069e702634a42dc064c6d3356c000000000000000000000000c662c410c0ecf747543f5ba90660f6abebd9c8c4038862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b03593216f3a8b22f4cf375e5486e3d13bfde9d0f26976d20ac6f653c73f7e507)[33m [delegatecall][0m | ||
│ │ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0x0000000000000000000000000000000000000000, newOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C) | ||
│ │ └─ [32m← [0m() | ||
│ └─ [32m← [0m170 bytes of code | ||
├─ [2411] [32mBridge[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m[0m | ||
│ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C, newOwner: 0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe) | ||
│ └─ [32m← [0m() | ||
├─ [2800] [32mERC1967Proxy[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m[0m | ||
│ ├─ [2411] [32mBridge[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m [delegatecall][0m | ||
│ │ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C, newOwner: 0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe) | ||
│ │ └─ [32m← [0m() | ||
│ └─ [32m← [0m() | ||
├─ [0] [34mVM[0m::[34mstopBroadcast[0m()[33m[0m | ||
│ └─ [34m← [0m() | ||
├─ [0] [34mVM[0m::[34mtoString[0m(ERC1967Proxy: [0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5])[33m [staticcall][0m | ||
│ └─ [34m← [0m"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5" | ||
├─ [0] [34mVM[0m::[34mserializeString[0m("l1_bridge", "proxy_address", "0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5")[33m[0m | ||
│ └─ [34m← [0m"{\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\"}" | ||
├─ [0] [34mVM[0m::[34mtoString[0m(Bridge: [0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9])[33m [staticcall][0m | ||
│ └─ [34m← [0m"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9" | ||
├─ [0] [34mVM[0m::[34mserializeString[0m("l1_bridge", "impl_address", "0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9")[33m[0m | ||
│ └─ [34m← [0m"{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\"}" | ||
├─ [0] [34mVM[0m::[34mtoString[0m(0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4)[33m [staticcall][0m | ||
│ └─ [34m← [0m"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4" | ||
├─ [0] [34mVM[0m::[34mserializeString[0m("l1_bridge", "sncore_address", "0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4")[33m[0m | ||
│ └─ [34m← [0m"{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\",\"sncore_address\":\"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4\"}" | ||
├─ [0] [34mVM[0m::[34mserializeBool[0m("l1_bridge", "success", true)[33m[0m | ||
│ └─ [34m← [0m"{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\",\"sncore_address\":\"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4\",\"success\":true}" | ||
├─ [0] [34mVM[0m::[34mserializeString[0m("out", "data", "{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\",\"sncore_address\":\"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4\",\"success\":true}")[33m[0m | ||
│ └─ [34m← [0m"{\"data\":{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\",\"sncore_address\":\"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4\",\"success\":true}}" | ||
├─ [0] [34mVM[0m::[34menvString[0m("LOCAL_LOGS")[33m [staticcall][0m | ||
│ └─ [34m← [0m<env var value> | ||
├─ [0] [34mVM[0m::[34mcreateDir[0m("logs/prod/", true)[33m[0m | ||
│ └─ [34m← [0m() | ||
├─ [0] [34mVM[0m::[34mwriteJson[0m("{\"data\":{\"impl_address\":\"0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9\",\"proxy_address\":\"0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5\",\"sncore_address\":\"0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4\",\"success\":true}}", "logs/prod/l1_bridge.json")[33m[0m | ||
│ └─ [34m← [0m() | ||
└─ [32m← [0m() | ||
|
||
|
||
[32mScript ran successfully.[0m | ||
|
||
## Setting up 1 EVM. | ||
========================== | ||
Simulated On-chain Traces: | ||
|
||
[878113] [33m→ [0m[33mnew[0m Bridge@0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9 | ||
├─ emit [36mOwnershipTransferred[0m(previousOwner: 0x0000000000000000000000000000000000000000, newOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C) | ||
└─ [32m← [0m4267 bytes of code | ||
|
||
[176595] [33m→ [0m[33mnew[0m ERC1967Proxy@0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5 | ||
├─ emit [36mUpgraded[0m(implementation: Bridge: [0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9]) | ||
├─ [114041] [32mBridge[0m::[32minitialize[0m(0x000000000000000000000000b3fb62b41c734e069e702634a42dc064c6d3356c000000000000000000000000c662c410c0ecf747543f5ba90660f6abebd9c8c4038862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b03593216f3a8b22f4cf375e5486e3d13bfde9d0f26976d20ac6f653c73f7e507)[33m [delegatecall][0m | ||
│ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0x0000000000000000000000000000000000000000, newOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C) | ||
│ └─ [32m← [0m() | ||
└─ [32m← [0m170 bytes of code | ||
|
||
[7211] [32mBridge[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m[0m | ||
├─ emit [36mOwnershipTransferred[0m(previousOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C, newOwner: 0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe) | ||
└─ [32m← [0m() | ||
|
||
[12100] [32mERC1967Proxy[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m[0m | ||
├─ [7211] [32mBridge[0m::[32mtransferOwnership[0m(0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe)[33m [delegatecall][0m | ||
│ ├─ emit [36mOwnershipTransferred[0m(previousOwner: 0xb3FB62B41C734E069E702634a42Dc064C6d3356C, newOwner: 0xBbae2e00bcc495913546Dfaf0997Fb18BF0F20fe) | ||
│ └─ [32m← [0m() | ||
└─ [32m← [0m() | ||
|
||
|
||
========================== | ||
|
||
Chain 1 | ||
|
||
Estimated gas price: 7.053302548 gwei | ||
|
||
Estimated total gas used for script: 1712966 | ||
|
||
Estimated amount required: 0.012082067452437368 ETH | ||
|
||
========================== | ||
|
||
### | ||
Finding wallets for all the necessary addresses... | ||
## | ||
Sending transactions [0 - 3]. | ||
|
||
Transactions saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/broadcast/Bridge.s.sol/1/run-latest.json | ||
|
||
Sensitive values saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/cache/Bridge.s.sol/1/run-latest.json | ||
|
||
## | ||
Waiting for receipts. | ||
|
||
##### mainnet | ||
✅ [Success]Hash: 0x68e54f01305ac3e225d4a57d062ef0015f73a555a0d4843a35bbbc1a35bc1b51 | ||
Contract Address: 0xF8f76e0D2915532cD9969E9b34A75c7414AF2Ef9 | ||
Block: 20627696 | ||
Paid: 0.006227785991341851 ETH (999771 gas * 6.229212481 gwei) | ||
|
||
|
||
##### mainnet | ||
✅ [Success]Hash: 0xab00335c5d82b85c17ba696b895c7ffb59b9620c9d43d48c214e7e46cf7b50d1 | ||
Contract Address: 0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5 | ||
Block: 20627696 | ||
Paid: 0.001568895684677141 ETH (251861 gas * 6.229212481 gwei) | ||
|
||
|
||
##### mainnet | ||
✅ [Success]Hash: 0x345c1e4b17b41809ad141813d434a286b2028b84b34762ef5f98172ee769f31a | ||
Block: 20627696 | ||
Paid: 0.000178348582543511 ETH (28631 gas * 6.229212481 gwei) | ||
|
||
|
||
##### mainnet | ||
✅ [Success]Hash: 0x011d645a99d59e82b78439c729770109f7b03b07f69172bf5a0727aaa258b5b7 | ||
Block: 20627696 | ||
Paid: 0.00020880320236312 ETH (33520 gas * 6.229212481 gwei) | ||
|
||
|
||
Transactions saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/broadcast/Bridge.s.sol/1/run-latest.json | ||
|
||
Sensitive values saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/cache/Bridge.s.sol/1/run-latest.json | ||
|
||
|
||
|
||
========================== | ||
|
||
ONCHAIN EXECUTION COMPLETE & SUCCESSFUL. | ||
Total Paid: 0.008183833460925623 ETH (1313783 gas * avg 6.229212481 gwei) | ||
|
||
Transactions saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/broadcast/Bridge.s.sol/1/run-latest.json | ||
|
||
Sensitive values saved to: /Users/credence/Desktop/StakedRealm/legacyClaim/ethereum/cache/Bridge.s.sol/1/run-latest.json | ||
|
||
[31m ____ _ _ [39m | ||
[31m / ___|__ _| | |[39m | ||
[31m | | / _` | | |[39m | ||
[31m | |__| (_| | | |[39m | ||
[31m \____\__,_|_|_|[39m | ||
|
||
|
||
{ | ||
l1_bridge: '0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5', | ||
l2_bridge: '0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b' | ||
} | ||
|
||
|
||
[32m | ||
Setting L1 Bridge Address ... | ||
|
||
[39m | ||
[32mTx hash: [39m https://voyager.online/tx/0x10d816048be3173b3d985d96dc3cca712ce8a4479692b280d0ed179f6571445) | ||
[32mSuccessfully set L1 Bridge Address to 0x7Ad94e71308Bb65c6bc9dF35cc69Cc9f953D69E5 in L2 Bridge 0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b[39m | ||
|
||
|
||
[32m | ||
Setting New Owner Address ... | ||
|
||
[39m | ||
[32mTx hash: [39m https://voyager.online/tx/0x3b936551bf5db437e69d653f2e4be7f95e4b124161355385f29b946e337c50d) | ||
[32mSuccessfully set New Owner Address to 0x992acf50dba66f87d8cafffbbc3cdbbec5f8f514b5014f6d4d75e6b8789153 in L2 Bridge 0x38862e1b15526eda31ed6fd26805c40748458db8e420cb3be3bc65c332c023b[39m | ||
|
||
|
Oops, something went wrong.