Skip to content

Commit

Permalink
replaced hardcoded gelato addresses from test
Browse files Browse the repository at this point in the history
  • Loading branch information
SidestreamIcedMango committed Nov 13, 2024
1 parent 5a90fdb commit 7b2e5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/DssSpell.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1085,9 +1085,9 @@ contract DssSpellTest is DssSpellTestBase {
}

function testGelatoKeeperTreasuryAddress() public {
GelatoPaymentAdapterLike GELATO_PAYMENT_ADAPTER = GelatoPaymentAdapterLike(0x0B5a34D084b6A5ae4361de033d1e6255623b41eD);
GelatoPaymentAdapterLike GELATO_PAYMENT_ADAPTER = GelatoPaymentAdapterLike(wallets.addr("GELATO_PAYMENT_ADAPTER"));
address GELATO_TREASURY_OLD = 0xbfDC6b9944B7EFdb1e2Bc9D55ae9424a2a55b206;
address GELATO_TREASURY_NEW = 0x5041c60C75633F29DEb2AED79cB0A9ed79202415;
address GELATO_TREASURY_NEW = wallets.addr("GELATO_TREASURY");

assertEq(GELATO_PAYMENT_ADAPTER.treasury(), GELATO_TREASURY_OLD, "gelato-keeper-treasury-address/invalid-treasury-address");

Expand Down
2 changes: 1 addition & 1 deletion src/test/addresses_wallets.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ contract Wallets {
// MIP-63 Keeper Network
addr["GELATO_VEST_STREAMING"] = 0x478c7Ce3e1df09130f8D65a23AD80e05b352af62;
addr["GELATO_PAYMENT_ADAPTER"] = 0x0B5a34D084b6A5ae4361de033d1e6255623b41eD;
addr["GELATO_TREASURY"] = 0xbfDC6b9944B7EFdb1e2Bc9D55ae9424a2a55b206;
addr["GELATO_TREASURY"] = 0x5041c60C75633F29DEb2AED79cB0A9ed79202415;
addr["KEEP3R_VEST_STREAMING"] = 0x37b375e3D418fbECba6b283e704F840AB32f3b3C;
addr["KEEP3R_VEST_STREAMING_LEGACY"] = 0xc6A048550C9553F8Ac20fbdeB06f114c27ECcabb;
addr["KEEP3R_PAYMENT_ADAPTER"] = 0xaeFed819b6657B3960A8515863abe0529Dfc444A;
Expand Down

0 comments on commit 7b2e5df

Please sign in to comment.