Skip to content

Commit c38746c

Browse files
committed
update crowdloanCap
1 parent 87beaec commit c38746c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contract-tests/test/leasing.precompile.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ethers } from "ethers";
77
import { TypedApi } from "polkadot-api";
88
import { devnet } from "@polkadot-api/descriptors";
99
import { getAliceSigner, getBobSigner, getDevnetApi, waitForFinalizedBlock } from "../src/substrate";
10-
import { forceSetBalanceToEthAddress } from "../src/subtensor";
10+
import { forceSetBalanceToEthAddress, resetNetworkLastLock } from "../src/subtensor";
1111
import { decodeAddress } from "@polkadot/util-crypto";
1212
import { u8aToHex } from "@polkadot/util";
1313
import { ILEASING_ADDRESS, ILeasingABI } from "../src/contracts/leasing";
@@ -40,6 +40,8 @@ describe("Test Leasing precompile", () => {
4040

4141
await forceSetBalanceToEthAddress(api, wallet1.address);
4242
await forceSetBalanceToEthAddress(api, wallet2.address);
43+
44+
await resetNetworkLastLock(api);
4345
});
4446

4547
it("gets an existing lease created on substrate side, its subnet id and its contributor shares", async () => {

0 commit comments

Comments
 (0)