diff --git a/addresses/Addresses.sol b/addresses/Addresses.sol index 355468e..d52654e 100644 --- a/addresses/Addresses.sol +++ b/addresses/Addresses.sol @@ -331,13 +331,12 @@ contract Addresses is IAddresses, Test { getRecordedAddresses(); if (names.length > 0) { - console.log("\n\n--------- Addresses added ---------"); + console.log("\n\n------------------ Addresses Added ------------------"); for (uint256 j = 0; j < names.length; j++) { - console.log("{\n 'addr': '%s', ", addresses[j]); - console.log(" 'chainId': %d,", block.chainid); - console.log(" 'isContract': %s", true, ","); + console.log("{\n \"addr\": \"%s\", ", addresses[j]); + console.log(" \"isContract\": %s,", true); console.log( - " 'name': '%s'\n}%s", + " \"name\": \"%s\"\n}%s", names[j], j < names.length - 1 ? "," : "" ); @@ -350,7 +349,7 @@ contract Addresses is IAddresses, Test { getChangedAddresses(); if (names.length > 0) { - console.log("\n\n-------- Addresses changed --------"); + console.log("\n\n----------------- Addresses changed -----------------"); for (uint256 j = 0; j < names.length; j++) { console.log("{\n 'addr': '%s', ", addresses[j]); diff --git a/docs/guides/customizing-proposal.md b/docs/guides/customizing-proposal.md index 660c973..ecac311 100644 --- a/docs/guides/customizing-proposal.md +++ b/docs/guides/customizing-proposal.md @@ -632,16 +632,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x6801E4888A91180238A8c36594EC65797eC2dDDf', - 'chainId': 42161, - 'isContract': true , - 'name': 'ARBITRUM_L2_WETH_GATEWAY_IMPLEMENTATION' + "addr": "0x6801E4888A91180238A8c36594EC65797eC2dDDf", + "isContract": true, + "name": "ARBITRUM_L2_WETH_GATEWAY_IMPLEMENTATION" }, { - 'addr': '0xA98deC0C8e0326756C956033bbF091081986d0eD', - 'chainId': 42161, - 'isContract': true , - 'name': 'PROXY_UPGRADE_ACTION' + "addr": "0xA98deC0C8e0326756C956033bbF091081986d0eD", + "isContract": true, + "name": "PROXY_UPGRADE_ACTION" } ---------------- Proposal Description ---------------- diff --git a/docs/guides/governor-bravo-proposal.md b/docs/guides/governor-bravo-proposal.md index dfbb118..707ee8b 100644 --- a/docs/guides/governor-bravo-proposal.md +++ b/docs/guides/governor-bravo-proposal.md @@ -347,16 +347,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x69A5DfCD97eF074108b480e369CecfD9335565A2', - 'chainId': 11155111, - 'isContract': true , - 'name': 'BRAVO_VAULT' + "addr": "0x69A5DfCD97eF074108b480e369CecfD9335565A2", + "isContract": true, + "name": "BRAVO_VAULT" }, { - 'addr': '0x541234b61c081eaAE62c9EF52A633cD2aaf92A05', - 'chainId': 11155111, - 'isContract': true , - 'name': 'BRAVO_VAULT_TOKEN' + "addr": "0x541234b61c081eaAE62c9EF52A633cD2aaf92A05", + "isContract": true, + "name": "BRAVO_VAULT_TOKEN" } ---------------- Proposal Description ---------------- diff --git a/docs/guides/multisig-proposal.md b/docs/guides/multisig-proposal.md index 4d71243..0984fa6 100644 --- a/docs/guides/multisig-proposal.md +++ b/docs/guides/multisig-proposal.md @@ -218,16 +218,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x69A5DfCD97eF074108b480e369CecfD9335565A2', - 'chainId': 11155111, - 'isContract': true , - 'name': 'MULTISIG_VAULT' + "addr": "0x69A5DfCD97eF074108b480e369CecfD9335565A2", + "isContract": true, + "name": "MULTISIG_VAULT" }, { - 'addr': '0x541234b61c081eaAE62c9EF52A633cD2aaf92A05', - 'chainId': 11155111, - 'isContract': true , - 'name': 'MULTISIG_TOKEN' + "addr": "0x541234b61c081eaAE62c9EF52A633cD2aaf92A05", + "isContract": true, + "name": "MULTISIG_TOKEN" } ---------------- Proposal Description ---------------- diff --git a/docs/guides/oz-governor-proposal.md b/docs/guides/oz-governor-proposal.md index 585adff..276a8c3 100644 --- a/docs/guides/oz-governor-proposal.md +++ b/docs/guides/oz-governor-proposal.md @@ -344,16 +344,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x69A5DfCD97eF074108b480e369CecfD9335565A2', - 'chainId': 11155111, - 'isContract': true , - 'name': 'OZ_GOVERNOR_VAULT' + "addr": "0x69A5DfCD97eF074108b480e369CecfD9335565A2", + "isContract": true, + "name": "OZ_GOVERNOR_VAULT" }, { - 'addr': '0x541234b61c081eaAE62c9EF52A633cD2aaf92A05', - 'chainId': 11155111, - 'isContract': true , - 'name': 'OZ_GOVERNOR_VAULT_TOKEN' + "addr": "0x541234b61c081eaAE62c9EF52A633cD2aaf92A05", + "isContract": true, + "name": "OZ_GOVERNOR_VAULT_TOKEN" } ---------------- Proposal Description ---------------- diff --git a/docs/guides/timelock-proposal.md b/docs/guides/timelock-proposal.md index 224fd88..c384b51 100644 --- a/docs/guides/timelock-proposal.md +++ b/docs/guides/timelock-proposal.md @@ -227,16 +227,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x69A5DfCD97eF074108b480e369CecfD9335565A2', - 'chainId': 11155111, - 'isContract': true , - 'name': 'TIMELOCK_VAULT' + "addr": "0x69A5DfCD97eF074108b480e369CecfD9335565A2", + "isContract": true, + "name": "TIMELOCK_VAULT" }, { - 'addr': '0x541234b61c081eaAE62c9EF52A633cD2aaf92A05', - 'chainId': 11155111, - 'isContract': true , - 'name': 'TIMELOCK_TOKEN' + "addr": "0x541234b61c081eaAE62c9EF52A633cD2aaf92A05", + "isContract": true, + "name": "TIMELOCK_TOKEN" } ---------------- Proposal Description ---------------- diff --git a/docs/mainnet-examples/ArbitrumTimelock.md b/docs/mainnet-examples/ArbitrumTimelock.md index d394715..92d0c43 100644 --- a/docs/mainnet-examples/ArbitrumTimelock.md +++ b/docs/mainnet-examples/ArbitrumTimelock.md @@ -169,16 +169,14 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x714CB817EfD08fEe91558b07A924a87C3587F3C1', - 'chainId': 1, - 'isContract': true , - 'name': 'ARBITRUM_L1_WETH_GATEWAY_IMPLEMENTATION' + "addr": "0x714CB817EfD08fEe91558b07A924a87C3587F3C1", + "isContract": true, + "name": "ARBITRUM_L1_WETH_GATEWAY_IMPLEMENTATION" }, { - 'addr': '0x56a0dFA59fD02284D1b39327CfE92251051Da6bb', - 'chainId': 1, - 'isContract': true , - 'name': 'ARBITRUM_GAC_UPGRADE_WETH_GATEWAY' + "addr": "0x56a0dFA59fD02284D1b39327CfE92251051Da6bb", + "isContract": true, + "name": "ARBITRUM_GAC_UPGRADE_WETH_GATEWAY" } ---------------- Proposal Description ---------------- diff --git a/docs/mainnet-examples/ENSOzGovernor.md b/docs/mainnet-examples/ENSOzGovernor.md index f0664d6..e734e77 100644 --- a/docs/mainnet-examples/ENSOzGovernor.md +++ b/docs/mainnet-examples/ENSOzGovernor.md @@ -121,10 +121,9 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x714CB817EfD08fEe91558b07A924a87C3587F3C1', - 'chainId': 1, - 'isContract': true , - 'name': 'ENS_DNSSEC' + "addr": "0x714CB817EfD08fEe91558b07A924a87C3587F3C1", + "isContract": true, + "name": "ENS_DNSSEC" } ---------------- Proposal Description ---------------- diff --git a/docs/mainnet-examples/OptimismMultisig.md b/docs/mainnet-examples/OptimismMultisig.md index 95a430d..83c5441 100644 --- a/docs/mainnet-examples/OptimismMultisig.md +++ b/docs/mainnet-examples/OptimismMultisig.md @@ -135,10 +135,9 @@ The script will output the following: --------- Addresses added --------- { - 'addr': '0x714CB817EfD08fEe91558b07A924a87C3587F3C1', - 'chainId': 1, - 'isContract': true , - 'name': 'OPTIMISM_L1_NFT_BRIDGE_IMPLEMENTATION' + "addr": "0x714CB817EfD08fEe91558b07A924a87C3587F3C1", + "isContract": true, + "name": "OPTIMISM_L1_NFT_BRIDGE_IMPLEMENTATION" } ---------------- Proposal Description ---------------- diff --git a/src/proposals/Proposal.sol b/src/proposals/Proposal.sol index 741c9b2..6ec2fa1 100644 --- a/src/proposals/Proposal.sol +++ b/src/proposals/Proposal.sol @@ -223,7 +223,7 @@ abstract contract Proposal is Test, Script, IProposal { console.log("\n"); } - console.log("\n----------------- Proposal Changes ---------------"); + console.log("\n----------------- Proposal Changes -------------------"); for (uint256 i; i < _proposalAffectedAddresses.length; i++) { address account = _proposalAffectedAddresses[i]; diff --git a/src/proposals/TimelockProposal.sol b/src/proposals/TimelockProposal.sol index 6341bcf..24b3f46 100644 --- a/src/proposals/TimelockProposal.sol +++ b/src/proposals/TimelockProposal.sol @@ -180,7 +180,7 @@ abstract contract TimelockProposal is Proposal { console.logBytes(getCalldata()); console.log( - "\n\n------------------ Execute Calldata ------------------" + "\n\n------------------ Execute Calldata -------------------" ); console.logBytes(getExecuteCalldata()); }