Skip to content

Commit 5fa8831

Browse files
committed
Change snapshot, staking, termChange, and verification tests
1 parent df3b12a commit 5fa8831

File tree

4 files changed

+242
-173
lines changed

4 files changed

+242
-173
lines changed

test/src/e2e/snapshot.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ describe("Snapshot", async function() {
4141

4242
const blockHash = (await node.sdk.rpc.chain.getTransaction(pay.hash()))!
4343
.blockHash!;
44-
await node.sdk.rpc.sendRpcRequest("devel_snapshot", [
45-
blockHash.toJSON()
46-
]);
44+
await node.rpc.devel!.developSnapshot({ hash: blockHash.toJSON() })!;
4745
// Wait for 1 secs
4846
await new Promise(resolve => setTimeout(resolve, 1000));
4947

0 commit comments

Comments
 (0)