From abf6460d35c77709b7a472a76fd9c0913d33f72b Mon Sep 17 00:00:00 2001 From: Ana Julia Date: Mon, 18 Dec 2023 18:59:37 -0300 Subject: [PATCH] review changes --- addresses/Addresses.json | 16 ++++++++-------- addresses/Addresses.sol | 4 ++-- package.json | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/addresses/Addresses.json b/addresses/Addresses.json index 0bd8be63..4523c745 100644 --- a/addresses/Addresses.json +++ b/addresses/Addresses.json @@ -1,22 +1,22 @@ [ { - "address": "0x3dd46846eed8D147841AE162C8425c08BD8E1b41", + "addr": "0x3dd46846eed8D147841AE162C8425c08BD8E1b41", "name": "DEV_MULTISIG", - "chainid": 1 + "chainId": 1 }, { - "address": "0x7da82C7AB4771ff031b66538D2fB9b0B047f6CF9", + "addr": "0x7da82C7AB4771ff031b66538D2fB9b0B047f6CF9", "name": "TEAM_MULTISIG", - "chainid": 1 + "chainId": 1 }, { - "address": "0x1a9C8182C09F50C8318d769245beA52c32BE35BC", + "addr": "0x1a9C8182C09F50C8318d769245beA52c32BE35BC", "name": "PROTOCOL_TIMELOCK", - "chainid": 1 + "chainId": 1 }, { - "address": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f", + "addr": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f", "name": "DAO_MULTISIG", - "chainid": 1 + "chainId": 1 } ] diff --git a/addresses/Addresses.sol b/addresses/Addresses.sol index aeb8ea25..6bc6f10d 100644 --- a/addresses/Addresses.sol +++ b/addresses/Addresses.sol @@ -61,7 +61,7 @@ contract Addresses is IAddresses, Test { require( currentAddress == address(0), - string(abi.encodePacked("Address:", name, "already set on chain:", _chainId.toString())) + string(abi.encodePacked("Address: ", name, "already set on chain: ", _chainId.toString())) ); _addresses[name][_chainId] = addr; @@ -77,7 +77,7 @@ contract Addresses is IAddresses, Test { require( addr != address(0), - string(abi.encodePacked("Address:", name, "not set on chain:", _chainId.toString())) + string(abi.encodePacked("Address: ", name, "not set on chain: ", _chainId.toString())) ); } diff --git a/package.json b/package.json index 19771945..a53ca36f 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "description": "Foundry-based library for proposals simulations", "version": "1.0.0", "devDependencies": { - "husky": "^8.0.3", - "prettier": "^3.0.0", - "prettier-plugin-solidity": "^1.2.0", - "solhint": "^4.0.0" + "husky": "8.0.3", + "prettier": "3.0.0", + "prettier-plugin-solidity": "1.2.0", + "solhint": "4.0.0" }, "keywords": [ "blockchain",