Add more transactions to Geth on init. Skip tests that are failing.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user