From 97d717d602f214cfc1aeffdc9bd155f23e163637 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Fri, 30 Jan 2026 18:15:57 +0000 Subject: [PATCH] docs: remove GPL mention and update gmp feature comments - Remove GPL license warning from README (gmp uses dynamic linking) - Update feature comments in crates/precompile/Cargo.toml and crates/revm/Cargo.toml Amp-Thread-ID: https://ampcode.com/threads/T-019c101d-e03c-7564-a1bc-81008386830a Co-authored-by: Amp --- README.md | 2 -- crates/precompile/Cargo.toml | 4 +--- crates/revm/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 237cd5aef8..d96fa914bf 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,6 @@ Revm is licensed under MIT License. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, shall be licensed as above, without any additional terms or conditions. -If `gmp` feature flag is used, GPL code gets compiled, if enabled please make sure to follow this license. - ### Security For any security questions or findings, please reach out to me directly via email at [dragan0rakita@gmail.com](mailto:dragan0rakita@gmail.com) or contact me on Keybase under the username @draganrakita. diff --git a/crates/precompile/Cargo.toml b/crates/precompile/Cargo.toml index cdafcfa1e8..62d4112e67 100644 --- a/crates/precompile/Cargo.toml +++ b/crates/precompile/Cargo.toml @@ -115,9 +115,7 @@ blst = ["dep:blst"] # Enables the substrate implementation of eip1962 bn = ["dep:bn"] -# Use GMP (LGPL) for modexp precompile via gmp-mpfr-sys. -# If you want to use a system libs and dynamic linking of GMP, include `gmp-mpfr-sys` in your project -# with a `features = ["use-system-libs"]` enabled. +# Use GMP for accelerated modexp precompile. Dynamically links to libgmp at runtime. gmp = ["dep:gmp-mpfr-sys"] [[bench]] diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 085aa1a004..aedc0a5d04 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -115,7 +115,7 @@ asm-sha2 = ["precompile/asm-sha2"] # Binary can be executed on all systems. portable = ["precompile/portable"] -# Use GMP for modexp precompile (LGPL; dynamically linked via system libs). +# Use GMP for accelerated modexp precompile. Dynamically links to libgmp at runtime. gmp = ["precompile/gmp"] # Statetest types for running ethereum tests