@layerzerolabs/oft-upgradeable-evm-contracts 0.2.80 → 0.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-test.log +121 -121
- package/package.json +11 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
13
13
|
🔧 hardhat version: 2.26.3
|
|
14
14
|
$ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
15
|
-
(node:
|
|
15
|
+
(node:46925) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
|
|
16
16
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
17
17
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
18
18
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
@@ -70,7 +70,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
Successfully compiled 76 Solidity files
|
|
73
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 12.
|
|
73
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 12.902s
|
|
74
74
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
75
75
|
|
|
76
76
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -80,7 +80,7 @@ Successfully compiled 76 Solidity files
|
|
|
80
80
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
81
81
|
🔧 hardhat version: 2.26.3
|
|
82
82
|
$ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
83
|
-
(node:
|
|
83
|
+
(node:50444) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
|
|
84
84
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
85
85
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
86
86
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
@@ -92,7 +92,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
|
|
|
92
92
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
93
93
|
Compiling 76 Solidity files
|
|
94
94
|
Successfully compiled 76 Solidity files
|
|
95
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:
|
|
95
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:21.855 (m:ss.mmm)
|
|
96
96
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
97
97
|
|
|
98
98
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -102,7 +102,7 @@ Successfully compiled 76 Solidity files
|
|
|
102
102
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
103
103
|
🔧 hardhat version: 2.26.3
|
|
104
104
|
$ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
105
|
-
(node:
|
|
105
|
+
(node:83037) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
|
|
106
106
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
107
107
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
108
108
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
@@ -163,4 +163,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
Successfully compiled 76 Solidity files
|
|
166
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet:
|
|
166
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 39.660s
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
6
6
|
🔧 forge version: 1.3.6
|
|
7
7
|
$ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
8
|
-
(node:
|
|
8
|
+
(node:80698) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
|
|
9
9
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
10
10
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
11
11
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
@@ -13,63 +13,21 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
|
|
|
13
13
|
👤 Running container as UID:GID 1001:1001
|
|
14
14
|
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /home/runner/work/monorepo-internal/monorepo-internal:/workspace -w /workspace/apps/oft-app/contracts/evm/upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 forge test
|
|
15
15
|
Compiling 185 files with Solc 0.8.22
|
|
16
|
-
Solc 0.8.22 finished in
|
|
16
|
+
Solc 0.8.22 finished in 43.51s
|
|
17
17
|
Compiler run successful!
|
|
18
18
|
|
|
19
|
-
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
20
|
-
[PASS] test_approvalRequired() (gas: 13426)
|
|
21
|
-
[PASS] test_credit() (gas: 62369)
|
|
22
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65979, ~: 65954)
|
|
23
|
-
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
24
|
-
[PASS] test_debit() (gas: 36831)
|
|
25
|
-
[PASS] test_debit_Dust() (gas: 76272)
|
|
26
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79471, ~: 79886)
|
|
27
|
-
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
28
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
29
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
30
|
-
[PASS] test_debit_WithFee() (gas: 101145)
|
|
31
|
-
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
32
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105855, ~: 107585)
|
|
33
|
-
[PASS] test_initialize() (gas: 22406)
|
|
34
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
35
|
-
[PASS] test_pause_unpause() (gas: 61117)
|
|
36
|
-
[PASS] test_quoteOFT() (gas: 70779)
|
|
37
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
|
|
38
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
|
|
39
|
-
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
40
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
41
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
42
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137865, ~: 137703)
|
|
43
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
44
|
-
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
45
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
46
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
|
|
47
|
-
[PASS] test_send() (gas: 352734)
|
|
48
|
-
[PASS] test_send_PushesFees() (gas: 415282)
|
|
49
|
-
[PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
|
|
50
|
-
[PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
|
|
51
|
-
[PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
|
|
52
|
-
[PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
|
|
53
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 221169)
|
|
54
|
-
[PASS] test_send_WithFee() (gas: 415240)
|
|
55
|
-
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
56
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
57
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
|
|
58
|
-
[PASS] test_token() (gas: 13483)
|
|
59
|
-
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 1.12s (2.78s CPU time)
|
|
60
|
-
|
|
61
19
|
Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
|
|
62
20
|
[PASS] test_credit() (gas: 91882)
|
|
63
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
21
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95171, ~: 95314)
|
|
64
22
|
[PASS] test_debit() (gas: 113036)
|
|
65
23
|
[PASS] test_debit_Dust() (gas: 137551)
|
|
66
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
24
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139960, ~: 140423)
|
|
67
25
|
[PASS] test_debit_PushesFees() (gas: 163342)
|
|
68
26
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
|
|
69
27
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
|
|
70
28
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
71
29
|
[PASS] test_debit_WithFee_Dust() (gas: 163430)
|
|
72
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
30
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163348, ~: 162567)
|
|
73
31
|
[PASS] test_initialize() (gas: 24656)
|
|
74
32
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
75
33
|
[PASS] test_pause_unpause() (gas: 145524)
|
|
@@ -79,7 +37,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
79
37
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
80
38
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
|
|
81
39
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
|
|
82
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
40
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198103, ~: 197912)
|
|
83
41
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
|
|
84
42
|
[PASS] test_rateLimit_Inflow() (gas: 132710)
|
|
85
43
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
|
|
@@ -90,21 +48,21 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
90
48
|
[PASS] test_send_WithFee() (gas: 516566)
|
|
91
49
|
[PASS] test_setFeeDeposit() (gas: 28423)
|
|
92
50
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
93
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
94
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
51
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38930, ~: 39012)
|
|
52
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 491.21ms (1.31s CPU time)
|
|
95
53
|
|
|
96
54
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
97
55
|
[PASS] test_credit() (gas: 89874)
|
|
98
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
56
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93307, ~: 93306)
|
|
99
57
|
[PASS] test_debit() (gas: 98332)
|
|
100
58
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
101
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
59
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142865, ~: 143477)
|
|
102
60
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
103
61
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
104
62
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
105
63
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
106
64
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
107
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
65
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168397, ~: 171220)
|
|
108
66
|
[PASS] test_initialize() (gas: 24722)
|
|
109
67
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
110
68
|
[PASS] test_pause_unpause() (gas: 130472)
|
|
@@ -114,7 +72,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
114
72
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
115
73
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
|
|
116
74
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
117
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
75
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200488, ~: 200309)
|
|
118
76
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
119
77
|
[PASS] test_rateLimit_Inflow() (gas: 108739)
|
|
120
78
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -124,55 +82,21 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
124
82
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
125
83
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
126
84
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
127
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
|
|
128
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.15s (3.58s CPU time)
|
|
129
|
-
|
|
130
|
-
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
131
|
-
[PASS] test_credit() (gas: 89871)
|
|
132
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93029, ~: 93303)
|
|
133
|
-
[PASS] test_debit() (gas: 98327)
|
|
134
|
-
[PASS] test_debit_Dust() (gas: 139747)
|
|
135
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142629, ~: 143461)
|
|
136
|
-
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
137
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
138
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
139
|
-
[PASS] test_debit_WithFee() (gas: 165270)
|
|
140
|
-
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
141
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169406, ~: 171204)
|
|
142
|
-
[PASS] test_initialize() (gas: 24722)
|
|
143
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
144
|
-
[PASS] test_pause_unpause() (gas: 130467)
|
|
145
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
146
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
147
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
148
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
149
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
|
|
150
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
|
|
151
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200494, ~: 200299)
|
|
152
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
153
|
-
[PASS] test_rateLimit_Inflow() (gas: 108736)
|
|
154
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
155
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
|
|
156
|
-
[PASS] test_send() (gas: 400518)
|
|
157
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 308871)
|
|
158
|
-
[PASS] test_send_WithFee() (gas: 477338)
|
|
159
|
-
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
160
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
161
85
|
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38875, ~: 38967)
|
|
162
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
86
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 530.06ms (1.40s CPU time)
|
|
163
87
|
|
|
164
88
|
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
165
89
|
[PASS] test_credit() (gas: 89871)
|
|
166
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
90
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93175, ~: 93303)
|
|
167
91
|
[PASS] test_debit() (gas: 98327)
|
|
168
92
|
[PASS] test_debit_Dust() (gas: 141836)
|
|
169
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
93
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144551, ~: 145461)
|
|
170
94
|
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
171
95
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
172
96
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
173
97
|
[PASS] test_debit_WithFee() (gas: 165270)
|
|
174
98
|
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
175
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
99
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170762, ~: 173204)
|
|
176
100
|
[PASS] test_initialize() (gas: 24700)
|
|
177
101
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
178
102
|
[PASS] test_pause_unpause() (gas: 132067)
|
|
@@ -182,7 +106,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
182
106
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
183
107
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
184
108
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
185
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
109
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202479, ~: 202299)
|
|
186
110
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
187
111
|
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
188
112
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -193,22 +117,56 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
193
117
|
[PASS] test_send_WithFee() (gas: 493959)
|
|
194
118
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
195
119
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
196
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
197
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
120
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38935, ~: 39034)
|
|
121
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 547.41ms (1.24s CPU time)
|
|
122
|
+
|
|
123
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
124
|
+
[PASS] test_credit() (gas: 89871)
|
|
125
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93215, ~: 93303)
|
|
126
|
+
[PASS] test_debit() (gas: 98327)
|
|
127
|
+
[PASS] test_debit_Dust() (gas: 139747)
|
|
128
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143001, ~: 143461)
|
|
129
|
+
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
130
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
131
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
132
|
+
[PASS] test_debit_WithFee() (gas: 165270)
|
|
133
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
134
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169036, ~: 171204)
|
|
135
|
+
[PASS] test_initialize() (gas: 24722)
|
|
136
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
137
|
+
[PASS] test_pause_unpause() (gas: 130467)
|
|
138
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
139
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
140
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
141
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
142
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
|
|
143
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
|
|
144
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200498, ~: 200299)
|
|
145
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
146
|
+
[PASS] test_rateLimit_Inflow() (gas: 108736)
|
|
147
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
148
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
|
|
149
|
+
[PASS] test_send() (gas: 400518)
|
|
150
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308871)
|
|
151
|
+
[PASS] test_send_WithFee() (gas: 477338)
|
|
152
|
+
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
153
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
154
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38866, ~: 38967)
|
|
155
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.30ms (1.59s CPU time)
|
|
198
156
|
|
|
199
157
|
Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
|
|
200
158
|
[PASS] test_credit() (gas: 89873)
|
|
201
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
159
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93020, ~: 93305)
|
|
202
160
|
[PASS] test_debit() (gas: 120710)
|
|
203
161
|
[PASS] test_debit_Dust() (gas: 143616)
|
|
204
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
162
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145732, ~: 146486)
|
|
205
163
|
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
206
164
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
207
165
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
208
166
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
209
167
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
210
168
|
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
211
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
169
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166880, ~: 168645)
|
|
212
170
|
[PASS] test_initialize() (gas: 24700)
|
|
213
171
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
214
172
|
[PASS] test_pause_unpause() (gas: 151598)
|
|
@@ -218,7 +176,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
|
|
|
218
176
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
219
177
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
220
178
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
221
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
179
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192065, ~: 191921)
|
|
222
180
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
223
181
|
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
224
182
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -228,21 +186,21 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
|
|
|
228
186
|
[PASS] test_send_WithFee() (gas: 462592)
|
|
229
187
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
230
188
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
231
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
232
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
189
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
|
|
190
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 580.39ms (1.92s CPU time)
|
|
233
191
|
|
|
234
192
|
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
235
193
|
[PASS] test_credit() (gas: 89882)
|
|
236
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
194
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93371, ~: 93314)
|
|
237
195
|
[PASS] test_debit() (gas: 113036)
|
|
238
196
|
[PASS] test_debit_Dust() (gas: 135880)
|
|
239
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
197
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137950, ~: 138823)
|
|
240
198
|
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
241
199
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
242
200
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
243
201
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
244
202
|
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
245
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
203
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161696, ~: 160967)
|
|
246
204
|
[PASS] test_initialize() (gas: 24678)
|
|
247
205
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
248
206
|
[PASS] test_pause_unpause() (gas: 143924)
|
|
@@ -252,7 +210,7 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
|
|
|
252
210
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
253
211
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
254
212
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
255
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
213
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196100, ~: 195912)
|
|
256
214
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
257
215
|
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
258
216
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
@@ -262,21 +220,63 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
|
|
|
262
220
|
[PASS] test_send_WithFee() (gas: 474453)
|
|
263
221
|
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
264
222
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
265
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
266
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
223
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38801, ~: 38945)
|
|
224
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.35ms (1.76s CPU time)
|
|
225
|
+
|
|
226
|
+
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
227
|
+
[PASS] test_approvalRequired() (gas: 13426)
|
|
228
|
+
[PASS] test_credit() (gas: 62369)
|
|
229
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65794, ~: 65954)
|
|
230
|
+
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
231
|
+
[PASS] test_debit() (gas: 36831)
|
|
232
|
+
[PASS] test_debit_Dust() (gas: 76272)
|
|
233
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79800, ~: 79886)
|
|
234
|
+
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
235
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
236
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
237
|
+
[PASS] test_debit_WithFee() (gas: 101145)
|
|
238
|
+
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
239
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105460, ~: 107585)
|
|
240
|
+
[PASS] test_initialize() (gas: 22406)
|
|
241
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
242
|
+
[PASS] test_pause_unpause() (gas: 61117)
|
|
243
|
+
[PASS] test_quoteOFT() (gas: 70779)
|
|
244
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
|
|
245
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
|
|
246
|
+
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
247
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
248
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
249
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137884, ~: 137703)
|
|
250
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
251
|
+
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
252
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
253
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
|
|
254
|
+
[PASS] test_send() (gas: 352734)
|
|
255
|
+
[PASS] test_send_PushesFees() (gas: 415282)
|
|
256
|
+
[PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
|
|
257
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
|
|
258
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
|
|
259
|
+
[PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
|
|
260
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 221169)
|
|
261
|
+
[PASS] test_send_WithFee() (gas: 415240)
|
|
262
|
+
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
263
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
264
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38934, ~: 39011)
|
|
265
|
+
[PASS] test_token() (gas: 13483)
|
|
266
|
+
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 580.43ms (1.12s CPU time)
|
|
267
267
|
|
|
268
268
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
|
|
269
269
|
[PASS] test_credit() (gas: 89907)
|
|
270
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
270
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93018, ~: 93339)
|
|
271
271
|
[PASS] test_debit() (gas: 98305)
|
|
272
272
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
273
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
273
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142840, ~: 143477)
|
|
274
274
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
275
275
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
276
276
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
277
277
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
278
278
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
279
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
279
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169143, ~: 171220)
|
|
280
280
|
[PASS] test_initialize() (gas: 24722)
|
|
281
281
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
282
282
|
[PASS] test_pause_unpause() (gas: 130445)
|
|
@@ -286,7 +286,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
|
|
|
286
286
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
287
287
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
288
288
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
289
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
289
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200502, ~: 200315)
|
|
290
290
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
291
291
|
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
292
292
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -296,22 +296,22 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
|
|
|
296
296
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
297
297
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
298
298
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
299
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
300
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
299
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
|
|
300
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.54ms (1.44s CPU time)
|
|
301
301
|
|
|
302
302
|
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
303
303
|
[PASS] test_credit() (gas: 89873)
|
|
304
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
304
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93062, ~: 93305)
|
|
305
305
|
[PASS] test_debit() (gas: 120710)
|
|
306
306
|
[PASS] test_debit_Dust() (gas: 145216)
|
|
307
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
307
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146923, ~: 148086)
|
|
308
308
|
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
309
309
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
310
310
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
311
311
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
312
312
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
313
313
|
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
314
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
314
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168458, ~: 170245)
|
|
315
315
|
[PASS] test_initialize() (gas: 24700)
|
|
316
316
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
317
317
|
[PASS] test_pause_unpause() (gas: 153198)
|
|
@@ -321,7 +321,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
321
321
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
322
322
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
323
323
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
324
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
324
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193667, ~: 193521)
|
|
325
325
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
326
326
|
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
327
327
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -332,8 +332,8 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
332
332
|
[PASS] test_send_WithFee() (gas: 504694)
|
|
333
333
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
334
334
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
335
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
336
|
-
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in
|
|
335
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38904, ~: 39034)
|
|
336
|
+
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 580.46ms (1.62s CPU time)
|
|
337
337
|
|
|
338
|
-
Ran 9 test suites in
|
|
339
|
-
⏳ forge test:
|
|
338
|
+
Ran 9 test suites in 754.59ms (5.05s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
|
|
339
|
+
⏳ forge test: 47.090s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-upgradeable-evm-contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.82",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM upgradeable OFT implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"@openzeppelin/contracts-upgradeable": "^5.0.2",
|
|
15
15
|
"ethers": "^5.8.0",
|
|
16
16
|
"solhint": "^6.0.1",
|
|
17
|
-
"@layerzerolabs/
|
|
18
|
-
"@layerzerolabs/oapp-evm-contracts": "0.2.
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/
|
|
23
|
-
"@layerzerolabs/
|
|
24
|
-
"@layerzerolabs/
|
|
25
|
-
"@layerzerolabs/utils-
|
|
26
|
-
"@layerzerolabs/vm-tooling-evm": "0.2.
|
|
17
|
+
"@layerzerolabs/solhint-configuration": "0.2.82",
|
|
18
|
+
"@layerzerolabs/oapp-evm-contracts": "0.2.82",
|
|
19
|
+
"@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.82",
|
|
20
|
+
"@layerzerolabs/oft-evm-contracts": "0.2.82",
|
|
21
|
+
"@layerzerolabs/test-utils-evm-contracts": "0.2.82",
|
|
22
|
+
"@layerzerolabs/tsup-configuration": "0.2.82",
|
|
23
|
+
"@layerzerolabs/typescript-configuration": "0.2.82",
|
|
24
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.82",
|
|
25
|
+
"@layerzerolabs/utils-evm-contracts": "0.2.82",
|
|
26
|
+
"@layerzerolabs/vm-tooling-evm": "0.2.82"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public",
|