Skip to content

Commit

Permalink
Remove --locked flag from nextest
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jun 17, 2024
1 parent 0b8c131 commit 192ca90
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
name: Run tests
run: |
cargo nextest run \
--locked --features "asm-keccak ${{ matrix.network }}" \
--features "asm-keccak ${{ matrix.network }}" \
--workspace --exclude examples --exclude ef-tests \
-E "kind(test)"
- if: matrix.network == 'optimism'
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism"
-p reth-node-optimism --features "optimism"
sync:
name: sync / 100k blocks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run tests
run: |
cargo nextest run \
--locked --features "asm-keccak ${{ matrix.network }}" \
--features "asm-keccak ${{ matrix.network }}" \
--workspace --exclude examples --exclude ef-tests \
--partition hash:${{ matrix.partition }}/2 \
-E "!kind(test)"
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ pub trait LoadPendingBlock {
/// Calculates receipts root in block building.
///
/// Panics if block is not in the [`ExecutionOutcome`]'s block range.
#[cfg(not(feature = "optimism"))]
fn receipts_root(
&self,
_block_env: &BlockEnv,
Expand All @@ -194,25 +193,6 @@ pub trait LoadPendingBlock {
execution_outcome.receipts_root_slow(block_number).expect("Block is present")
}

/// Calculates receipts root in block building.
///
/// Panics if block is not in the [`ExecutionOutcome`]'s block range.
#[cfg(feature = "optimism")]
fn receipts_root(
&self,
_block_env: &BlockEnv,
execution_outcome: &ExecutionOutcome,
block_number: BlockNumber,
) -> B256 {
execution_outcome
.optimism_receipts_root_slow(
block_number,
self.provider().chain_spec().as_ref(),
_block_env.timestamp.to::<u64>(),
)
.expect("Block is present")
}

/// Builds a pending block using the configured provider and pool.
///
/// If the origin is the actual pending block, the block is built with withdrawals.
Expand Down

0 comments on commit 192ca90

Please sign in to comment.