Skip to content

Commit

Permalink
fix: update decimals (#81)
Browse files Browse the repository at this point in the history
* fix: specify decimals for WBTC and USDT

* forge install: simple-erc20

f5c2597ec179ea13e219ccbca415dc59d5a33398

* snapshot
  • Loading branch information
anna-carroll authored Nov 25, 2024
1 parent 0a239fc commit 1eeb14a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GnosisSafeTest:test_gnosis_receive() (gas: 15927)
OrderOriginPermit2Test:test_fillPermit2() (gas: 223464)
OrderOriginPermit2Test:test_fillPermit2_multi() (gas: 1005464)
OrderOriginPermit2Test:test_fillPermit2_multi() (gas: 1007964)
OrderOriginPermit2Test:test_initiatePermit2() (gas: 233946)
OrderOriginPermit2Test:test_initiatePermit2_multi() (gas: 982006)
OrderOriginPermit2Test:test_initiatePermit2_multi() (gas: 984506)
OrdersTest:test_fill_ERC20() (gas: 71459)
OrdersTest:test_fill_ETH() (gas: 69090)
OrdersTest:test_fill_both() (gas: 169814)
Expand All @@ -17,7 +17,7 @@ OrdersTest:test_orderExpired() (gas: 28383)
OrdersTest:test_sweepERC20() (gas: 60695)
OrdersTest:test_sweepETH() (gas: 83379)
OrdersTest:test_underflowETH() (gas: 63976)
PassagePermit2Test:test_disallowedEnterPermit2() (gas: 689028)
PassagePermit2Test:test_disallowedEnterPermit2() (gas: 691528)
PassagePermit2Test:test_enterTokenPermit2() (gas: 144090)
PassageTest:test_configureEnter() (gas: 128735)
PassageTest:test_disallowedEnter() (gas: 57503)
Expand Down
2 changes: 1 addition & 1 deletion lib/simple-erc20
4 changes: 2 additions & 2 deletions script/ZenithL2.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ contract L2Script is Script {
rollupOrders = address(new RollupOrders{salt: "zenith.rollupOrders"}(PERMIT2));

// deploy simple erc20 tokens
wbtc = address(new SimpleERC20{salt: "zenith.wbtc"}(MINTER, "Wrapped BTC", "WBTC"));
usdt = address(new SimpleERC20{salt: "zenith.usdt"}(MINTER, "Tether USD", "USDT"));
wbtc = address(new SimpleERC20{salt: "zenith.wbtc"}(MINTER, "Wrapped BTC", "WBTC", 8));
usdt = address(new SimpleERC20{salt: "zenith.usdt"}(MINTER, "Tether USD", "USDT", 6));
}
}

Expand Down

0 comments on commit 1eeb14a

Please sign in to comment.