Skip to content

Commit

Permalink
Merge pull request #512 from opentensor/fix/swap-back-fields
Browse files Browse the repository at this point in the history
[fix] Revert axon info field ordering
  • Loading branch information
distributedstatemachine committed Jun 5, 2024
2 parents 41f9d25 + 58765c7 commit 1ad28e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1ad28e4

Please sign in to comment.