improve comment
This commit is contained in:
parent
d5feb5fc79
commit
4c3c1d049b
@ -6,7 +6,8 @@ export class BlockchainLifecycle {
|
|||||||
constructor() {
|
constructor() {
|
||||||
this.rpc = new RPC();
|
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> {
|
public async startAsync(): Promise<void> {
|
||||||
this.snapshotId = await this.rpc.takeSnapshotAsync();
|
this.snapshotId = await this.rpc.takeSnapshotAsync();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user