Skip to content

Commit 162453e

Browse files
spec version and fmt
1 parent 6b89f64 commit 162453e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pallets/subtensor/tests/serving.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ fn test_serving_tls_ok() {
131131

132132
let stored_certificate = NeuronCertificates::<Test>::get(netuid, hotkey_account_id)
133133
.expect("Certificate should exist");
134-
assert_eq!(stored_certificate.public_key.clone().into_inner(), certificate.get(1..).expect("Certificate should exist"));
134+
assert_eq!(
135+
stored_certificate.public_key.clone().into_inner(),
136+
certificate.get(1..).expect("Certificate should exist")
137+
);
135138
let new_certificate = "UPDATED_CERT".as_bytes().to_vec();
136139
assert_ok!(SubtensorModule::serve_axon_tls(
137140
<<Test as Config>::RuntimeOrigin>::signed(hotkey_account_id),
@@ -147,7 +150,10 @@ fn test_serving_tls_ok() {
147150
));
148151
let stored_certificate = NeuronCertificates::<Test>::get(netuid, hotkey_account_id)
149152
.expect("Certificate should exist");
150-
assert_eq!(stored_certificate.public_key.clone().into_inner(), new_certificate.get(1..).expect("Certificate should exist"));
153+
assert_eq!(
154+
stored_certificate.public_key.clone().into_inner(),
155+
new_certificate.get(1..).expect("Certificate should exist")
156+
);
151157
});
152158
}
153159

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
142142
// `spec_version`, and `authoring_version` are the same between Wasm and native.
143143
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
144144
// the compatible custom types.
145-
spec_version: 196,
145+
spec_version: 197,
146146
impl_version: 1,
147147
apis: RUNTIME_API_VERSIONS,
148148
transaction_version: 1,

0 commit comments

Comments
 (0)