-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configure Gas Price and Whitelisted Bridges for EVM Subchains #480
Conversation
89adae7
to
b093796
Compare
Default::default(), | ||
FeatureSet::new_with_all_enabled(), | ||
); | ||
let mut executor = Executor::testing(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executor::with_backend(..)
evm-utils/evm-state/src/executor.rs
Outdated
@@ -200,39 +200,33 @@ pub struct Executor { | |||
pub evm_backend: EvmBackend<Incomming>, | |||
chain_context: ChainContext, | |||
config: EvmConfig, | |||
|
|||
gas_price: U256, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to config (min_gas_price)
pub feature_set: FeatureSet, | ||
} | ||
|
||
impl Executor { | ||
// Return new default executor, with empty state stored in temporary dirrectory | ||
pub fn testing() -> Self { | ||
Self::with_config( | ||
Default::default(), | ||
Default::default(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name const
d2de5ff
to
8bd491d
Compare
WIP