diff --git a/guests/reth-ethereum/Cargo.toml b/guests/reth-ethereum/Cargo.toml index 996ed4c4..2102f264 100644 --- a/guests/reth-ethereum/Cargo.toml +++ b/guests/reth-ethereum/Cargo.toml @@ -5,6 +5,15 @@ edition = "2021" [workspace] +[profile.release] +codegen-units = 1 +debug = 1 +lto = "fat" + +[profile.release.build-override] +codegen-units = 1 +opt-level = 3 + [dependencies.risc0-zkvm] git = "https://github.com/risc0/risc0" rev = "e98cdad96cfecb3d959cb62abf566e5b17a0d649" diff --git a/guests/reth-optimism/Cargo.toml b/guests/reth-optimism/Cargo.toml index 90a67309..29ba809d 100644 --- a/guests/reth-optimism/Cargo.toml +++ b/guests/reth-optimism/Cargo.toml @@ -5,6 +5,15 @@ edition = "2021" [workspace] +[profile.release] +codegen-units = 1 +debug = 1 +lto = "fat" + +[profile.release.build-override] +codegen-units = 1 +opt-level = 3 + [dependencies.risc0-zkvm] git = "https://github.com/risc0/risc0" rev = "e98cdad96cfecb3d959cb62abf566e5b17a0d649"