Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions evm-tests/test/neuron.precompile.emission-check.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading