@@ -164,7 +164,7 @@ fn panic_execution_with_foreign_code_gives_error() {
164164 let mut t = TestExternalities :: < Blake2Hasher > :: new_with_code ( BLOATY_CODE , Storage {
165165 top : map ! [
166166 <frame_system:: Account <Runtime >>:: hashed_key_for( alice( ) ) => {
167- ( 69u128 , 0u128 , 0u128 , 0u128 ) . encode( )
167+ ( 69u128 , 0u8 , 0u128 , 0u128 , 0u128 ) . encode( )
168168 } ,
169169 <pallet_balances:: TotalIssuance <Runtime >>:: hashed_key( ) . to_vec( ) => {
170170 69_u128 . encode( )
@@ -200,7 +200,7 @@ fn bad_extrinsic_with_native_equivalent_code_gives_error() {
200200 let mut t = TestExternalities :: < Blake2Hasher > :: new_with_code ( COMPACT_CODE , Storage {
201201 top : map ! [
202202 <frame_system:: Account <Runtime >>:: hashed_key_for( alice( ) ) => {
203- ( 0u32 , 69u128 , 0u128 , 0u128 , 0u128 ) . encode( )
203+ ( 0u32 , 0u8 , 69u128 , 0u128 , 0u128 , 0u128 ) . encode( )
204204 } ,
205205 <pallet_balances:: TotalIssuance <Runtime >>:: hashed_key( ) . to_vec( ) => {
206206 69_u128 . encode( )
@@ -236,7 +236,7 @@ fn successful_execution_with_native_equivalent_code_gives_ok() {
236236 let mut t = TestExternalities :: < Blake2Hasher > :: new_with_code ( COMPACT_CODE , Storage {
237237 top : map ! [
238238 <frame_system:: Account <Runtime >>:: hashed_key_for( alice( ) ) => {
239- ( 0u32 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
239+ ( 0u32 , 0u8 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
240240 } ,
241241 <pallet_balances:: TotalIssuance <Runtime >>:: hashed_key( ) . to_vec( ) => {
242242 ( 111 * DOLLARS ) . encode( )
@@ -278,7 +278,7 @@ fn successful_execution_with_foreign_code_gives_ok() {
278278 let mut t = TestExternalities :: < Blake2Hasher > :: new_with_code ( BLOATY_CODE , Storage {
279279 top : map ! [
280280 <frame_system:: Account <Runtime >>:: hashed_key_for( alice( ) ) => {
281- ( 0u32 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
281+ ( 0u32 , 0u8 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
282282 } ,
283283 <pallet_balances:: TotalIssuance <Runtime >>:: hashed_key( ) . to_vec( ) => {
284284 ( 111 * DOLLARS ) . encode( )
@@ -734,7 +734,7 @@ fn successful_execution_gives_ok() {
734734 let mut t = TestExternalities :: < Blake2Hasher > :: new_with_code ( COMPACT_CODE , Storage {
735735 top : map ! [
736736 <frame_system:: Account <Runtime >>:: hashed_key_for( alice( ) ) => {
737- ( 0u32 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
737+ ( 0u32 , 0u8 , 111 * DOLLARS , 0u128 , 0u128 , 0u128 ) . encode( )
738738 } ,
739739 <pallet_balances:: TotalIssuance <Runtime >>:: hashed_key( ) . to_vec( ) => {
740740 ( 111 * DOLLARS ) . encode( )
0 commit comments