Skip to content

Commit

Permalink
fix expectEvent+web3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Oct 28, 2020
1 parent 2b5b8a4 commit b93c03f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/src/expectEvent.web3.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const expectEvent = require('../../src/expectEvent');

const { setupLoader } = require('@openzeppelin/contract-loader');

const web3Loader = setupLoader({ provider: web3.eth.currentProvider }).web3;
const web3Loader = setupLoader({
provider: web3.eth.currentProvider,
defaultGas: 2e6,
}).web3;

const EventEmitter = web3Loader.fromArtifact('EventEmitter');
const IndirectEventEmitter = web3Loader.fromArtifact('IndirectEventEmitter');
Expand Down

0 comments on commit b93c03f

Please sign in to comment.