Skip to content

Commit 6942824

Browse files
authored
Merge pull request #2197 from opentensor/fix-evm-testing
fix evm test
2 parents b97bb55 + b65feee commit 6942824

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

evm-tests/test/neuron.precompile.emission-check.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("Test the Neuron precompile with emission", () => {
4545

4646
it("Burned register and check emission", async () => {
4747
let netuid = (await api.query.SubtensorModule.TotalNetworks.getValue()) - 1
48-
48+
4949
const uid = await api.query.SubtensorModule.SubnetworkN.getValue(netuid)
5050
const contract = new ethers.Contract(INEURON_ADDRESS, INeuronABI, wallet);
5151

@@ -63,7 +63,7 @@ describe("Test the Neuron precompile with emission", () => {
6363

6464
let i = 0;
6565
while (i < 10) {
66-
const emission = await api.query.SubtensorModule.ServerEmission.getValue(netuid)
66+
const emission = await api.query.SubtensorModule.Emission.getValue(netuid)
6767

6868
console.log("emission is ", emission);
6969
await new Promise((resolve) => setTimeout(resolve, 2000));

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220220
// `spec_version`, and `authoring_version` are the same between Wasm and native.
221221
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222222
// the compatible custom types.
223-
spec_version: 345,
223+
spec_version: 346,
224224
impl_version: 1,
225225
apis: RUNTIME_API_VERSIONS,
226226
transaction_version: 1,

0 commit comments

Comments
 (0)