From ca814b183d2d7dbe0e3b80561524f680d7015ea8 Mon Sep 17 00:00:00 2001 From: Areg Hayrapetian Date: Thu, 14 Sep 2023 17:35:57 -0700 Subject: [PATCH 1/2] Update README to prescribed particular solcjs version --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7036436..3f7428d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ The `erc20` contracts (both within `solidity_contracts` and `antelope_contracts` + We chose to use solcjs because it is more actively maintained than the solc available from the package manager. * First install node.js and npm. * Then install solcjs: `npm install -g solc` + + Make sure to install version 0.8.21. + * Confirm with `solcjs --version`. You should get `0.8.21+commit.d9974bed.Emscripten.clang` - Install `jq` used to compile solidity contracts + `apt-get install jq` - Install `xxd` used to compile solidity contracts @@ -37,4 +39,4 @@ Run the command `make -j`. The build steps above will build the test as well. -After building, `cd` into the `build` directory and then simply run `ctest`. \ No newline at end of file +After building, `cd` into the `build` directory and then simply run `ctest`. From cdd913926d8bf35a58dd3f5ef8d9ecb15be6512b Mon Sep 17 00:00:00 2001 From: Areg Hayrapetian Date: Thu, 14 Sep 2023 18:08:55 -0700 Subject: [PATCH 2/2] Add specific version for npm install command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f7428d..cbeb089 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The `erc20` contracts (both within `solidity_contracts` and `antelope_contracts` + Used to compile the .sol files. + We chose to use solcjs because it is more actively maintained than the solc available from the package manager. * First install node.js and npm. - * Then install solcjs: `npm install -g solc` + * Then install solcjs: `npm install -g solc@0.8.21` + Make sure to install version 0.8.21. * Confirm with `solcjs --version`. You should get `0.8.21+commit.d9974bed.Emscripten.clang` - Install `jq` used to compile solidity contracts