@layerzerolabs/oft-upgradeable-evm-contracts 0.2.108 → 0.2.110

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.
@@ -12,12 +12,12 @@
12
12
  ✅ forge-1.3.6-hardhat-2.26.3
13
13
  🔧 hardhat version: 2.26.3
14
14
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- (node:45999) [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.
15
+ (node:154402) [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)
19
19
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
20
- $ docker container rm 4a20d1c5cabf79264d35af1b817a3fbeeaf311bdb9f0ababfcdb7a6fe09fc2b2
20
+ $ docker container rm 8d6ccfdac9a843a5fe37b3df5e5be7eb40b82244754b8226540f1e93fe262b75
21
21
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
22
22
  👤 Running container as UID:GID 1001:1001
23
23
  🌍 Using 1 custom environment variable(s)
@@ -73,7 +73,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
73
73
 
74
74
 
75
75
  Successfully compiled 76 Solidity files
76
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.149s
76
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.175s
77
77
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
78
78
 
79
79
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -83,12 +83,12 @@ Successfully compiled 76 Solidity files
83
83
  ✅ forge-1.3.6-hardhat-2.26.3
84
84
  🔧 hardhat version: 2.26.3
85
85
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
86
- (node:48487) [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.
86
+ (node:155228) [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.
87
87
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
88
88
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
89
89
  (Use `node --trace-warnings ...` to show where the warning was created)
90
90
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
91
- $ docker container rm 8cff310cf70587e8d237eece4d090af72cf17cf95016e2d8bf2813b64999f232
91
+ $ docker container rm 75a99feb480ea48d27c2d88bd6362be1b67446aa06d794e5e4058b4843f5b1a9
92
92
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
93
93
  👤 Running container as UID:GID 1001:1001
94
94
  🌍 Using 1 custom environment variable(s)
@@ -98,7 +98,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
98
98
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
99
99
  Compiling 76 Solidity files
100
100
  Successfully compiled 76 Solidity files
101
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:21.556 (m:ss.mmm)
101
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:25.930 (m:ss.mmm)
102
102
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
103
103
 
104
104
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -108,19 +108,19 @@ Successfully compiled 76 Solidity files
108
108
  ✅ forge-1.3.6-hardhat-2.26.3
109
109
  🔧 hardhat version: 2.26.3
110
110
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
111
- (node:71624) [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.
111
+ (node:163578) [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.
112
112
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
113
113
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
114
114
  (Use `node --trace-warnings ...` to show where the warning was created)
115
115
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
116
- $ docker container rm fc1e7de0646fa4a8a27f40256900d1a3f61166b6c3ecdf57fb91b625787b8f9a
116
+ $ docker container rm 736fa0a2c4f6a1a56d98d69cbdbab0eec0d58b58102b4984a6529872506da54f
117
117
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
118
118
  👤 Running container as UID:GID 1001:1001
119
119
  🌍 Using 1 custom environment variable(s)
120
120
  $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -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 hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
121
121
  detected tron network, replacing deployments extension with custom one
122
- Tron-solc v0.8.23 is unknown version, attempting anyway...
123
122
  Compiling contracts with tron solc v0.8.23
123
+ Tron-solc v0.8.23 is unknown version, attempting anyway...
124
124
  Compiling 76 Solidity files
125
125
  Warning: Contract code size is 29971 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
126
126
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -172,4 +172,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
172
172
 
173
173
 
174
174
  Successfully compiled 76 Solidity files
175
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 36.690s
175
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.458s
@@ -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 {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
8
- (node:212808) [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.
8
+ (node:398289) [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,21 +13,91 @@ 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 57.16s
16
+ Solc 0.8.22 finished in 48.09s
17
17
  Compiler run successful!
18
18
 
19
+ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
20
+ [PASS] test_credit() (gas: 89873)
21
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92958, ~: 93305)
22
+ [PASS] test_debit() (gas: 120710)
23
+ [PASS] test_debit_Dust() (gas: 145216)
24
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147618, ~: 148086)
25
+ [PASS] test_debit_PushesFees() (gas: 165984)
26
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
27
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
28
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
29
+ [PASS] test_debit_WithFee() (gas: 166449)
30
+ [PASS] test_debit_WithFee_Dust() (gas: 166055)
31
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168411, ~: 170245)
32
+ [PASS] test_initialize() (gas: 24700)
33
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
34
+ [PASS] test_pause_unpause() (gas: 153198)
35
+ [PASS] test_quoteOFT() (gas: 70712)
36
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
37
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
38
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
39
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
40
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
41
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193676, ~: 193521)
42
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
43
+ [PASS] test_rateLimit_Inflow() (gas: 108826)
44
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
45
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
46
+ [PASS] test_send() (gas: 456534)
47
+ [PASS] test_send_Revert_MsgInspection() (gas: 337267)
48
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
49
+ [PASS] test_send_WithFee() (gas: 504694)
50
+ [PASS] test_setFeeDeposit() (gas: 28445)
51
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
52
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
53
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 960.19ms (3.01s CPU time)
54
+
55
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
56
+ [PASS] test_credit() (gas: 89874)
57
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93156, ~: 93306)
58
+ [PASS] test_debit() (gas: 98332)
59
+ [PASS] test_debit_Dust() (gas: 139763)
60
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142484, ~: 143477)
61
+ [PASS] test_debit_PushesFees() (gas: 165812)
62
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
63
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
64
+ [PASS] test_debit_WithFee() (gas: 165286)
65
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
66
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169271, ~: 171220)
67
+ [PASS] test_initialize() (gas: 24722)
68
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
69
+ [PASS] test_pause_unpause() (gas: 130472)
70
+ [PASS] test_quoteOFT() (gas: 70712)
71
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
72
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
73
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
74
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
75
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
76
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200510, ~: 200315)
77
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
78
+ [PASS] test_rateLimit_Inflow() (gas: 108739)
79
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
80
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
81
+ [PASS] test_send() (gas: 400527)
82
+ [PASS] test_send_Revert_MsgInspection() (gas: 308880)
83
+ [PASS] test_send_WithFee() (gas: 477358)
84
+ [PASS] test_setFeeDeposit() (gas: 28359)
85
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
86
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
87
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 993.54ms (2.94s CPU time)
88
+
19
89
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
20
90
  [PASS] test_credit() (gas: 91882)
21
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94912, ~: 95314)
91
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94921, ~: 95314)
22
92
  [PASS] test_debit() (gas: 113036)
23
93
  [PASS] test_debit_Dust() (gas: 137551)
24
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140315, ~: 140423)
94
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139958, ~: 140423)
25
95
  [PASS] test_debit_PushesFees() (gas: 163342)
26
96
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
27
97
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
28
98
  [PASS] test_debit_WithFee() (gas: 163924)
29
99
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
30
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163608, ~: 162567)
100
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163872, ~: 162567)
31
101
  [PASS] test_initialize() (gas: 24656)
32
102
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
33
103
  [PASS] test_pause_unpause() (gas: 145524)
@@ -37,7 +107,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
37
107
  [PASS] test_quoteOFT_Paused() (gas: 56637)
38
108
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
39
109
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
40
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198097, ~: 197912)
110
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198099, ~: 197912)
41
111
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
42
112
  [PASS] test_rateLimit_Inflow() (gas: 132710)
43
113
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -48,21 +118,97 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
48
118
  [PASS] test_send_WithFee() (gas: 516566)
49
119
  [PASS] test_setFeeDeposit() (gas: 28423)
50
120
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
51
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38930, ~: 39012)
52
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 681.55ms (2.56s CPU time)
121
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38925, ~: 39012)
122
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.02s (3.01s CPU time)
123
+
124
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
125
+ [PASS] test_approvalRequired() (gas: 13426)
126
+ [PASS] test_credit() (gas: 62369)
127
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65890, ~: 65954)
128
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
129
+ [PASS] test_debit() (gas: 36831)
130
+ [PASS] test_debit_Dust() (gas: 76272)
131
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79513, ~: 79886)
132
+ [PASS] test_debit_PushesFees() (gas: 101339)
133
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
134
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
135
+ [PASS] test_debit_WithFee() (gas: 101145)
136
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
137
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105988, ~: 107585)
138
+ [PASS] test_initialize() (gas: 22406)
139
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
140
+ [PASS] test_pause_unpause() (gas: 61117)
141
+ [PASS] test_quoteOFT() (gas: 70779)
142
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
143
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
144
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
145
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
146
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
147
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137881, ~: 137703)
148
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
149
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
150
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
151
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
152
+ [PASS] test_send() (gas: 352734)
153
+ [PASS] test_send_PushesFees() (gas: 415282)
154
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
155
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
156
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
157
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
158
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
159
+ [PASS] test_send_WithFee() (gas: 415240)
160
+ [PASS] test_setFeeDeposit() (gas: 28425)
161
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
162
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
163
+ [PASS] test_token() (gas: 13483)
164
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 1.05s (2.38s CPU time)
165
+
166
+ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
167
+ [PASS] test_credit() (gas: 89882)
168
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93086, ~: 93314)
169
+ [PASS] test_debit() (gas: 113036)
170
+ [PASS] test_debit_Dust() (gas: 135880)
171
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138492, ~: 138823)
172
+ [PASS] test_debit_PushesFees() (gas: 161342)
173
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
174
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
175
+ [PASS] test_debit_WithFee() (gas: 163924)
176
+ [PASS] test_debit_WithFee_Dust() (gas: 161430)
177
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161547, ~: 160967)
178
+ [PASS] test_initialize() (gas: 24678)
179
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
180
+ [PASS] test_pause_unpause() (gas: 143924)
181
+ [PASS] test_quoteOFT() (gas: 70757)
182
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
183
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
184
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
185
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
186
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
187
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196097, ~: 195912)
188
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
189
+ [PASS] test_rateLimit_Inflow() (gas: 130622)
190
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
191
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
192
+ [PASS] test_send() (gas: 418929)
193
+ [PASS] test_send_Revert_MsgInspection() (gas: 325718)
194
+ [PASS] test_send_WithFee() (gas: 474453)
195
+ [PASS] test_setFeeDeposit() (gas: 28337)
196
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
197
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38858, ~: 38945)
198
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.05s (2.74s CPU time)
53
199
 
54
200
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
55
201
  [PASS] test_credit() (gas: 89871)
56
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93132, ~: 93303)
202
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93088, ~: 93303)
57
203
  [PASS] test_debit() (gas: 98327)
58
204
  [PASS] test_debit_Dust() (gas: 139747)
59
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142570, ~: 143461)
205
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142191, ~: 143461)
60
206
  [PASS] test_debit_PushesFees() (gas: 165796)
61
207
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
62
208
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
63
209
  [PASS] test_debit_WithFee() (gas: 165270)
64
210
  [PASS] test_debit_WithFee_Dust() (gas: 165884)
65
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168865, ~: 171204)
211
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168744, ~: 171204)
66
212
  [PASS] test_initialize() (gas: 24722)
67
213
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
68
214
  [PASS] test_pause_unpause() (gas: 130467)
@@ -72,7 +218,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
72
218
  [PASS] test_quoteOFT_Paused() (gas: 56570)
73
219
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
74
220
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
75
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200499, ~: 200299)
221
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200458, ~: 200293)
76
222
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
77
223
  [PASS] test_rateLimit_Inflow() (gas: 108736)
78
224
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -82,21 +228,21 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
82
228
  [PASS] test_send_WithFee() (gas: 477338)
83
229
  [PASS] test_setFeeDeposit() (gas: 28359)
84
230
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
85
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38875, ~: 38967)
86
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 689.27ms (1.49s CPU time)
231
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38851, ~: 38967)
232
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.10s (3.51s CPU time)
87
233
 
88
234
  Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
89
235
  [PASS] test_credit() (gas: 89871)
90
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93087, ~: 93303)
236
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93235, ~: 93303)
91
237
  [PASS] test_debit() (gas: 98327)
92
238
  [PASS] test_debit_Dust() (gas: 141836)
93
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144585, ~: 145461)
239
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144475, ~: 145461)
94
240
  [PASS] test_debit_PushesFees() (gas: 167796)
95
241
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
96
242
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
97
243
  [PASS] test_debit_WithFee() (gas: 165270)
98
244
  [PASS] test_debit_WithFee_Dust() (gas: 167884)
99
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170401, ~: 173204)
245
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171114, ~: 173204)
100
246
  [PASS] test_initialize() (gas: 24700)
101
247
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
102
248
  [PASS] test_pause_unpause() (gas: 132067)
@@ -106,7 +252,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
106
252
  [PASS] test_quoteOFT_Paused() (gas: 56570)
107
253
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
108
254
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
109
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202476, ~: 202299)
255
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202489, ~: 202299)
110
256
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
111
257
  [PASS] test_rateLimit_Inflow() (gas: 108824)
112
258
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -117,21 +263,21 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
117
263
  [PASS] test_send_WithFee() (gas: 493959)
118
264
  [PASS] test_setFeeDeposit() (gas: 28445)
119
265
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
120
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38966, ~: 39034)
121
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 745.42ms (1.53s CPU time)
266
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
267
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.11s (2.73s CPU time)
122
268
 
123
269
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
124
270
  [PASS] test_credit() (gas: 89907)
125
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93255, ~: 93339)
271
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93126, ~: 93339)
126
272
  [PASS] test_debit() (gas: 98305)
127
273
  [PASS] test_debit_Dust() (gas: 139763)
128
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142593, ~: 143477)
274
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142570, ~: 143477)
129
275
  [PASS] test_debit_PushesFees() (gas: 165812)
130
276
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
131
277
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
132
278
  [PASS] test_debit_WithFee() (gas: 165286)
133
279
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
134
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168799, ~: 171220)
280
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169389, ~: 171220)
135
281
  [PASS] test_initialize() (gas: 24722)
136
282
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
137
283
  [PASS] test_pause_unpause() (gas: 130445)
@@ -141,7 +287,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
141
287
  [PASS] test_quoteOFT_Paused() (gas: 56570)
142
288
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
143
289
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
144
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200478, ~: 200315)
290
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200488, ~: 200315)
145
291
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
146
292
  [PASS] test_rateLimit_Inflow() (gas: 108772)
147
293
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -151,90 +297,22 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
151
297
  [PASS] test_send_WithFee() (gas: 477358)
152
298
  [PASS] test_setFeeDeposit() (gas: 28359)
153
299
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
154
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38885, ~: 38967)
155
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 864.07ms (1.96s CPU time)
156
-
157
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
158
- [PASS] test_credit() (gas: 89874)
159
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93103, ~: 93306)
160
- [PASS] test_debit() (gas: 98332)
161
- [PASS] test_debit_Dust() (gas: 139763)
162
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142572, ~: 143477)
163
- [PASS] test_debit_PushesFees() (gas: 165812)
164
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
165
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
166
- [PASS] test_debit_WithFee() (gas: 165286)
167
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
168
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168850, ~: 171220)
169
- [PASS] test_initialize() (gas: 24722)
170
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
171
- [PASS] test_pause_unpause() (gas: 130472)
172
- [PASS] test_quoteOFT() (gas: 70712)
173
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
174
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
175
- [PASS] test_quoteOFT_Paused() (gas: 56570)
176
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
177
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
178
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200526, ~: 200315)
179
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
180
- [PASS] test_rateLimit_Inflow() (gas: 108739)
181
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
182
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
183
- [PASS] test_send() (gas: 400527)
184
- [PASS] test_send_Revert_MsgInspection() (gas: 308880)
185
- [PASS] test_send_WithFee() (gas: 477358)
186
- [PASS] test_setFeeDeposit() (gas: 28359)
187
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
188
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38909, ~: 38967)
189
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 864.25ms (2.03s CPU time)
190
-
191
- Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
192
- [PASS] test_credit() (gas: 89882)
193
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93254, ~: 93314)
194
- [PASS] test_debit() (gas: 113036)
195
- [PASS] test_debit_Dust() (gas: 135880)
196
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138300, ~: 139029)
197
- [PASS] test_debit_PushesFees() (gas: 161342)
198
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
199
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
200
- [PASS] test_debit_WithFee() (gas: 163924)
201
- [PASS] test_debit_WithFee_Dust() (gas: 161430)
202
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161289, ~: 160967)
203
- [PASS] test_initialize() (gas: 24678)
204
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
205
- [PASS] test_pause_unpause() (gas: 143924)
206
- [PASS] test_quoteOFT() (gas: 70757)
207
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
208
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
209
- [PASS] test_quoteOFT_Paused() (gas: 56637)
210
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
211
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
212
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196102, ~: 195912)
213
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
214
- [PASS] test_rateLimit_Inflow() (gas: 130622)
215
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
216
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
217
- [PASS] test_send() (gas: 418929)
218
- [PASS] test_send_Revert_MsgInspection() (gas: 325718)
219
- [PASS] test_send_WithFee() (gas: 474453)
220
- [PASS] test_setFeeDeposit() (gas: 28337)
221
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
222
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38839, ~: 38945)
223
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 864.18ms (1.58s CPU time)
300
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38879, ~: 38967)
301
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.14s (2.65s CPU time)
224
302
 
225
303
  Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
226
304
  [PASS] test_credit() (gas: 89873)
227
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92900, ~: 93305)
305
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92857, ~: 93305)
228
306
  [PASS] test_debit() (gas: 120710)
229
307
  [PASS] test_debit_Dust() (gas: 143616)
230
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146307, ~: 146486)
308
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145653, ~: 146486)
231
309
  [PASS] test_debit_PushesFees() (gas: 164384)
232
310
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
233
311
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
234
312
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
235
313
  [PASS] test_debit_WithFee() (gas: 166449)
236
314
  [PASS] test_debit_WithFee_Dust() (gas: 164455)
237
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166846, ~: 168645)
315
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166986, ~: 168645)
238
316
  [PASS] test_initialize() (gas: 24700)
239
317
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
240
318
  [PASS] test_pause_unpause() (gas: 151598)
@@ -244,7 +322,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
244
322
  [PASS] test_quoteOFT_Paused() (gas: 56570)
245
323
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
246
324
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
247
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192048, ~: 191921)
325
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192058, ~: 191921)
248
326
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
249
327
  [PASS] test_rateLimit_Inflow() (gas: 108738)
250
328
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -254,86 +332,8 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
254
332
  [PASS] test_send_WithFee() (gas: 462592)
255
333
  [PASS] test_setFeeDeposit() (gas: 28445)
256
334
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
257
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
258
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 871.36ms (2.63s CPU time)
259
-
260
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
261
- [PASS] test_approvalRequired() (gas: 13426)
262
- [PASS] test_credit() (gas: 62369)
263
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65834, ~: 65954)
264
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
265
- [PASS] test_debit() (gas: 36831)
266
- [PASS] test_debit_Dust() (gas: 76272)
267
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79440, ~: 79886)
268
- [PASS] test_debit_PushesFees() (gas: 101339)
269
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
270
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
271
- [PASS] test_debit_WithFee() (gas: 101145)
272
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
273
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105880, ~: 107585)
274
- [PASS] test_initialize() (gas: 22406)
275
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
276
- [PASS] test_pause_unpause() (gas: 61117)
277
- [PASS] test_quoteOFT() (gas: 70779)
278
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
279
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
280
- [PASS] test_quoteOFT_Paused() (gas: 56703)
281
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
282
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
283
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137886, ~: 137703)
284
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
285
- [PASS] test_rateLimit_Inflow() (gas: 87713)
286
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
287
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
288
- [PASS] test_send() (gas: 352734)
289
- [PASS] test_send_PushesFees() (gas: 415282)
290
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
291
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
292
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
293
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
294
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
295
- [PASS] test_send_WithFee() (gas: 415240)
296
- [PASS] test_setFeeDeposit() (gas: 28425)
297
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
298
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
299
- [PASS] test_token() (gas: 13483)
300
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 871.28ms (1.56s CPU time)
301
-
302
- Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
303
- [PASS] test_credit() (gas: 89873)
304
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93035, ~: 93305)
305
- [PASS] test_debit() (gas: 120710)
306
- [PASS] test_debit_Dust() (gas: 145216)
307
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147243, ~: 148086)
308
- [PASS] test_debit_PushesFees() (gas: 165984)
309
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
310
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
311
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
312
- [PASS] test_debit_WithFee() (gas: 166449)
313
- [PASS] test_debit_WithFee_Dust() (gas: 166055)
314
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168282, ~: 170243)
315
- [PASS] test_initialize() (gas: 24700)
316
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
317
- [PASS] test_pause_unpause() (gas: 153198)
318
- [PASS] test_quoteOFT() (gas: 70712)
319
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
320
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
321
- [PASS] test_quoteOFT_Paused() (gas: 56570)
322
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
323
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
324
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193679, ~: 193521)
325
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
326
- [PASS] test_rateLimit_Inflow() (gas: 108826)
327
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
328
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
329
- [PASS] test_send() (gas: 456534)
330
- [PASS] test_send_Revert_MsgInspection() (gas: 337267)
331
- [PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
332
- [PASS] test_send_WithFee() (gas: 504694)
333
- [PASS] test_setFeeDeposit() (gas: 28445)
334
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
335
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
336
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 895.70ms (2.35s CPU time)
335
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38956, ~: 39034)
336
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.19s (3.64s CPU time)
337
337
 
338
- Ran 9 test suites in 1.13s (7.35s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
- ⏳ forge test: 1:02.391 (m:ss.mmm)
338
+ Ran 9 test suites in 1.37s (9.61s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
+ ⏳ forge test: 52.410s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "0.2.108",
3
+ "version": "0.2.110",
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/oapp-upgradeable-evm-contracts": "0.2.108",
18
- "@layerzerolabs/solhint-configuration": "0.2.108",
19
- "@layerzerolabs/oft-evm-contracts": "0.2.108",
20
- "@layerzerolabs/test-utils-evm-contracts": "0.2.108",
21
- "@layerzerolabs/oapp-evm-contracts": "0.2.108",
22
- "@layerzerolabs/tsup-configuration": "0.2.108",
23
- "@layerzerolabs/utils-evm-contracts": "0.2.108",
24
- "@layerzerolabs/typescript-configuration": "0.2.108",
25
- "@layerzerolabs/vm-tooling-evm": "0.2.108",
26
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.108"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.110",
18
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.110",
19
+ "@layerzerolabs/solhint-configuration": "0.2.110",
20
+ "@layerzerolabs/oft-evm-contracts": "0.2.110",
21
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.110",
22
+ "@layerzerolabs/tsup-configuration": "0.2.110",
23
+ "@layerzerolabs/typescript-configuration": "0.2.110",
24
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.110",
25
+ "@layerzerolabs/utils-evm-contracts": "0.2.110",
26
+ "@layerzerolabs/vm-tooling-evm": "0.2.110"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public",