Skip to content

Commit

Permalink
Work on verification
Browse files Browse the repository at this point in the history
  • Loading branch information
hayesgm committed Mar 16, 2024
1 parent 59644b5 commit 1a7fa52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:

- uses: ncipollo/release-action@v1
with:
artifacts: "release/Sleuth.json,release/Sleuth.sol,release/contracts.json,release/sleuth@*"
artifacts: "release/Sleuth.json,release/Sleuth.sol,release/contracts.json,release/sleuth-verify.json,release/sleuth@*"
bodyFile: "release/RELEASE.md"
allowUpdates: true
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ fs_permissions = [
{ access = "read", path = "./.release-tmp"}
]

bytecode_hash = "none"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
1 change: 1 addition & 0 deletions script/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if [ -z "$body" ]; then
fi

sleuth_address="$(forge script --rpc-url="$RPC_URL" --json --silent script/Sleuth.s.sol:Prepare | tee | jq -r '.returns."0".value')"
forge verify-contract --show-standard-json-input 0x0000000000000000000000000000000000000000 src/Sleuth.:Sleuth > release/sleuth-verify.json

echo "title=$title"
echo "body=$body"
Expand Down

0 comments on commit 1a7fa52

Please sign in to comment.