mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-22 16:07:59 +00:00
Update the FallbackGasFiller implementation (#221)
This commit is contained in:
@@ -250,7 +250,7 @@ impl GethNode {
|
||||
construct_concurrency_limited_provider::<Ethereum, _>(
|
||||
self.connection_string.as_str(),
|
||||
FallbackGasFiller::default()
|
||||
.with_use_fallback_gas_filler(self.use_fallback_gas_filler),
|
||||
.with_fallback_mechanism(self.use_fallback_gas_filler),
|
||||
ChainIdFiller::new(Some(CHAIN_ID)),
|
||||
NonceFiller::new(self.nonce_manager.clone()),
|
||||
self.wallet.clone(),
|
||||
|
||||
@@ -379,7 +379,7 @@ impl LighthouseGethNode {
|
||||
construct_concurrency_limited_provider::<Ethereum, _>(
|
||||
self.ws_connection_string.as_str(),
|
||||
FallbackGasFiller::default()
|
||||
.with_use_fallback_gas_filler(self.use_fallback_gas_filler),
|
||||
.with_fallback_mechanism(self.use_fallback_gas_filler),
|
||||
ChainIdFiller::new(Some(CHAIN_ID)),
|
||||
NonceFiller::new(self.nonce_manager.clone()),
|
||||
self.wallet.clone(),
|
||||
|
||||
@@ -47,7 +47,7 @@ use tracing::{instrument, trace};
|
||||
|
||||
use crate::{
|
||||
Node,
|
||||
constants::{CHAIN_ID, INITIAL_BALANCE},
|
||||
constants::INITIAL_BALANCE,
|
||||
helpers::{Process, ProcessReadinessWaitBehavior},
|
||||
provider_utils::{
|
||||
ConcreteProvider, FallbackGasFiller, construct_concurrency_limited_provider,
|
||||
@@ -327,13 +327,9 @@ impl SubstrateNode {
|
||||
.get_or_try_init(|| async move {
|
||||
construct_concurrency_limited_provider::<Ethereum, _>(
|
||||
self.rpc_url.as_str(),
|
||||
FallbackGasFiller::new(
|
||||
u64::MAX,
|
||||
50_000_000_000,
|
||||
1_000_000_000,
|
||||
self.use_fallback_gas_filler,
|
||||
),
|
||||
ChainIdFiller::new(Some(CHAIN_ID)),
|
||||
FallbackGasFiller::default()
|
||||
.with_fallback_mechanism(self.use_fallback_gas_filler),
|
||||
ChainIdFiller::default(),
|
||||
NonceFiller::new(self.nonce_manager.clone()),
|
||||
self.wallet.clone(),
|
||||
)
|
||||
|
||||
@@ -334,12 +334,8 @@ impl ZombienetNode {
|
||||
.get_or_try_init(|| async move {
|
||||
construct_concurrency_limited_provider::<Ethereum, _>(
|
||||
self.connection_string.as_str(),
|
||||
FallbackGasFiller::new(
|
||||
u64::MAX,
|
||||
5_000_000_000,
|
||||
1_000_000_000,
|
||||
self.use_fallback_gas_filler,
|
||||
),
|
||||
FallbackGasFiller::default()
|
||||
.with_fallback_mechanism(self.use_fallback_gas_filler),
|
||||
ChainIdFiller::default(), // TODO: use CHAIN_ID constant
|
||||
NonceFiller::new(self.nonce_manager.clone()),
|
||||
self.wallet.clone(),
|
||||
|
||||
Reference in New Issue
Block a user