Skip to content

Commit 1ad28e4

Browse files
Merge pull request #512 from opentensor/fix/swap-back-fields
[fix] Revert axon info field ordering
2 parents 41f9d25 + 58765c7 commit 1ad28e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pallets/subtensor/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,9 @@ pub mod pallet {
672672
/// Axon version
673673
pub version: u32,
674674
/// Axon u128 encoded ip address of type v6 or v4.
675-
pub port: u16,
676-
/// Axon u16 encoded port.
677675
pub ip: u128,
676+
/// Axon u16 encoded port.
677+
pub port: u16,
678678
/// Axon ip type, 4 for ipv4 and 6 for ipv6.
679679
pub ip_type: u8,
680680
/// Axon protocol. TCP, UDP, other.

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
135135
// `spec_version`, and `authoring_version` are the same between Wasm and native.
136136
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
137137
// the compatible custom types.
138-
spec_version: 185,
138+
spec_version: 186,
139139
impl_version: 1,
140140
apis: RUNTIME_API_VERSIONS,
141141
transaction_version: 1,

0 commit comments

Comments
 (0)