aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/blockchain_lifecycle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/blockchain_lifecycle.ts')
-rw-r--r--test/utils/blockchain_lifecycle.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils/blockchain_lifecycle.ts b/test/utils/blockchain_lifecycle.ts
index f7342b680..68e169ac0 100644
--- a/test/utils/blockchain_lifecycle.ts
+++ b/test/utils/blockchain_lifecycle.ts
@@ -6,7 +6,8 @@ export class BlockchainLifecycle {
constructor() {
this.rpc = new RPC();
}
- // TODO: Check if running on TestRPC or on actual node, if actual node, re-deploy contracts instead
+ // TODO: In order to run these tests on an actual node, we should check if we are running against
+ // TestRPC, if so, use snapshots, otherwise re-deploy contracts before every test
public async startAsync(): Promise<void> {
this.snapshotId = await this.rpc.takeSnapshotAsync();
}