Skip to content

Commit b9f3684

Browse files
committed
remove the test case
1 parent 749e8c9 commit b9f3684

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -269,27 +269,6 @@ describe("Test the Subnet precompile contract", () => {
269269
assert.equal(valueFromContract, onchainValue);
270270
})
271271

272-
it("Can set kappa parameter", async () => {
273-
274-
const totalNetwork = await api.query.SubtensorModule.TotalNetworks.getValue()
275-
const contract = new ethers.Contract(ISUBNET_ADDRESS, ISubnetABI, wallet);
276-
const netuid = totalNetwork - 1;
277-
278-
const newValue = 109;
279-
const tx = await contract.setKappa(netuid, newValue);
280-
await tx.wait();
281-
282-
let onchainValue = await api.query.SubtensorModule.Kappa.getValue(netuid)
283-
284-
285-
let valueFromContract = Number(
286-
await contract.getKappa(netuid)
287-
);
288-
289-
assert.equal(valueFromContract, newValue)
290-
assert.equal(valueFromContract, onchainValue);
291-
})
292-
293272
it("Can set rho parameter", async () => {
294273

295274
const totalNetwork = await api.query.SubtensorModule.TotalNetworks.getValue()

0 commit comments

Comments
 (0)