Skip to content

Commit

Permalink
update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed May 25, 2023
1 parent c73f85d commit 7e77a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions abigen/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ do
@openzeppelin=$(pwd)/node_modules/@openzeppelin\
--allow-paths node_modules/@openzeppelin/contracts/\
--combined-json=bin,abi,userdoc,devdoc,metadata,bin-runtime\
--optimize --optimize-runs 200 --evm-version petersburg\
--optimize --optimize-runs 200\
contracts/$CONTRACT.sol > "$COMPILED_JSON"

# generate the bindings
Expand All @@ -38,4 +38,4 @@ do
rm "$COMPILED_JSON"

echo "generated go bindings for $CONTRACT in $OUTPUT"
done
done
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"scripts": {
"compile": "hardhat compile",
"test": "hardhat test",
"abigen": "./abigen/gen.sh ERC20SimpleSwap SimpleSwapFactory Migrations",
"abigen": "./abigen/gen.sh ERC20SimpleSwap SimpleSwapFactory",
"lint": "solhint contracts/ERC20SimpleSwap.sol contracts/SimpleSwapFactory.sol",
"coverage": "hardhat coverage"
},
Expand Down

0 comments on commit 7e77a9b

Please # to comment.