Skip to content

Commit

Permalink
Change chainlog keyword (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbreak1211 authored Sep 11, 2023
1 parent 24610ef commit c9d4e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/NgtInit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ library NgtInit {
NgtLike(instance.ngt).rely(instance.mkrNgt);
MkrAuthorityLike(MkrLike(mkr).authority()).rely(instance.mkrNgt);

dss.chainlog.setAddress("NGT", instance.ngt);
dss.chainlog.setAddress("MKRNGT", instance.mkrNgt);
dss.chainlog.setAddress("NGT", instance.ngt);
dss.chainlog.setAddress("MKR_NGT", instance.mkrNgt);
}
}
4 changes: 2 additions & 2 deletions test/integration/Deployment.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ contract DeploymentTest is DssTest {
assertEq(GemLike(MKR).balanceOf(address(this)), 800);
assertEq(GemLike(inst.ngt).balanceOf(address(this)), 200 * 1200);

assertEq(ChainlogLike(LOG).getAddress("NGT"), inst.ngt);
assertEq(ChainlogLike(LOG).getAddress("MKRNGT"), inst.mkrNgt);
assertEq(ChainlogLike(LOG).getAddress("NGT"), inst.ngt);
assertEq(ChainlogLike(LOG).getAddress("MKR_NGT"), inst.mkrNgt);
}
}

0 comments on commit c9d4e04

Please sign in to comment.