Skip to content

Commit

Permalink
chainlog update
Browse files Browse the repository at this point in the history
  • Loading branch information
oddaf committed Aug 19, 2024
1 parent 5eb4867 commit 344881d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/DssSpell.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ contract DssSpellAction is DssAction {

// ---------- Add LitePSM keeper network job ----------
address internal immutable CRON_SEQUENCER = DssExecLib.getChangelogAddress("CRON_SEQUENCER");
address internal constant CRON_LITE_PSM_JOB = 0x689cE517a4DfCf0C5eC466F2757D324fc292C8Be;
address internal immutable CRON_LITE_PSM_JOB = DssExecLib.getChangelogAddress("CRON_LITE_PSM_JOB");
address internal constant CRON_LITE_PSM_JOB_NEW = 0x0C86162ba3E507592fC8282b07cF18c7F902C401;


Expand Down Expand Up @@ -170,7 +170,7 @@ contract DssSpellAction is DssAction {
// Note: load the MCD contracts depencencies
DssInstance memory dss = MCD.loadFromChainlog(DssExecLib.LOG);

// Note: specify the init and migration config
// Note: specify the migration config
DssLitePsmMigrationConfigPhase2 memory cfg = DssLitePsmMigrationConfigPhase2({
// Note: chainlog key of new psm lite
dstPsmKey: "MCD_LITE_PSM_USDC_A",
Expand Down Expand Up @@ -240,6 +240,10 @@ contract DssSpellAction is DssAction {
// Note: Value already set at target contract, cannot be changed

// Update CRON_LITE_PSM_JOB to 0x0c86162ba3e507592fc8282b07cf18c7f902c401 in the Chainlog
DssExecLib.setChangelogAddress("CRON_LITE_PSM_JOB", CRON_LITE_PSM_JOB_NEW);

// Note: bump chainlog version due to the updated CRON_LITE_PSM_JOB address
DssExecLib.setChangelogVersion("1.17.7");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/addresses_mainnet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,6 @@ contract Addresses {
addr["CRON_CLIPPER_MOM_JOB"] = 0x7E93C4f61C8E8874e7366cDbfeFF934Ed089f9fF;
addr["CRON_ORACLE_JOB"] = 0xe717Ec34b2707fc8c226b34be5eae8482d06ED03;
addr["CRON_FLAP_JOB"] = 0xc32506E9bB590971671b649d9B8e18CB6260559F;
addr["CRON_LITE_PSM_JOB"] = 0x689cE517a4DfCf0C5eC466F2757D324fc292C8Be;
addr["CRON_LITE_PSM_JOB"] = 0x0C86162ba3E507592fC8282b07cF18c7F902C401;
}
}
2 changes: 1 addition & 1 deletion src/test/config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ contract Config {
afterSpell.line_mom_authority = chief; // LineMom authority
afterSpell.lite_psm_mom_authority = chief; // LitePsmMom authority
afterSpell.ilk_count = 66; // Num expected in system
afterSpell.chainlog_version = "1.17.6"; // String expected in system
afterSpell.chainlog_version = "1.17.7"; // String expected in system

//
// Values for all collateral
Expand Down

0 comments on commit 344881d

Please sign in to comment.