Skip to content

Commit

Permalink
feat: adapt eth_sender tests for running both in Validium mode and …
Browse files Browse the repository at this point in the history
…Rollup mode (#120)

* abstract confirm many test

* abstract resend_each_block_Tst

* abstract dont_resend_already_mined test

* abstract three_scenarios_test

* abstract failed_eth_tx test

* add correct_order_for_confirmations and skipped_l1_batch_at_the_start abstraction test

* add skipped_l1_batch_in_the_middle test abstraction

* add test_parse_multicall_data abstraction

* add get_multicall_data abstraction

* fix failing tests

* change base branch

* add return type in test function

* separate tests using test helper

* update test methods to accept l1_commit_data_generator

* pass zk lint --check
  • Loading branch information
toni-calvin authored Feb 15, 2024
1 parent d38dc48 commit fc03061
Show file tree
Hide file tree
Showing 3 changed files with 1,121 additions and 970 deletions.
3 changes: 3 additions & 0 deletions core/lib/zksync_core/src/eth_sender/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ mod zksync_functions;
#[cfg(test)]
mod tests;

#[cfg(test)]
mod tests_helpers;

pub use self::{
aggregator::Aggregator, error::ETHSenderError, eth_tx_aggregator::EthTxAggregator,
eth_tx_manager::EthTxManager,
Expand Down
Loading

0 comments on commit fc03061

Please sign in to comment.