@@ -29,7 +29,6 @@ use frame_support::weights::{Weight, MINIMUM_WEIGHT, DispatchClass, FunctionOf};
29
29
use frame_support:: traits:: { Currency , WithdrawReason , ExistenceRequirement } ;
30
30
use frame_system:: { self as system, ensure_signed} ;
31
31
use sp_runtime:: ModuleId ;
32
- use frame_support:: weights:: SimpleDispatchInfo ;
33
32
use sp_core:: { U256 , H256 , H160 , Hasher } ;
34
33
use sp_runtime:: {
35
34
DispatchResult , traits:: { UniqueSaturatedInto , AccountIdConversion , SaturatedConversion } ,
@@ -191,7 +190,7 @@ decl_module! {
191
190
fn deposit_event( ) = default ;
192
191
193
192
/// Deposit balance from currency/balances module into EVM.
194
- #[ weight = SimpleDispatchInfo :: FixedNormal ( MINIMUM_WEIGHT ) ]
193
+ #[ weight = MINIMUM_WEIGHT ]
195
194
fn deposit_balance( origin, value: BalanceOf <T >) {
196
195
let sender = ensure_signed( origin) ?;
197
196
@@ -212,7 +211,7 @@ decl_module! {
212
211
}
213
212
214
213
/// Withdraw balance from EVM into currency/balances module.
215
- #[ weight = SimpleDispatchInfo :: FixedNormal ( MINIMUM_WEIGHT ) ]
214
+ #[ weight = MINIMUM_WEIGHT ]
216
215
fn withdraw_balance( origin, value: BalanceOf <T >) {
217
216
let sender = ensure_signed( origin) ?;
218
217
let address = T :: ConvertAccountId :: convert_account_id( & sender) ;
0 commit comments