Skip to content
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

Merged
merged 12 commits into from
Jan 21, 2025

Conversation

Tirka
Copy link
Collaborator

@Tirka Tirka commented Nov 18, 2024

WIP

@Tirka Tirka force-pushed the feature/better-subchain-config branch from 89adae7 to b093796 Compare November 26, 2024 10:02
@Tirka Tirka marked this pull request as ready for review November 28, 2024 00:24
account-decoder/src/parse_account_data.rs Show resolved Hide resolved
account-decoder/src/parse_account_data.rs Outdated Show resolved Hide resolved
Default::default(),
FeatureSet::new_with_all_enabled(),
);
let mut executor = Executor::testing();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executor::with_backend(..)

@@ -200,39 +200,33 @@ pub struct Executor {
pub evm_backend: EvmBackend<Incomming>,
chain_context: ChainContext,
config: EvmConfig,

gas_price: U256,
Copy link
Collaborator

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)

evm-utils/evm-state/src/executor.rs Show resolved Hide resolved
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(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name const

evm-utils/programs/evm_loader/src/processor.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/processor.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/instructions/mod.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/subchain.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/processor.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/processor.rs Outdated Show resolved Hide resolved
evm-utils/programs/evm_loader/src/processor.rs Outdated Show resolved Hide resolved
@Tirka Tirka force-pushed the feature/better-subchain-config branch from d2de5ff to 8bd491d Compare January 21, 2025 09:25
@Tirka Tirka merged commit b67f65f into zeta Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants