Skip to content

Commit

Permalink
🧢 Decode error string presented in newer versions of hardhat (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Jul 26, 2022
1 parent 2e1837c commit 41e809f
Show file tree
Hide file tree
Showing 7 changed files with 340 additions and 122 deletions.
7 changes: 7 additions & 0 deletions .changeset/shy-nails-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ethereum-waffle/chai": patch
"@ethereum-waffle/hardhat": patch
"@ethereum-waffle/provider": patch
---

Decode revert string in hardhat 2.9.4+
42 changes: 42 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,48 @@ jobs:
run: sudo cp ./.github/workflows/solc /bin
- run: pnpm run build
- run: pnpm run test
test-hardhat-pre-244:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: setup-solc
run: sudo cp ./.github/workflows/solc /bin
- run: pnpm run build
- name: Install versions of hardhat packages pre 2.4.4
run: |
pnpm add hardhat@2.9.2
pnpm add -D @nomiclabs/hardhat-waffle@2.0.3
pnpm add -D @nomiclabs/hardhat-ethers@2.0.3
working-directory: waffle-hardhat
- run: pnpm run test
working-directory: waffle-hardhat
test-hardhat-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: setup-solc
run: sudo cp ./.github/workflows/solc /bin
- run: pnpm run build
- name: Install latest versions of hardhat packages
run: |
pnpm add hardhat@latest
pnpm add -D @nomiclabs/hardhat-waffle@latest
pnpm add -D @nomiclabs/hardhat-ethers@latest
working-directory: waffle-hardhat
- run: pnpm run test
working-directory: waffle-hardhat
docs-and-linter:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 41e809f

Please sign in to comment.