aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/src/blockchain_lifecycle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-utils/src/blockchain_lifecycle.ts')
-rw-r--r--packages/dev-utils/src/blockchain_lifecycle.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/dev-utils/src/blockchain_lifecycle.ts b/packages/dev-utils/src/blockchain_lifecycle.ts
index 6e7957f10..49ac8c671 100644
--- a/packages/dev-utils/src/blockchain_lifecycle.ts
+++ b/packages/dev-utils/src/blockchain_lifecycle.ts
@@ -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: