From d86cd11da9ee24570ef65ed3c35e8fe237f5587c Mon Sep 17 00:00:00 2001 From: Cameron Fairchild Date: Tue, 4 Jun 2024 19:55:20 -0400 Subject: [PATCH 1/2] revert axon info field ordering --- pallets/subtensor/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/subtensor/src/lib.rs b/pallets/subtensor/src/lib.rs index 1e2ec43c3..61eb17f4a 100644 --- a/pallets/subtensor/src/lib.rs +++ b/pallets/subtensor/src/lib.rs @@ -672,9 +672,9 @@ pub mod pallet { /// Axon version pub version: u32, /// Axon u128 encoded ip address of type v6 or v4. - pub port: u16, - /// Axon u16 encoded port. pub ip: u128, + /// Axon u16 encoded port. + pub port: u16, /// Axon ip type, 4 for ipv4 and 6 for ipv6. pub ip_type: u8, /// Axon protocol. TCP, UDP, other. From 58765c79694140abe34dc9b177d3555475dcfbe5 Mon Sep 17 00:00:00 2001 From: Cameron Fairchild Date: Tue, 4 Jun 2024 20:56:59 -0400 Subject: [PATCH 2/2] bump spec --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index fc2732094..5698ccb4d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -135,7 +135,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: 185, + spec_version: 186, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,