aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-27 00:08:50 +0800
committerFabio Berger <me@fabioberger.com>2017-05-27 00:08:50 +0800
commit4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1 (patch)
treef0edc61fc04edfc472c3d1e5b2022ed6e56fcd07
parentd5feb5fc792c54bcf4a3a029ddc404e95a5df166 (diff)
downloaddexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.gz
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.bz2
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.lz
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.xz
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.zst
dexon-sol-tools-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.zip
improve comment
-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();
}