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/dev-utils | |
parent | 5b999c2f7d25b5b7982dd5f857bc79881fafc52e (diff) | |
download | dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.gz dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.bz2 dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.lz dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.xz dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.tar.zst dexon-sol-tools-00bf957b53c22f3ccdd6c2e7ad75f0c9e15caa38.zip |
Add more transactions to Geth on init. Skip tests that are failing.
Diffstat (limited to 'packages/dev-utils')
-rw-r--r-- | packages/dev-utils/src/blockchain_lifecycle.ts | 2 |
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: |