File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,10 @@ fn test_serving_tls_ok() {
131
131
132
132
let stored_certificate = NeuronCertificates :: < Test > :: get ( netuid, hotkey_account_id)
133
133
. 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
+ ) ;
135
138
let new_certificate = "UPDATED_CERT" . as_bytes ( ) . to_vec ( ) ;
136
139
assert_ok ! ( SubtensorModule :: serve_axon_tls(
137
140
<<Test as Config >:: RuntimeOrigin >:: signed( hotkey_account_id) ,
@@ -147,7 +150,10 @@ fn test_serving_tls_ok() {
147
150
) ) ;
148
151
let stored_certificate = NeuronCertificates :: < Test > :: get ( netuid, hotkey_account_id)
149
152
. 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
+ ) ;
151
157
} ) ;
152
158
}
153
159
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
142
142
// `spec_version`, and `authoring_version` are the same between Wasm and native.
143
143
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
144
144
// the compatible custom types.
145
- spec_version : 196 ,
145
+ spec_version : 197 ,
146
146
impl_version : 1 ,
147
147
apis : RUNTIME_API_VERSIONS ,
148
148
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments