diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-24 09:13:18 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 03:39:43 +0800 |
commit | 00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38 (patch) | |
tree | 2fc183c1e35a7868bbc75fb5e10ce919e443398a /packages/web3-wrapper/src | |
parent | 5b999c2f7d25b5b7982dd5f857bc79881fafc52e (diff) | |
download | dexon-0x-contracts-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.gz dexon-0x-contracts-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.zst dexon-0x-contracts-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.zip |
Add more transactions to Geth on init. Skip tests that are failing.
Diffstat (limited to 'packages/web3-wrapper/src')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index d922c80cd..b9b0bdbb2 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -258,7 +258,8 @@ export class Web3Wrapper { * @param timeDelta Amount of time to add in seconds */ public async increaseTimeAsync(timeDelta: number): Promise<void> { - await this._sendRawPayloadAsync<string>({ method: 'evm_increaseTime', params: [timeDelta] }); + // TODO(albrow): Detect Geth vs. Ganache and use appropriate endpoint. + await this._sendRawPayloadAsync<string>({ method: 'debug_increaseTime', params: [timeDelta] }); } /** * Retrieve smart contract logs for a given filter |