Skip to content

Commit

Permalink
fix docs ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Sep 5, 2024
1 parent c4845c2 commit de4e89c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["", "optimism,kzg-rs"]
features: ["", "kzg-rs"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: riscv32imac-unknown-none-elf
- run: cargo check --target riscv32imac-unknown-none-elf --no-default-features --features=${{ matrix.features }}
- run: |
cargo check --target riscv32imac-unknown-none-elf --no-default-features --features=${{ matrix.features }}
cargo check --target riscv32imac-unknown-none-elf --p revm-optimism --no-default-features --features=${{ matrix.features }}
check:
name: check ${{ matrix.features }}
Expand Down
3 changes: 1 addition & 2 deletions crates/optimism/src/fast_lz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ mod tests {
.with_default_ext_ctx()
.modify_tx_env(|tx| {
tx.caller = address!("1000000000000000000000000000000000000000");
tx.transact_to =
TxKind::Call(address!("0000000000000000000000000000000000000000"));
tx.transact_to = TxKind::Call(address!("0000000000000000000000000000000000000000"));
tx.data = FastLz::fastLzCall::new((input,)).abi_encode().into();
})
.build();
Expand Down
4 changes: 2 additions & 2 deletions crates/revm/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ impl<'a, BuilderStage, EvmWiringT: EvmWiring> EvmBuilder<'a, BuilderStage, EvmWi
/// ```rust
/// use revm::{EvmBuilder, EvmHandler, db::EmptyDB, primitives::{EthereumWiring, SpecId}};
/// use revm_interpreter::primitives::CancunSpec;
/// let builder = EvmBuilder::default();
/// let builder = EvmBuilder::default().with_default_db().with_default_ext_ctx();
///
/// // get the desired handler
/// let mainnet = EvmHandler::<'_, EthereumWiring, (), EmptyDB>::mainnet_with_spec(SpecId::CANCUN);
/// let mainnet = EvmHandler::<'_, EthereumWiring<EmptyDB,()>>::mainnet_with_spec(SpecId::CANCUN);
/// let builder = builder.with_handler(mainnet);
///
/// // build the EVM
Expand Down

0 comments on commit de4e89c

Please sign in to comment.