Skip to content

Commit

Permalink
increase num optimizations for coordinator v2.5 to 500 (#12531)
Browse files Browse the repository at this point in the history
* increase num optimizations for coordinator v2.5 to 500

* add changeset

* add changeset
  • Loading branch information
jinhoonbang authored Mar 21, 2024
1 parent 8862016 commit 88e010d
Show file tree
Hide file tree
Showing 9 changed files with 2,039 additions and 2,142 deletions.
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

0 comments on commit 88e010d

Please sign in to comment.