Skip to content

Commit 0759aec

Browse files
committed
avoid send evm transaction continuously
1 parent b9c779c commit 0759aec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contract-tests/test/subnet.precompile.hyperparameter.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ describe("Test the Subnet precompile contract", () => {
2929
await disableAdminFreezeWindowAndOwnerHyperparamRateLimit(api)
3030
})
3131

32+
beforeEach(async () => {
33+
await new Promise(resolve => setTimeout(resolve, 500))
34+
})
35+
3236
it("Can register network without identity info", async () => {
3337
const totalNetwork = await api.query.SubtensorModule.TotalNetworks.getValue()
3438

0 commit comments

Comments
 (0)