Skip to content

Commit

Permalink
chore(starknet_integration_tests): running end to end integration tes…
Browse files Browse the repository at this point in the history
…t as binary

commit-id:b11c15b5
  • Loading branch information
lev-starkware committed Dec 15, 2024
1 parent fd7bae0 commit b1d2e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sequencer_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
- edited

env:
SEQUENCER_INTEGRATION_TESTS: 1
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld"

# On PR events, cancel existing CI runs on this same PR for this workflow.
Expand All @@ -25,5 +24,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap
- run: |
cargo build --bin starknet_sequencer_node
cargo test --test end_to_end_integration_test
cargo build --bin e2e_integration_test
target/debug/e2e_integration_test
4 changes: 0 additions & 4 deletions crates/starknet_integration_tests/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,6 @@ pub fn create_batcher_config(
}
}

pub fn run_integration_test() -> bool {
std::env::var("SEQUENCER_INTEGRATION_TESTS").is_ok()
}

fn set_validator_id(consensus_manager_config: &mut ConsensusManagerConfig, sequencer_index: usize) {
consensus_manager_config.consensus_config.validator_id = ValidatorId::try_from(
Felt::from(consensus_manager_config.consensus_config.validator_id)
Expand Down

This file was deleted.

0 comments on commit b1d2e44

Please sign in to comment.