Add more transactions to Geth on init. Skip tests that are failing.

This commit is contained in:
Alex Browne
2018-05-23 18:13:18 -07:00
parent 5b999c2f7d
commit 00bf957b53
16 changed files with 771 additions and 645 deletions

View File

@@ -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