|
2 | 2 |
|
3 | 3 | extern crate alloc;
|
4 | 4 |
|
5 |
| -use alloc::format; |
6 | 5 | use core::marker::PhantomData;
|
7 | 6 |
|
8 |
| -use frame_support::dispatch::{GetDispatchInfo, Pays, PostDispatchInfo}; |
9 |
| -use frame_system::RawOrigin; |
| 7 | +use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; |
10 | 8 | use pallet_evm::{
|
11 |
| - AddressMapping, BalanceConverter, ExitError, GasWeightMapping, IsPrecompileResult, Precompile, |
12 |
| - PrecompileFailure, PrecompileHandle, PrecompileResult, PrecompileSet, |
| 9 | + AddressMapping, ExitError, IsPrecompileResult, Precompile, PrecompileFailure, PrecompileHandle, |
| 10 | + PrecompileResult, PrecompileSet, |
13 | 11 | };
|
14 | 12 | use pallet_evm_precompile_modexp::Modexp;
|
15 | 13 | use pallet_evm_precompile_sha3fips::Sha3FIPS256;
|
16 | 14 | use pallet_evm_precompile_simple::{ECRecover, ECRecoverPublicKey, Identity, Ripemd160, Sha256};
|
17 |
| -use precompile_utils::EvmResult; |
18 |
| -use sp_core::{H160, U256, blake2_256, crypto::ByteArray}; |
| 15 | +use sp_core::{H160, U256, crypto::ByteArray}; |
19 | 16 | use sp_runtime::traits::Dispatchable;
|
20 | 17 | use sp_runtime::traits::StaticLookup;
|
21 | 18 | use subtensor_runtime_common::ProxyType;
|
|
0 commit comments