Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vendor/frontier/client/rpc/src/eth/pending.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ where
P: TransactionPool<Block = B, Hash = B::Hash> + 'static,
{
/// Creates a pending runtime API.
pub(crate) async fn pending_runtime_api(&self) -> Result<(B::Hash, ApiRef<C::Api>), Error> {
pub(crate) async fn pending_runtime_api(&self) -> Result<(B::Hash, ApiRef<'_, C::Api>), Error> {
let api = self.client.runtime_api();

let info = self.client.info();
Expand Down
4 changes: 2 additions & 2 deletions vendor/frontier/precompiles/src/evm/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub trait PrecompileHandleExt: PrecompileHandle {
fn read_u32_selector(&self) -> MayRevert<u32>;

/// Returns a reader of the input, skipping the selector.
fn read_after_selector(&self) -> MayRevert<Reader>;
fn read_after_selector(&self) -> MayRevert<Reader<'_>>;
}

impl<T: PrecompileHandle> PrecompileHandleExt for T {
Expand Down Expand Up @@ -96,7 +96,7 @@ impl<T: PrecompileHandle> PrecompileHandleExt for T {
}

/// Returns a reader of the input, skipping the selector.
fn read_after_selector(&self) -> MayRevert<Reader> {
fn read_after_selector(&self) -> MayRevert<Reader<'_>> {
Reader::new_skip_selector(self.input())
}
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/frontier/precompiles/src/testing/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ pub trait PrecompileTesterExt: PrecompileSet + Sized {
from: impl Into<H160>,
to: impl Into<H160>,
data: impl Into<Vec<u8>>,
) -> PrecompilesTester<Self>;
) -> PrecompilesTester<'_, Self>;
}

impl<T: PrecompileSet> PrecompileTesterExt for T {
Expand All @@ -248,7 +248,7 @@ impl<T: PrecompileSet> PrecompileTesterExt for T {
from: impl Into<H160>,
to: impl Into<H160>,
data: impl Into<Vec<u8>>,
) -> PrecompilesTester<Self> {
) -> PrecompilesTester<'_, Self> {
PrecompilesTester::new(self, from, to, data.into())
}
}
1 change: 0 additions & 1 deletion vendor/w3f-bls/src/double_pop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use ark_ec::Group;
use ark_ff::field_hashers::{DefaultFieldHasher, HashToField};

const PROOF_OF_POSSESSION_CONTEXT: &'static [u8] = b"POP_";
const BLS_CONTEXT: &'static [u8] = b"BLS_";

/// Proof Of Possession of the secret key as the secret scaler genarting both public
/// keys in G1 and G2 by generating a BLS Signature of public key (in G2)
Expand Down
2 changes: 1 addition & 1 deletion vendor/w3f-bls/src/verifiers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ pub fn verify_using_aggregated_auxiliary_public_keys<

//Simplify from here on.
for (m, pk) in itr {
publickeys.push(pk.borrow().0.clone());
publickeys.push(pk.0);
messages.push(
m.hash_to_signature_curve::<E>()
+ E::SignatureGroupAffine::generator() * pseudo_random_scalar,
Expand Down
Loading