Skip to content

Commit

Permalink
chore: rename revm-optimism to op-revm (#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
startup-dreamer authored Mar 4, 2025
1 parent c54e464 commit cfc885f
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
targets: riscv32imac-unknown-none-elf
- 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 }}
cargo check --target riscv32imac-unknown-none-elf -p op-revm --no-default-features --features=${{ matrix.features }}
cargo check --target riscv32imac-unknown-none-elf -p revm-database --no-default-features
check:
Expand Down
34 changes: 17 additions & 17 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Revm is a highly efficient and stable implementation of the Ethereum Virtual Mac

Known for its robustness, it stands as one of the most popular libraries and critical component of the Ethereum ecosystem. Revm plays a crucial role across various projects, being widely utilized by almost all tooling and block builders. It is integrated into Reth, multiple Layer 2 variants and other clients and serving as a standard for zkVMs.

Revm offers two primary applications: firstly, it functions as an executor where users can set up block info and process mainnet transactions; secondly, it acts as a framework that facilitates the extension and support of different EVM variants such as revm-optimism.
Revm offers two primary applications: firstly, it functions as an executor where users can set up block info and process mainnet transactions; secondly, it acts as a framework that facilitates the extension and support of different EVM variants such as op-revm.

### How to use:

Expand All @@ -30,7 +30,7 @@ let mut evm = evm.with_inspector(tracer);
let out = evm.inspect_with_tx(tx);
```

The Evm Framework API is somewhat complex to use, but this document provides a detailed explanation. It enables users to extend logic, incorporate various context types, and offers built-in support for inspection. For a practical example, you can refer to the revm-optimism crate.
The Evm Framework API is somewhat complex to use, but this document provides a detailed explanation. It enables users to extend logic, incorporate various context types, and offers built-in support for inspection. For a practical example, you can refer to the op-revm crate.

### Users:

Expand Down
2 changes: 1 addition & 1 deletion book/src/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let mut evm = evm.with_inspector(tracer);
let out = evm.inspect_with_tx(tx);
```

The usage of the Evm Framework API is a bit more complex, but it is extensively explained here. It allows extending logic, adding different context types, and supporting inspection out of the box. For an example, you can check the revm-optimism crate.
The usage of the Evm Framework API is a bit more complex, but it is extensively explained here. It allows extending logic, adding different context types, and supporting inspection out of the box. For an example, you can check the op-revm crate.

Examples section of the book lists all examples that are available in the repository. And it is good starting point for understanding how to use revm.

Expand Down
2 changes: 1 addition & 1 deletion crates/optimism/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "revm-optimism"
name = "op-revm"
description = "Optimism variant of Revm"
version = "1.0.0-alpha.1"
authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ cargo publish --package revm
cargo publish --package revm-inspector
cargo publish --package revm-statetest-types
cargo publish --package revme
cargo publish --package revm-optimism
cargo publish --package op-revm

0 comments on commit cfc885f

Please # to comment.