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() {
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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments