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

@@ -28,6 +28,7 @@ export class BlockchainLifecycle {
break;
case NodeType.Geth:
const blockNumber = await this._web3Wrapper.getBlockNumberAsync();
console.log(`block number for snapshot: ${blockNumber}`);
this._snapshotIdsStack.push(blockNumber);
break;
default:
@@ -46,6 +47,7 @@ export class BlockchainLifecycle {
break;
case NodeType.Geth:
const blockNumber = this._snapshotIdsStack.pop() as number;
console.log(`setting head: ${blockNumber}`);
await this._web3Wrapper.setHeadAsync(blockNumber);
break;
default: