Fix misc compile warnings (#11258)
This commit is contained in:
@@ -359,30 +359,39 @@ impl Implementation for EthereumBuiltin {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The identity builtin
|
||||
pub struct Identity;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The EC Recover builtin
|
||||
pub struct EcRecover;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Sha256 builtin
|
||||
pub struct Sha256;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Ripemd160 builtin
|
||||
pub struct Ripemd160;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Modexp builtin
|
||||
pub struct Modexp;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Bn128Add builtin
|
||||
pub struct Bn128Add;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Bn128Mul builtin
|
||||
pub struct Bn128Mul;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Bn128Pairing builtin
|
||||
pub struct Bn128Pairing;
|
||||
|
||||
#[derive(Debug)]
|
||||
/// The Blake2F builtin
|
||||
pub struct Blake2F;
|
||||
|
||||
impl Implementation for Identity {
|
||||
|
||||
@@ -53,7 +53,7 @@ pub struct TransactionFilter {
|
||||
contract_address: Address,
|
||||
transition_block: BlockNumber,
|
||||
permission_cache: Mutex<LruCache<(H256, Address), u32>>,
|
||||
contract_version_cache: Mutex<LruCache<(H256), Option<U256>>>
|
||||
contract_version_cache: Mutex<LruCache<H256, Option<U256>>>
|
||||
}
|
||||
|
||||
impl TransactionFilter {
|
||||
|
||||
@@ -1207,7 +1207,7 @@ impl Client {
|
||||
gas: U256::from(50_000_000),
|
||||
gas_price: U256::default(),
|
||||
value: U256::default(),
|
||||
data: data,
|
||||
data,
|
||||
}.fake_sign(from)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user