Skip to content

Commit

Permalink
Upgrade ilk-registry and adjust optimization runs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalabasquer committed Aug 27, 2020
1 parent e0eb0b7 commit a0cf3ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .dapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,17 @@
"url": "https://github.com/makerdao/flipper-mom"
}
},
"ilk-registry_5995cde": {
"ilk-registry_2393e47": {
"deps": {
"ds-test": "ds-test_eb7148d"
"ds-test": "ds-test_eb7148d",
"ds-value": "ds-value_f3dc6c8",
"dss": "dss_ee01dab"
},
"name": "ilk-registry",
"repo": {
"name": "ilk-registry-5995cde",
"name": "ilk-registry-2393e47",
"ref": "HEAD",
"rev": "5995cdec069020892d39b57404381f54ad01279a",
"rev": "2393e4714fb1c24991d101fbd4ce1991fe375edb",
"url": "https://github.com/makerdao/ilk-registry"
}
},
Expand Down Expand Up @@ -432,7 +434,7 @@
"dss-deploy-pause-proxy-actions": "dss-deploy-pause-proxy-actions_3033e39",
"dss-proxy-actions": "dss-proxy-actions_8045d9c",
"flipper-mom": "flipper-mom_9ba73a4",
"ilk-registry": "ilk-registry_5995cde",
"ilk-registry": "ilk-registry_2393e47",
"mkr-authority": "mkr-authority_62380ee",
"multicall": "multicall_57967fc",
"osm": "osm_ec26fd0",
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let
# Create derivations from lock file data
packages = packageSpecs (deps' // {
# Package overrides
ilk-registry = deps'.ilk-registry // { name = "ilk-registry-optimized"; solcFlags = "--optimize"; solc = solc-versions.solc_0_6_7; };
ilk-registry = deps'.ilk-registry // { name = "ilk-registry-optimized"; solcFlags = "--optimize --optimize-runs 1000000"; solc = solc-versions.solc_0_6_7; };
dss-proxy-actions = deps'.dss-proxy-actions // { name = "dss-proxy-actions-optimized"; solcFlags = "--optimize"; };
dss-deploy-optimized = deps'.dss-deploy // { name = "dss-deploy-optimized"; solcFlags = "--optimize"; };
});
Expand Down
2 changes: 1 addition & 1 deletion libexec/base-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ FLIPPER_MOM=$(dappCreate flipper-mom FlipperMom "$MCD_CAT")
log "FLIPPER_MOM=$FLIPPER_MOM"

# Deploy IlkRegistry
ILK_REGISTRY=$(dappCreate ilk-registry-optimized IlkRegistry "$(seth --to-checksum-address "$MCD_END")")
ILK_REGISTRY=$(dappCreate ilk-registry-optimized IlkRegistry "$MCD_VAT" "$MCD_CAT" "$MCD_SPOT")
log "ILK_REGISTRY=$ILK_REGISTRY"

for token in $tokens; do
Expand Down

0 comments on commit a0cf3ea

Please sign in to comment.