Closed PaulRBerg closed 4 years ago
I think I figured it out, as per @pcowgill's work on chicago-ethereum/quadratic-funding:
https://github.com/chicago-ethereum/quadratic-funding/blob/master/contract-project/test/cemToken.ts
One ought to now use the waffle's provider and pull the wallets from there, not ethers:
import { deployContract } from "ethereum-waffle";
import { waffle } from "@nomiclabs/buidler";
...
const provider = waffle.provider;
let [wallet] = provider.getWallets();
let greeter = (await deployContract(alice, GreeterArtifact)) as Greeter;
Thanks for the input! Everything is updated now.
Hey! Thanks for creating this plugin. I tried to follow the instructions in the README:
But these don't work anymore as of @nomiclabs/buidler@1.3.3 and ethereum-waffle@2.5.0:
Related: https://github.com/EthWorks/Waffle/issues/270