@layerzerolabs/oft-upgradeable-evm-contracts 0.2.112 → 0.2.113

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:261492) [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:250979) [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 24f0dc34c77149e4fe9b2a536f2d067d804df6d29696d1e848adda74966dc127
20
+ $ docker container rm d7a3044809e5c4f38845b770862f7032d22dbe6a524bc194587029c17e972d95
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: 12.906s
76
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.642s
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:265633) [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:255061) [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 36e085bd5e012a0597007e23443aa01d607aa9a8a9b42e3213209d5de0e50239
91
+ $ docker container rm bd7964d0a0733e4f09c44201151204a784301db7f3a593323f1cadae0990d215
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:24.777 (m:ss.mmm)
101
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:33.852 (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,12 +108,12 @@ 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:297148) [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:288748) [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 1a49579d8be6cfc83349b635f7976e505b3303a73f6b3a554eda8dcc05e6f7b1
116
+ $ docker container rm 2356d50fa45974e6d62b54180877d14d48935cdbb136efad039ba38a08ba3f33
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)
@@ -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: 34.554s
175
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 35.814s
@@ -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:441846) [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:376159) [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,98 +13,57 @@ 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 37.10s
16
+ Solc 0.8.22 finished in 50.53s
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, μ: 65840, ~: 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, μ: 79575, ~: 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, μ: 105552, ~: 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, μ: 137856, ~: 137697)
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, μ: 38915, ~: 39011)
58
- [PASS] test_token() (gas: 13483)
59
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 349.29ms (808.43ms CPU time)
60
-
61
- Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
62
- [PASS] test_credit() (gas: 89882)
63
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93089, ~: 93314)
64
- [PASS] test_debit() (gas: 113036)
65
- [PASS] test_debit_Dust() (gas: 135880)
66
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138471, ~: 138823)
67
- [PASS] test_debit_PushesFees() (gas: 161342)
68
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
69
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
70
- [PASS] test_debit_WithFee() (gas: 163924)
71
- [PASS] test_debit_WithFee_Dust() (gas: 161430)
72
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161799, ~: 160967)
73
- [PASS] test_initialize() (gas: 24678)
74
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
75
- [PASS] test_pause_unpause() (gas: 143924)
76
- [PASS] test_quoteOFT() (gas: 70757)
77
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
78
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
79
- [PASS] test_quoteOFT_Paused() (gas: 56637)
80
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
81
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
82
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196094, ~: 195912)
83
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
84
- [PASS] test_rateLimit_Inflow() (gas: 130622)
85
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
86
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
87
- [PASS] test_send() (gas: 418929)
88
- [PASS] test_send_Revert_MsgInspection() (gas: 325718)
89
- [PASS] test_send_WithFee() (gas: 474453)
90
- [PASS] test_setFeeDeposit() (gas: 28337)
91
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
92
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38858, ~: 38945)
93
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 378.75ms (1.20s CPU time)
19
+ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
20
+ [PASS] test_credit() (gas: 89873)
21
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93050, ~: 93305)
22
+ [PASS] test_debit() (gas: 120710)
23
+ [PASS] test_debit_Dust() (gas: 143616)
24
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145645, ~: 146486)
25
+ [PASS] test_debit_PushesFees() (gas: 164384)
26
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
27
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
28
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
29
+ [PASS] test_debit_WithFee() (gas: 166449)
30
+ [PASS] test_debit_WithFee_Dust() (gas: 164455)
31
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 167098, ~: 168645)
32
+ [PASS] test_initialize() (gas: 24700)
33
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
34
+ [PASS] test_pause_unpause() (gas: 151598)
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: 242240)
40
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
41
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192062, ~: 191921)
42
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
43
+ [PASS] test_rateLimit_Inflow() (gas: 108738)
44
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
45
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
46
+ [PASS] test_send() (gas: 387136)
47
+ [PASS] test_send_Revert_MsgInspection() (gas: 335267)
48
+ [PASS] test_send_WithFee() (gas: 462592)
49
+ [PASS] test_setFeeDeposit() (gas: 28445)
50
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
51
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38944, ~: 39034)
52
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 606.89ms (1.84s CPU time)
94
53
 
95
54
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
96
55
  [PASS] test_credit() (gas: 89873)
97
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93296, ~: 93305)
56
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93049, ~: 93305)
98
57
  [PASS] test_debit() (gas: 120710)
99
58
  [PASS] test_debit_Dust() (gas: 145216)
100
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147153, ~: 148086)
59
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147301, ~: 148086)
101
60
  [PASS] test_debit_PushesFees() (gas: 165984)
102
61
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
103
62
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
104
63
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
105
64
  [PASS] test_debit_WithFee() (gas: 166449)
106
65
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
107
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168193, ~: 170245)
66
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168307, ~: 170245)
108
67
  [PASS] test_initialize() (gas: 24700)
109
68
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
110
69
  [PASS] test_pause_unpause() (gas: 153198)
@@ -114,7 +73,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
114
73
  [PASS] test_quoteOFT_Paused() (gas: 56570)
115
74
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
116
75
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
117
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193660, ~: 193521)
76
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193646, ~: 193521)
118
77
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
119
78
  [PASS] test_rateLimit_Inflow() (gas: 108826)
120
79
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -125,21 +84,90 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
125
84
  [PASS] test_send_WithFee() (gas: 504694)
126
85
  [PASS] test_setFeeDeposit() (gas: 28445)
127
86
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
128
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38957, ~: 39034)
129
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 425.11ms (1.01s CPU time)
87
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
88
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 669.24ms (2.17s CPU time)
89
+
90
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
91
+ [PASS] test_credit() (gas: 89871)
92
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93183, ~: 93303)
93
+ [PASS] test_debit() (gas: 98327)
94
+ [PASS] test_debit_Dust() (gas: 139747)
95
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143208, ~: 143461)
96
+ [PASS] test_debit_PushesFees() (gas: 165796)
97
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
98
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
99
+ [PASS] test_debit_WithFee() (gas: 165270)
100
+ [PASS] test_debit_WithFee_Dust() (gas: 165884)
101
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169031, ~: 171204)
102
+ [PASS] test_initialize() (gas: 24722)
103
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
104
+ [PASS] test_pause_unpause() (gas: 130467)
105
+ [PASS] test_quoteOFT() (gas: 70712)
106
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
107
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
108
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
109
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
110
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
111
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200459, ~: 200293)
112
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
113
+ [PASS] test_rateLimit_Inflow() (gas: 108736)
114
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
115
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
116
+ [PASS] test_send() (gas: 400518)
117
+ [PASS] test_send_Revert_MsgInspection() (gas: 308871)
118
+ [PASS] test_send_WithFee() (gas: 477338)
119
+ [PASS] test_setFeeDeposit() (gas: 28359)
120
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
121
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38871, ~: 38967)
122
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 757.48ms (2.58s CPU time)
123
+
124
+ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
125
+ [PASS] test_credit() (gas: 89871)
126
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93013, ~: 93303)
127
+ [PASS] test_debit() (gas: 98327)
128
+ [PASS] test_debit_Dust() (gas: 141836)
129
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145162, ~: 145461)
130
+ [PASS] test_debit_PushesFees() (gas: 167796)
131
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
132
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
133
+ [PASS] test_debit_WithFee() (gas: 165270)
134
+ [PASS] test_debit_WithFee_Dust() (gas: 167884)
135
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170958, ~: 173204)
136
+ [PASS] test_initialize() (gas: 24700)
137
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
138
+ [PASS] test_pause_unpause() (gas: 132067)
139
+ [PASS] test_quoteOFT() (gas: 70712)
140
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
141
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
142
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
143
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
144
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
145
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202475, ~: 202299)
146
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
147
+ [PASS] test_rateLimit_Inflow() (gas: 108824)
148
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
149
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
150
+ [PASS] test_send() (gas: 421733)
151
+ [PASS] test_send_Revert_MsgInspection() (gas: 310849)
152
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
153
+ [PASS] test_send_WithFee() (gas: 493959)
154
+ [PASS] test_setFeeDeposit() (gas: 28445)
155
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
156
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38923, ~: 39034)
157
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 788.42ms (2.70s CPU time)
130
158
 
131
159
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
132
160
  [PASS] test_credit() (gas: 89907)
133
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93227, ~: 93339)
161
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93132, ~: 93339)
134
162
  [PASS] test_debit() (gas: 98305)
135
163
  [PASS] test_debit_Dust() (gas: 139763)
136
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142563, ~: 143477)
164
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142771, ~: 143477)
137
165
  [PASS] test_debit_PushesFees() (gas: 165812)
138
166
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
139
167
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
140
168
  [PASS] test_debit_WithFee() (gas: 165286)
141
169
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
142
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168522, ~: 171220)
170
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169065, ~: 171220)
143
171
  [PASS] test_initialize() (gas: 24722)
144
172
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
145
173
  [PASS] test_pause_unpause() (gas: 130445)
@@ -149,7 +177,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
149
177
  [PASS] test_quoteOFT_Paused() (gas: 56570)
150
178
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
151
179
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
152
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200519, ~: 200315)
180
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200489, ~: 200315)
153
181
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
154
182
  [PASS] test_rateLimit_Inflow() (gas: 108772)
155
183
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -159,21 +187,21 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
159
187
  [PASS] test_send_WithFee() (gas: 477358)
160
188
  [PASS] test_setFeeDeposit() (gas: 28359)
161
189
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
162
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 38967)
163
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 456.73ms (1.20s CPU time)
190
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38875, ~: 38967)
191
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 805.35ms (2.88s CPU time)
164
192
 
165
193
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
166
194
  [PASS] test_credit() (gas: 89874)
167
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92970, ~: 93306)
195
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93147, ~: 93306)
168
196
  [PASS] test_debit() (gas: 98332)
169
197
  [PASS] test_debit_Dust() (gas: 139763)
170
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142659, ~: 143477)
198
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142780, ~: 143477)
171
199
  [PASS] test_debit_PushesFees() (gas: 165812)
172
200
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
173
201
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
174
202
  [PASS] test_debit_WithFee() (gas: 165286)
175
203
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
176
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168954, ~: 171220)
204
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169142, ~: 171220)
177
205
  [PASS] test_initialize() (gas: 24722)
178
206
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
179
207
  [PASS] test_pause_unpause() (gas: 130472)
@@ -183,7 +211,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
183
211
  [PASS] test_quoteOFT_Paused() (gas: 56570)
184
212
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
185
213
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
186
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200487, ~: 200315)
214
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200520, ~: 200315)
187
215
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
188
216
  [PASS] test_rateLimit_Inflow() (gas: 108739)
189
217
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -194,54 +222,54 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
194
222
  [PASS] test_setFeeDeposit() (gas: 28359)
195
223
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
196
224
  [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38871, ~: 38967)
197
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 456.79ms (1.03s CPU time)
225
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 806.78ms (2.18s CPU time)
198
226
 
199
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
200
- [PASS] test_credit() (gas: 89871)
201
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93281, ~: 93303)
202
- [PASS] test_debit() (gas: 98327)
203
- [PASS] test_debit_Dust() (gas: 139747)
204
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142614, ~: 143461)
205
- [PASS] test_debit_PushesFees() (gas: 165796)
206
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
207
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
208
- [PASS] test_debit_WithFee() (gas: 165270)
209
- [PASS] test_debit_WithFee_Dust() (gas: 165884)
210
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168911, ~: 171204)
211
- [PASS] test_initialize() (gas: 24722)
212
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
213
- [PASS] test_pause_unpause() (gas: 130467)
214
- [PASS] test_quoteOFT() (gas: 70712)
215
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
216
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
217
- [PASS] test_quoteOFT_Paused() (gas: 56570)
218
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
219
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
220
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200468, ~: 200299)
221
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
222
- [PASS] test_rateLimit_Inflow() (gas: 108736)
223
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
224
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
225
- [PASS] test_send() (gas: 400518)
226
- [PASS] test_send_Revert_MsgInspection() (gas: 308871)
227
- [PASS] test_send_WithFee() (gas: 477338)
228
- [PASS] test_setFeeDeposit() (gas: 28359)
229
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
230
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38885, ~: 38967)
231
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 458.81ms (1.09s CPU time)
227
+ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
228
+ [PASS] test_credit() (gas: 89882)
229
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93032, ~: 93314)
230
+ [PASS] test_debit() (gas: 113036)
231
+ [PASS] test_debit_Dust() (gas: 135880)
232
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137740, ~: 139029)
233
+ [PASS] test_debit_PushesFees() (gas: 161342)
234
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
235
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
236
+ [PASS] test_debit_WithFee() (gas: 163924)
237
+ [PASS] test_debit_WithFee_Dust() (gas: 161430)
238
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161441, ~: 160967)
239
+ [PASS] test_initialize() (gas: 24678)
240
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
241
+ [PASS] test_pause_unpause() (gas: 143924)
242
+ [PASS] test_quoteOFT() (gas: 70757)
243
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
244
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
245
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
246
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
247
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
248
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196085, ~: 195912)
249
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
250
+ [PASS] test_rateLimit_Inflow() (gas: 130622)
251
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
252
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
253
+ [PASS] test_send() (gas: 418929)
254
+ [PASS] test_send_Revert_MsgInspection() (gas: 325718)
255
+ [PASS] test_send_WithFee() (gas: 474453)
256
+ [PASS] test_setFeeDeposit() (gas: 28337)
257
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
258
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38858, ~: 38945)
259
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 814.83ms (2.78s CPU time)
232
260
 
233
261
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
234
262
  [PASS] test_credit() (gas: 91882)
235
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95148, ~: 95314)
263
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95409, ~: 95314)
236
264
  [PASS] test_debit() (gas: 113036)
237
265
  [PASS] test_debit_Dust() (gas: 137551)
238
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140073, ~: 141029)
266
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139992, ~: 140423)
239
267
  [PASS] test_debit_PushesFees() (gas: 163342)
240
268
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
241
269
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
242
270
  [PASS] test_debit_WithFee() (gas: 163924)
243
271
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
244
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163383, ~: 162567)
272
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163387, ~: 162567)
245
273
  [PASS] test_initialize() (gas: 24656)
246
274
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
247
275
  [PASS] test_pause_unpause() (gas: 145524)
@@ -251,7 +279,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
251
279
  [PASS] test_quoteOFT_Paused() (gas: 56637)
252
280
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
253
281
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
254
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198112, ~: 197912)
282
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198091, ~: 197912)
255
283
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
256
284
  [PASS] test_rateLimit_Inflow() (gas: 132710)
257
285
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -262,78 +290,50 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
262
290
  [PASS] test_send_WithFee() (gas: 516566)
263
291
  [PASS] test_setFeeDeposit() (gas: 28423)
264
292
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
265
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38896, ~: 39012)
266
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 458.77ms (1.14s CPU time)
267
-
268
- Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
269
- [PASS] test_credit() (gas: 89873)
270
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93129, ~: 93305)
271
- [PASS] test_debit() (gas: 120710)
272
- [PASS] test_debit_Dust() (gas: 143616)
273
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145817, ~: 146486)
274
- [PASS] test_debit_PushesFees() (gas: 164384)
275
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
276
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
277
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
278
- [PASS] test_debit_WithFee() (gas: 166449)
279
- [PASS] test_debit_WithFee_Dust() (gas: 164455)
280
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166826, ~: 168645)
281
- [PASS] test_initialize() (gas: 24700)
282
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
283
- [PASS] test_pause_unpause() (gas: 151598)
284
- [PASS] test_quoteOFT() (gas: 70712)
285
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
286
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
287
- [PASS] test_quoteOFT_Paused() (gas: 56570)
288
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
289
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
290
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192051, ~: 191921)
291
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
292
- [PASS] test_rateLimit_Inflow() (gas: 108738)
293
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
294
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
295
- [PASS] test_send() (gas: 387136)
296
- [PASS] test_send_Revert_MsgInspection() (gas: 335267)
297
- [PASS] test_send_WithFee() (gas: 462592)
298
- [PASS] test_setFeeDeposit() (gas: 28445)
299
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
300
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
301
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 458.81ms (1.02s CPU time)
293
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38916, ~: 39012)
294
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 877.12ms (2.03s CPU time)
302
295
 
303
- Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
304
- [PASS] test_credit() (gas: 89871)
305
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93182, ~: 93303)
306
- [PASS] test_debit() (gas: 98327)
307
- [PASS] test_debit_Dust() (gas: 141836)
308
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145148, ~: 145461)
309
- [PASS] test_debit_PushesFees() (gas: 167796)
310
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
311
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
312
- [PASS] test_debit_WithFee() (gas: 165270)
313
- [PASS] test_debit_WithFee_Dust() (gas: 167884)
314
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171221, ~: 173204)
315
- [PASS] test_initialize() (gas: 24700)
316
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
317
- [PASS] test_pause_unpause() (gas: 132067)
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: 187257)
323
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
324
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202471, ~: 202299)
325
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
326
- [PASS] test_rateLimit_Inflow() (gas: 108824)
327
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
328
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
329
- [PASS] test_send() (gas: 421733)
330
- [PASS] test_send_Revert_MsgInspection() (gas: 310849)
331
- [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
332
- [PASS] test_send_WithFee() (gas: 493959)
333
- [PASS] test_setFeeDeposit() (gas: 28445)
334
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
335
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
336
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 476.55ms (1.43s CPU time)
296
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
297
+ [PASS] test_approvalRequired() (gas: 13426)
298
+ [PASS] test_credit() (gas: 62369)
299
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65902, ~: 65954)
300
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
301
+ [PASS] test_debit() (gas: 36831)
302
+ [PASS] test_debit_Dust() (gas: 76272)
303
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79522, ~: 79886)
304
+ [PASS] test_debit_PushesFees() (gas: 101339)
305
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
306
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
307
+ [PASS] test_debit_WithFee() (gas: 101145)
308
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
309
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105615, ~: 107585)
310
+ [PASS] test_initialize() (gas: 22406)
311
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
312
+ [PASS] test_pause_unpause() (gas: 61117)
313
+ [PASS] test_quoteOFT() (gas: 70779)
314
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
315
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
316
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
317
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
318
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
319
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137871, ~: 137703)
320
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
321
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
322
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
323
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
324
+ [PASS] test_send() (gas: 352734)
325
+ [PASS] test_send_PushesFees() (gas: 415282)
326
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
327
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
328
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
329
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
330
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
331
+ [PASS] test_send_WithFee() (gas: 415240)
332
+ [PASS] test_setFeeDeposit() (gas: 28425)
333
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
334
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38888, ~: 39011)
335
+ [PASS] test_token() (gas: 13483)
336
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 876.96ms (1.25s CPU time)
337
337
 
338
- Ran 9 test suites in 600.42ms (3.92s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
- ⏳ forge test: 39.604s
338
+ Ran 9 test suites in 988.32ms (7.00s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
+ ⏳ forge test: 53.885s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "0.2.112",
3
+ "version": "0.2.113",
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/oft-evm-contracts": "0.2.112",
18
- "@layerzerolabs/oapp-evm-contracts": "0.2.112",
19
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.112",
20
- "@layerzerolabs/solhint-configuration": "0.2.112",
21
- "@layerzerolabs/test-utils-evm-contracts": "0.2.112",
22
- "@layerzerolabs/tsup-configuration": "0.2.112",
23
- "@layerzerolabs/typescript-configuration": "0.2.112",
24
- "@layerzerolabs/utils-evm-contracts": "0.2.112",
25
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.112",
26
- "@layerzerolabs/vm-tooling-evm": "0.2.112"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.113",
18
+ "@layerzerolabs/oft-evm-contracts": "0.2.113",
19
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.113",
20
+ "@layerzerolabs/solhint-configuration": "0.2.113",
21
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.113",
22
+ "@layerzerolabs/tsup-configuration": "0.2.113",
23
+ "@layerzerolabs/utils-evm-contracts": "0.2.113",
24
+ "@layerzerolabs/typescript-configuration": "0.2.113",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.113",
26
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.113"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public",