File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
substrate/frame/revive/src Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ pub struct AccountId32Mapper<T>(PhantomData<T>);
9999/// The mapper to be used if the account id is `H160`.
100100///
101101/// It just trivially returns its inputs and doesn't make use of any state.
102+ #[ allow( dead_code) ]
102103pub struct H160Mapper < T > ( PhantomData < T > ) ;
103104
104105/// An account mapper that can be used for testing u64 account ids.
Original file line number Diff line number Diff line change @@ -205,8 +205,6 @@ fn instantiate_and_call_and_deposit_event() {
205205 . build_and_unwrap_contract ( ) ;
206206 assert ! ( AccountInfoOf :: <Test >:: contains_key( & addr) ) ;
207207
208- let hold_balance = contract_base_deposit ( & addr) ;
209-
210208 assert_eq ! (
211209 System :: events( ) ,
212210 vec![
@@ -930,9 +928,6 @@ fn self_destruct_by_precompile_works() {
930928 . native_value ( initial_contract_balance)
931929 . build_and_unwrap_contract ( ) ;
932930
933- let hold_balance = contract_base_deposit ( & contract. addr ) ;
934- let upload_deposit = get_code_deposit ( & code_hash) ;
935-
936931 // Check that the BOB contract has been instantiated.
937932 let _ = get_contract ( & contract. addr ) ;
938933
You can’t perform that action at this time.
0 commit comments