Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase num optimizations for coordinator v2.5 to 500 #12531

Merged
merged 3 commits into from
Mar 21, 2024
Merged
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
5 changes: 5 additions & 0 deletions .changeset/stupid-ducks-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

increase num optimizations to 500 for vrf v2.5 coordinator
5 changes: 5 additions & 0 deletions contracts/.changeset/young-insects-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chainlink/contracts": patch
---

increase num optimizations to 500 for v2.5 coordinator
2 changes: 1 addition & 1 deletion contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ src = 'src/v0.8/vrf'
test = 'test/v0.8/foundry/vrf' # skips tests for no VRF foundry tests

[profile.vrfv2plus_coordinator]
optimizer_runs = 50
optimizer_runs = 500
src = 'src/v0.8/vrf'

[profile.vrfv2plus]
Expand Down
2 changes: 1 addition & 1 deletion contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ let config = {
settings: {
optimizer: {
enabled: true,
runs: 50, // see native_solc_compile_all_vrf
runs: 500, // see native_solc_compile_all_vrf
},
metadata: {
bytecodeHash: 'none',
Expand Down
Loading
Loading