Bump to latest Ethers (#26)

* chore: bump ethers

* fix: adjust ethers breaking changes

1. Use the abigen'd ::deploy methods
2. Use Anvil instead of Ganache

* silence warning

* fix: replace abi with full verifier artifact

* ci: use anvil instead of the node stack

* chore: remove ethers-solc

* fix: return error instead of raise

17c0834abf
this api got deprecated and would panic instead of generating an error that can behandled

* lints

* minimfy json
This commit is contained in:
Georgios Konstantopoulos
2022-08-29 15:06:27 -07:00
committed by GitHub
parent 8f6fcaf40b
commit 06eb0759e0
8 changed files with 1222 additions and 905 deletions

View File

@@ -19,21 +19,11 @@ jobs:
toolchain: stable
override: true
- name: Install node
uses: actions/setup-node@v1
# Install for Anvil
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
node-version: 10
- name: Install ganache
run: npm install -g ganache-cli
- name: Install Solc
run: |
mkdir -p "$HOME/bin"
wget -q https://github.com/ethereum/solidity/releases/download/v0.7.6/solc-static-linux -O $HOME/bin/solc
chmod u+x "$HOME/bin/solc"
export PATH=$HOME/bin:$PATH
solc --version
version: nightly
- uses: Swatinem/rust-cache@v1
with: