Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 128 additions & 1 deletion Cargo.lock

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

3 changes: 3 additions & 0 deletions actors/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ exclude = ["/precompile-testdata", "/tests/measurements", "/tests/contracts"]
crate-type = ["cdylib", "lib"]

[dependencies]
p256 = { version = "0.13.2", features = ["ecdsa"], default-features = false }
fil_actors_runtime = { workspace = true }
fvm_shared = { workspace = true }
fvm_ipld_kamt = { workspace = true }
Expand All @@ -34,6 +35,7 @@ hex-literal = { workspace = true }
substrate-bn = { workspace = true }
thiserror = { workspace = true }
blst = "0.3.16"
alloy-core = { workspace = true }

[dev-dependencies]
hex = { workspace = true, features = ["serde"] }
Expand All @@ -44,6 +46,7 @@ alloy-core = { workspace = true }
serde_json = { workspace = true }
rand = { workspace = true, features = ["thread_rng"] }
once_cell = { workspace = true }
rstest = "0.26.0"


[features]
Expand Down
11 changes: 11 additions & 0 deletions actors/evm/precompile-testdata/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# EVM Precompile Test Data

These data files come from [go-ethereum](https://github.com/ethereum/go-ethereum/tree/master/core/vm/testdata/precompiles) and are therefore licensed under the LGPLv3. However, they're not included in published crates (they're excluded by cargo) or build artifacts. They're only loaded at runtime by a few unit tests, and therefore trivially meet the requirements of the LGPL.

## EIP-7951 P256VERIFY vectors

`eip7951_p256verify.json` is vendored from:

- Source URL: <https://eips.ethereum.org/assets/eip-7951/test-vectors.json>
- Retrieved: `2026-02-27` (UTC)
- Upstream reference: `ethereum/EIPs@1fe9c4d8710dce7c437f42c749e5390bec668c29` (`master` at retrieval time)
- Local file SHA256: `6ed75dffbc0dd70defc7aceb7299df75dfb2a18184fbac229482c0a4b6601d6d`

Tests consume these vectors for secp256r1/P256VERIFY behavior checks. The parser supports `NoBenchmark` filtering, although the current upstream set marks all vectors as benchmarkable.
Loading