Skip to content

Commit

Permalink
Update hardhat_e2e.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyitang committed Dec 30, 2024
1 parent 7b6e127 commit 399b3d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/hardhat_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ jobs:
echo $rpcurl
echo $chainid
result=$(forge create --rpc-url $rpcurl --optimize --optimizer-runs 30000 --private-key ${{ secrets.STORY_PRIVATEKEY }} test/foundry/mocks/token/MockERC721.sol:MockERC721 --constructor-args "MockERC" "MockERC" --legacy)
echo $result
erc721=$(echo $result | grep "Deployed to:" | cut -d ":" -f 2 | tr -d ' ')
$erc721=$(forge create --rpc-url $rpcurl --optimize --optimizer-runs 30000 --legacy --json --private-key ${{ secrets.STORY_PRIVATEKEY }} test/foundry/mocks/token/MockERC721.sol:MockERC721 --constructor-args "MockERC" "MockERC" | jq '.deployedTo')
echo $erc721
echo "STORY_URL=$rpcurl" >> .env
Expand Down

0 comments on commit 399b3d6

Please sign in to comment.