From 3e232b420519c1f87ef974168baa29f58e61d39f Mon Sep 17 00:00:00 2001 From: Anna Carroll Date: Mon, 25 Nov 2024 15:03:06 -0800 Subject: [PATCH 1/3] fix: specify decimals for WBTC and USDT --- script/ZenithL2.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/ZenithL2.s.sol b/script/ZenithL2.s.sol index a6d8452..4e59112 100644 --- a/script/ZenithL2.s.sol +++ b/script/ZenithL2.s.sol @@ -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)); } } From c79e53a220bc8ba3fdcdefc9b36786e39c0ad365 Mon Sep 17 00:00:00 2001 From: Anna Carroll Date: Mon, 25 Nov 2024 15:03:28 -0800 Subject: [PATCH 2/3] forge install: simple-erc20 f5c2597ec179ea13e219ccbca415dc59d5a33398 --- lib/simple-erc20 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple-erc20 b/lib/simple-erc20 index 36523ad..f5c2597 160000 --- a/lib/simple-erc20 +++ b/lib/simple-erc20 @@ -1 +1 @@ -Subproject commit 36523ad1733fdf17ae06c11b2b273bcd0f577d0d +Subproject commit f5c2597ec179ea13e219ccbca415dc59d5a33398 From f407bd515f7f96ce3c486199ce231607b37b2a9d Mon Sep 17 00:00:00 2001 From: Anna Carroll Date: Mon, 25 Nov 2024 15:04:29 -0800 Subject: [PATCH 3/3] snapshot --- .gas-snapshot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index 536845e..3d48285 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -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) @@ -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)