diff --git a/evm-tests/test/neuron.precompile.emission-check.test.ts b/evm-tests/test/neuron.precompile.emission-check.test.ts index 8abafec90..1a2b053ed 100644 --- a/evm-tests/test/neuron.precompile.emission-check.test.ts +++ b/evm-tests/test/neuron.precompile.emission-check.test.ts @@ -45,7 +45,7 @@ describe("Test the Neuron precompile with emission", () => { it("Burned register and check emission", async () => { let netuid = (await api.query.SubtensorModule.TotalNetworks.getValue()) - 1 - + const uid = await api.query.SubtensorModule.SubnetworkN.getValue(netuid) const contract = new ethers.Contract(INEURON_ADDRESS, INeuronABI, wallet); @@ -63,7 +63,7 @@ describe("Test the Neuron precompile with emission", () => { let i = 0; while (i < 10) { - const emission = await api.query.SubtensorModule.ServerEmission.getValue(netuid) + const emission = await api.query.SubtensorModule.Emission.getValue(netuid) console.log("emission is ", emission); await new Promise((resolve) => setTimeout(resolve, 2000)); diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5e17dc6f7..f6843c50e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 345, + spec_version: 346, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,