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 ae83e04 commit c72ee76
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/hardhat_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,8 @@ jobs:

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install forge-std
run: |
forge install foundry-rs/forge-std --no-commit
- name: Install openzeppelin-contracts
run: |
forge install OpenZeppelin/openzeppelin-contracts --no-commit
with:
version: nightly

- name: 'Create env file'
run: |
Expand All @@ -88,7 +82,8 @@ jobs:
echo $rpcurl
echo $chainid
result=$(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")
result=$(forge create --rpc-url $rpcurl --optimize --optimizer-runs 30000 --legacy --force --json --private-key ${{ secrets.STORY_PRIVATEKEY }} test/foundry/mocks/token/MockERC721.sol:MockERC721 --constructor-args "MockERC" "MockERC" | grep deployedTo)
echo $result
erc721=$(echo $result | jq -r '.deployedTo')
echo $erc721
Expand Down

0 comments on commit c72ee76

Please sign in to comment.