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

[WIP] Parallel transactions execution #246

Draft
wants to merge 18 commits into
base: implement-tracers
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Enforce default_l1_batch fee account
  • Loading branch information
MarcosNicolau committed Sep 3, 2024
commit 57ac2c031d045c689920095df1cfeb7b58bb394e
Original file line number Diff line number Diff line change
@@ -276,6 +276,8 @@ impl VmTesterBuilder {

pub(crate) fn default_l1_batch(number: L1BatchNumber) -> L1BatchEnv {
let timestamp = 0xabcd;
let bytes = [4; 32];
let fee_account = Account::new(K256PrivateKey::from_bytes(bytes.into()).unwrap());
L1BatchEnv {
previous_batch_hash: None,
number,
@@ -284,7 +286,7 @@ pub(crate) fn default_l1_batch(number: L1BatchNumber) -> L1BatchEnv {
50_000_000_000, // 50 gwei
250_000_000, // 0.25 gwei
),
fee_account: Address::random(),
fee_account: fee_account.address(),
enforced_base_fee: None,
first_l2_block: L2BlockEnv {
number: 1,
Loading