@layerzerolabs/oft-upgradeable-evm-contracts 1.2.9 → 1.2.10
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 +19 -19
- package/.turbo/turbo-lint.log +109 -1
- package/.turbo/turbo-test.log +175 -175
- package/package.json +9 -9
package/.turbo/turbo-build.log
CHANGED
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
12
12
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
13
13
|
🔧 hardhat version: 2.26.3
|
|
14
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
14
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-EjPWxj
|
|
15
15
|
📦 Copied 13 workspace package source(s)
|
|
16
16
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
17
|
-
(node:
|
|
17
|
+
(node:178260) [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.
|
|
18
|
+
📦 Docker volumes:
|
|
18
19
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
19
20
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
20
21
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
21
|
-
|
|
22
|
-
-v /tmp/lz-scoped-workspace-zKIrG6:/workspace
|
|
22
|
+
-v /tmp/lz-scoped-workspace-EjPWxj:/workspace
|
|
23
23
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
24
24
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
25
25
|
$ 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
|
|
26
26
|
$ 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
|
|
27
|
-
$ docker container rm
|
|
27
|
+
$ docker container rm 44648e3f7e07ec126c436d2cfa4ebe08e36faf6968130b492cbe8f49bda23142
|
|
28
28
|
✅ 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)
|
|
29
29
|
👤 Running container as UID:GID 1001:1001
|
|
30
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
30
|
+
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-EjPWxj:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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
|
|
31
31
|
Compiling 76 Solidity files
|
|
32
32
|
Warning: Contract code size is 28075 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.
|
|
33
33
|
--> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
|
|
@@ -79,7 +79,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
Successfully compiled 76 Solidity files
|
|
82
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js:
|
|
82
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.303s
|
|
83
83
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
84
84
|
|
|
85
85
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -88,29 +88,29 @@ Successfully compiled 76 Solidity files
|
|
|
88
88
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
89
89
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
90
90
|
🔧 hardhat version: 2.26.3
|
|
91
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
91
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-hBMs5I
|
|
92
92
|
📦 Copied 13 workspace package source(s)
|
|
93
93
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
94
|
-
(node:
|
|
94
|
+
(node:184887) [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.
|
|
95
95
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
96
96
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
97
97
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
98
98
|
📦 Docker volumes:
|
|
99
|
-
-v /tmp/lz-scoped-workspace-
|
|
99
|
+
-v /tmp/lz-scoped-workspace-hBMs5I:/workspace
|
|
100
100
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
101
101
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
102
102
|
$ 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
|
|
103
103
|
$ 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
|
|
104
|
-
$ docker container rm
|
|
104
|
+
$ docker container rm 6cc564930e3ee42ee90eb59b968a8664ccd4b29c15f65342d6e0c8d879bbd758
|
|
105
105
|
✅ 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)
|
|
106
106
|
👤 Running container as UID:GID 1001:1001
|
|
107
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
107
|
+
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-hBMs5I:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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 zksync-mainnet
|
|
108
108
|
The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
|
|
109
109
|
The zksolc compiler version in your Hardhat config file (1.3.22) is not the latest. We recommend using the latest version 1.5.15.
|
|
110
110
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
111
111
|
Compiling 76 Solidity files
|
|
112
112
|
Successfully compiled 76 Solidity files
|
|
113
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:
|
|
113
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:15.164 (m:ss.mmm)
|
|
114
114
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
115
115
|
|
|
116
116
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -119,23 +119,23 @@ Successfully compiled 76 Solidity files
|
|
|
119
119
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
120
120
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
121
121
|
🔧 hardhat version: 2.26.3
|
|
122
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
122
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-u7o8sv
|
|
123
123
|
📦 Copied 13 workspace package source(s)
|
|
124
124
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
125
|
-
(node:
|
|
125
|
+
(node:213807) [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.
|
|
126
126
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
127
127
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
128
128
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
129
129
|
📦 Docker volumes:
|
|
130
|
-
-v /tmp/lz-scoped-workspace-
|
|
130
|
+
-v /tmp/lz-scoped-workspace-u7o8sv:/workspace
|
|
131
131
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
132
132
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
133
133
|
$ 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
|
|
134
134
|
$ 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
|
|
135
|
-
$ docker container rm
|
|
135
|
+
$ docker container rm c5d9ca34593d25de303bc330dda0b371d8644f68a1280610637ae2e7b846e66e
|
|
136
136
|
✅ 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)
|
|
137
137
|
👤 Running container as UID:GID 1001:1001
|
|
138
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
138
|
+
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-u7o8sv:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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
|
|
139
139
|
detected tron network, replacing deployments extension with custom one
|
|
140
140
|
Compiling contracts with tron solc v0.8.23
|
|
141
141
|
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
@@ -190,4 +190,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
|
|
|
190
190
|
|
|
191
191
|
|
|
192
192
|
Successfully compiled 76 Solidity files
|
|
193
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet:
|
|
193
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 31.668s
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -448,4 +448,112 @@ test/OFTNativeExtendedRBAC.t.sol
|
|
|
448
448
|
149:9 warning Check result of "send" call check-send-result
|
|
449
449
|
155:5 warning Missing @notice tag in function 'test_send_Revert_FeeTransferFailed' use-natspec
|
|
450
450
|
178:9 warning Check result of "send" call check-send-result
|
|
451
|
-
183:5 warning Missing @notice tag in function 'test_send'
|
|
451
|
+
183:5 warning Missing @notice tag in function 'test_send' use-natspec
|
|
452
|
+
192:41 warning Check result of "send" call check-send-result
|
|
453
|
+
198:5 warning Missing @notice tag in function 'test_send_WithFee' use-natspec
|
|
454
|
+
211:41 warning Check result of "send" call check-send-result
|
|
455
|
+
220:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_TooLow' use-natspec
|
|
456
|
+
238:9 warning Check result of "send" call check-send-result
|
|
457
|
+
241:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_TooHigh' use-natspec
|
|
458
|
+
259:9 warning Check result of "send" call check-send-result
|
|
459
|
+
262:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_ZeroValue' use-natspec
|
|
460
|
+
274:9 warning Check result of "send" call check-send-result
|
|
461
|
+
279:5 warning Missing @notice tag in function 'test_credit_Revert_CreditFailed' use-natspec
|
|
462
|
+
297:5 warning Missing @notice tag in function 'test_token' use-natspec
|
|
463
|
+
301:5 warning Missing @notice tag in function 'test_approvalRequired' use-natspec
|
|
464
|
+
310:5 warning Missing @notice tag in function 'test_send_Revert_MsgInspection' use-natspec
|
|
465
|
+
328:9 warning Check result of "send" call check-send-result
|
|
466
|
+
|
|
467
|
+
test/shared/OFTExtendedRBACTestBase.sol
|
|
468
|
+
25:1 warning Missing @title tag in contract 'IOFTExtendedHarness' use-natspec
|
|
469
|
+
25:1 warning Missing @author tag in contract 'IOFTExtendedHarness' use-natspec
|
|
470
|
+
26:5 warning Missing @notice tag in function 'debit' use-natspec
|
|
471
|
+
26:5 warning Missing @param tag in function 'debit' use-natspec
|
|
472
|
+
26:5 warning Mismatch in @param names for function 'debit'. Expected: [_from, _amountLD, _minAmountLD, _dstEid], Found: [] use-natspec
|
|
473
|
+
26:5 warning Missing @return tag in function 'debit' use-natspec
|
|
474
|
+
26:5 warning Mismatch in @return names for function 'debit'. Expected: [amountSentLD, amountReceivedLD], Found: [] use-natspec
|
|
475
|
+
33:5 warning Missing @notice tag in function 'credit' use-natspec
|
|
476
|
+
33:5 warning Missing @param tag in function 'credit' use-natspec
|
|
477
|
+
33:5 warning Mismatch in @param names for function 'credit'. Expected: [_to, _amountLD, _srcEid], Found: [] use-natspec
|
|
478
|
+
33:5 warning Missing @return tag in function 'credit' use-natspec
|
|
479
|
+
33:5 warning Mismatch in @return names for function 'credit'. Expected: [amountReceivedLD], Found: [] use-natspec
|
|
480
|
+
41:1 warning Missing @title tag in contract 'OFTExtendedRBACTestBase' use-natspec
|
|
481
|
+
41:1 warning Missing @author tag in contract 'OFTExtendedRBACTestBase' use-natspec
|
|
482
|
+
42:5 warning Explicitly mark visibility of state state-visibility
|
|
483
|
+
44:5 warning Explicitly mark visibility of state state-visibility
|
|
484
|
+
45:5 warning Explicitly mark visibility of state state-visibility
|
|
485
|
+
46:5 warning Explicitly mark visibility of state state-visibility
|
|
486
|
+
48:5 warning Explicitly mark visibility of state state-visibility
|
|
487
|
+
49:5 warning Explicitly mark visibility of state state-visibility
|
|
488
|
+
50:5 warning Explicitly mark visibility of state state-visibility
|
|
489
|
+
66:5 warning Missing @return tag in function '_adapter' use-natspec
|
|
490
|
+
66:5 warning Mismatch in @return count for function '_adapter'. Expected: 1, Found: 0 use-natspec
|
|
491
|
+
72:5 warning Missing @param tag in function '_fundForDebit' use-natspec
|
|
492
|
+
72:5 warning Mismatch in @param names for function '_fundForDebit'. Expected: [_amount], Found: [] use-natspec
|
|
493
|
+
78:5 warning Missing @param tag in function '_fundAdapterForCredit' use-natspec
|
|
494
|
+
78:5 warning Mismatch in @param names for function '_fundAdapterForCredit'. Expected: [_amount], Found: [] use-natspec
|
|
495
|
+
84:5 warning Missing @param tag in function '_readBalance' use-natspec
|
|
496
|
+
84:5 warning Mismatch in @param names for function '_readBalance'. Expected: [_account], Found: [] use-natspec
|
|
497
|
+
84:5 warning Missing @return tag in function '_readBalance' use-natspec
|
|
498
|
+
84:5 warning Mismatch in @return count for function '_readBalance'. Expected: 1, Found: 0 use-natspec
|
|
499
|
+
89:5 warning Missing @return tag in function '_harness' use-natspec
|
|
500
|
+
89:5 warning Mismatch in @return count for function '_harness'. Expected: 1, Found: 0 use-natspec
|
|
501
|
+
95:5 warning Missing @notice tag in function '_deployTransparentProxy' use-natspec
|
|
502
|
+
95:5 warning Missing @param tag in function '_deployTransparentProxy' use-natspec
|
|
503
|
+
95:5 warning Mismatch in @param names for function '_deployTransparentProxy'. Expected: [_impl, _proxyAdmin, _initData], Found: [] use-natspec
|
|
504
|
+
95:5 warning Missing @return tag in function '_deployTransparentProxy' use-natspec
|
|
505
|
+
95:5 warning Mismatch in @return count for function '_deployTransparentProxy'. Expected: 1, Found: 0 use-natspec
|
|
506
|
+
103:5 warning Missing @notice tag in function '_buildSendParam' use-natspec
|
|
507
|
+
103:5 warning Missing @param tag in function '_buildSendParam' use-natspec
|
|
508
|
+
103:5 warning Mismatch in @param names for function '_buildSendParam'. Expected: [_dstEid, _to, _amountLD, _minAmountLD], Found: [] use-natspec
|
|
509
|
+
103:5 warning Missing @return tag in function '_buildSendParam' use-natspec
|
|
510
|
+
103:5 warning Mismatch in @return count for function '_buildSendParam'. Expected: 1, Found: 0 use-natspec
|
|
511
|
+
121:5 warning Missing @notice tag in function '_buildDefaultRateLimitConfig' use-natspec
|
|
512
|
+
121:5 warning Missing @param tag in function '_buildDefaultRateLimitConfig' use-natspec
|
|
513
|
+
121:5 warning Mismatch in @param names for function '_buildDefaultRateLimitConfig'. Expected: [_id, _limit, _window], Found: [] use-natspec
|
|
514
|
+
121:5 warning Missing @return tag in function '_buildDefaultRateLimitConfig' use-natspec
|
|
515
|
+
121:5 warning Mismatch in @return names for function '_buildDefaultRateLimitConfig'. Expected: [configs], Found: [] use-natspec
|
|
516
|
+
143:5 warning Missing @notice tag in function '_buildRateLimitConfig' use-natspec
|
|
517
|
+
143:5 warning Missing @param tag in function '_buildRateLimitConfig' use-natspec
|
|
518
|
+
143:5 warning Mismatch in @param names for function '_buildRateLimitConfig'. Expected: [_id, _outboundLimit, _inboundLimit, _outboundWindow, _inboundWindow], Found: [] use-natspec
|
|
519
|
+
143:5 warning Missing @return tag in function '_buildRateLimitConfig' use-natspec
|
|
520
|
+
143:5 warning Mismatch in @return names for function '_buildRateLimitConfig'. Expected: [configs], Found: [] use-natspec
|
|
521
|
+
169:5 warning Missing @notice tag in function 'test_quoteOFT' use-natspec
|
|
522
|
+
189:5 warning Missing @notice tag in function 'test_quoteOFT_Paused' use-natspec
|
|
523
|
+
201:5 warning Missing @notice tag in function 'test_quoteOFT_RateLimiterUsage' use-natspec
|
|
524
|
+
228:5 warning Missing @notice tag in function 'test_quoteOFT_OutboundRateLimitDisabled' use-natspec
|
|
525
|
+
256:5 warning Missing @notice tag in function 'test_quoteOFT_GloballyDisabled' use-natspec
|
|
526
|
+
272:5 warning Missing @notice tag in function 'test_quoteOFT_RateLimiterWithFee' use-natspec
|
|
527
|
+
302:5 warning Missing @notice tag in function 'test_quoteOFT_RateLimiterWithMaxFee' use-natspec
|
|
528
|
+
316:5 warning Missing @notice tag in function 'test_quoteOFT_RateLimiterWithFee_Fuzz' use-natspec
|
|
529
|
+
316:5 warning Missing @param tag in function 'test_quoteOFT_RateLimiterWithFee_Fuzz' use-natspec
|
|
530
|
+
316:5 warning Mismatch in @param names for function 'test_quoteOFT_RateLimiterWithFee_Fuzz'. Expected: [_limit, _feeBps], Found: [] use-natspec
|
|
531
|
+
340:5 warning Missing @notice tag in function 'test_setRateLimitConfig_Fuzz' use-natspec
|
|
532
|
+
340:5 warning Missing @param tag in function 'test_setRateLimitConfig_Fuzz' use-natspec
|
|
533
|
+
340:5 warning Mismatch in @param names for function 'test_setRateLimitConfig_Fuzz'. Expected: [_limit], Found: [] use-natspec
|
|
534
|
+
349:5 warning Missing @notice tag in function 'test_rateLimit_Inflow' use-natspec
|
|
535
|
+
363:5 warning Missing @notice tag in function 'test_rateLimit_Outflow_WithFee_Success' use-natspec
|
|
536
|
+
376:5 warning Missing @notice tag in function 'test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit' use-natspec
|
|
537
|
+
392:5 warning Missing @notice tag in function 'test_pause_unpause' use-natspec
|
|
538
|
+
412:5 warning Missing @notice tag in function 'test_setFeeDeposit' use-natspec
|
|
539
|
+
418:5 warning Missing @notice tag in function 'test_setFeeDeposit_Revert_Unauthorized' use-natspec
|
|
540
|
+
430:5 warning Missing @notice tag in function 'test_debit_PushesFees' use-natspec
|
|
541
|
+
444:5 warning Missing @notice tag in function 'test_send_Revert_MsgInspection' use-natspec
|
|
542
|
+
463:9 warning Check result of "send" call check-send-result
|
|
543
|
+
468:5 warning Missing @notice tag in function 'test_credit' use-natspec
|
|
544
|
+
478:5 warning Missing @notice tag in function 'test_credit_Fuzz' use-natspec
|
|
545
|
+
478:5 warning Missing @param tag in function 'test_credit_Fuzz' use-natspec
|
|
546
|
+
478:5 warning Mismatch in @param names for function 'test_credit_Fuzz'. Expected: [_amount], Found: [] use-natspec
|
|
547
|
+
491:5 warning Missing @notice tag in function 'test_debit_Revert_SlippageExceeded' use-natspec
|
|
548
|
+
504:5 warning Missing @notice tag in function 'test_debit_Dust' use-natspec
|
|
549
|
+
515:5 warning Missing @notice tag in function 'test_debit_WithFee_Dust' use-natspec
|
|
550
|
+
534:5 warning Missing @notice tag in function 'test_debit_SmallAmount_DustOnly' use-natspec
|
|
551
|
+
547:5 warning Missing @notice tag in function 'test_debit_NoFee_Fuzz' use-natspec
|
|
552
|
+
547:5 warning Missing @param tag in function 'test_debit_NoFee_Fuzz' use-natspec
|
|
553
|
+
547:5 warning Mismatch in @param names for function 'test_debit_NoFee_Fuzz'. Expected: [_amount], Found: [] use-natspec
|
|
554
|
+
562:5 warning Missing @notice tag in function 'test_debit_WithFee_Fuzz' use-natspec
|
|
555
|
+
562:5 warning Missing @param tag in function 'test_debit_WithFee_Fuzz' use-natspec
|
|
556
|
+
562:5 warning Mismatch in @param names for function 'test_debit_WithFee_Fuzz'. Expected: [_amount, _feeBps], Found: [] use-natspec
|
|
557
|
+
|
|
558
|
+
✖ 514 problems (0 errors, 514 warnings)
|
|
559
|
+
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,105 +4,72 @@
|
|
|
4
4
|
|
|
5
5
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
6
6
|
🔧 forge version: 1.3.6
|
|
7
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
7
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-mLKOE9
|
|
8
8
|
📦 Copied 13 workspace package source(s)
|
|
9
9
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
10
|
-
(node:
|
|
10
|
+
(node:189757) [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.
|
|
11
11
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
12
12
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
13
13
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
14
14
|
📦 Docker volumes:
|
|
15
|
-
-v /tmp/lz-scoped-workspace-
|
|
15
|
+
-v /tmp/lz-scoped-workspace-mLKOE9:/workspace
|
|
16
16
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
17
17
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
18
18
|
$ 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
|
|
19
19
|
✅ 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 (amd64)
|
|
20
20
|
👤 Running container as UID:GID 1001:1001
|
|
21
|
-
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
21
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-mLKOE9:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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
|
|
22
22
|
Compiling 185 files with Solc 0.8.22
|
|
23
|
-
Solc 0.8.22 finished in
|
|
23
|
+
Solc 0.8.22 finished in 75.68s
|
|
24
24
|
Compiler run successful!
|
|
25
25
|
|
|
26
|
-
Ran
|
|
27
|
-
[PASS] test_credit() (gas:
|
|
28
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
29
|
-
[PASS] test_debit() (gas:
|
|
30
|
-
[PASS] test_debit_Dust() (gas:
|
|
31
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
32
|
-
[PASS] test_debit_PushesFees() (gas:
|
|
33
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas:
|
|
34
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas:
|
|
35
|
-
[PASS]
|
|
36
|
-
[PASS]
|
|
37
|
-
[PASS]
|
|
38
|
-
[PASS]
|
|
39
|
-
[PASS]
|
|
40
|
-
[PASS] test_pause_unpause() (gas: 130445)
|
|
41
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
42
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
43
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
44
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
45
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
46
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
47
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200493, ~: 200315)
|
|
48
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
49
|
-
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
50
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
51
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
|
|
52
|
-
[PASS] test_send() (gas: 400494)
|
|
53
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 308847)
|
|
54
|
-
[PASS] test_send_WithFee() (gas: 477358)
|
|
55
|
-
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
56
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
57
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
|
|
58
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 718.27ms (2.62s CPU time)
|
|
59
|
-
|
|
60
|
-
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
61
|
-
[PASS] test_credit() (gas: 89871)
|
|
62
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93111, ~: 93303)
|
|
63
|
-
[PASS] test_debit() (gas: 98327)
|
|
64
|
-
[PASS] test_debit_Dust() (gas: 139747)
|
|
65
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142391, ~: 143461)
|
|
66
|
-
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
67
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
68
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
69
|
-
[PASS] test_debit_WithFee() (gas: 165270)
|
|
70
|
-
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
71
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168675, ~: 171204)
|
|
72
|
-
[PASS] test_initialize() (gas: 24722)
|
|
26
|
+
Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
|
|
27
|
+
[PASS] test_credit() (gas: 89873)
|
|
28
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93017, ~: 93305)
|
|
29
|
+
[PASS] test_debit() (gas: 120710)
|
|
30
|
+
[PASS] test_debit_Dust() (gas: 143616)
|
|
31
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145467, ~: 146486)
|
|
32
|
+
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
33
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
34
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
35
|
+
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
36
|
+
[PASS] test_debit_WithFee() (gas: 166449)
|
|
37
|
+
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
38
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166911, ~: 168645)
|
|
39
|
+
[PASS] test_initialize() (gas: 24700)
|
|
73
40
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
74
|
-
[PASS] test_pause_unpause() (gas:
|
|
41
|
+
[PASS] test_pause_unpause() (gas: 151598)
|
|
75
42
|
[PASS] test_quoteOFT() (gas: 70712)
|
|
76
43
|
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
77
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas:
|
|
44
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
78
45
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
79
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas:
|
|
80
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas:
|
|
81
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
82
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas:
|
|
83
|
-
[PASS] test_rateLimit_Inflow() (gas:
|
|
46
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
47
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
48
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192058, ~: 191921)
|
|
49
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
50
|
+
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
84
51
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
85
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas:
|
|
86
|
-
[PASS] test_send() (gas:
|
|
87
|
-
[PASS] test_send_Revert_MsgInspection() (gas:
|
|
88
|
-
[PASS] test_send_WithFee() (gas:
|
|
89
|
-
[PASS] test_setFeeDeposit() (gas:
|
|
52
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
|
|
53
|
+
[PASS] test_send() (gas: 387136)
|
|
54
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 335267)
|
|
55
|
+
[PASS] test_send_WithFee() (gas: 462592)
|
|
56
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
90
57
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
91
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
92
|
-
Suite result: ok.
|
|
58
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
|
|
59
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.49s (3.56s CPU time)
|
|
93
60
|
|
|
94
61
|
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
95
62
|
[PASS] test_credit() (gas: 89871)
|
|
96
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
63
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93093, ~: 93303)
|
|
97
64
|
[PASS] test_debit() (gas: 98327)
|
|
98
65
|
[PASS] test_debit_Dust() (gas: 141836)
|
|
99
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
66
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144201, ~: 145461)
|
|
100
67
|
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
101
68
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
102
69
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
103
70
|
[PASS] test_debit_WithFee() (gas: 165270)
|
|
104
71
|
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
105
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
72
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170679, ~: 173204)
|
|
106
73
|
[PASS] test_initialize() (gas: 24700)
|
|
107
74
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
108
75
|
[PASS] test_pause_unpause() (gas: 132067)
|
|
@@ -112,7 +79,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
112
79
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
113
80
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
114
81
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
115
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
82
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202482, ~: 202299)
|
|
116
83
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
117
84
|
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
118
85
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -123,22 +90,90 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
123
90
|
[PASS] test_send_WithFee() (gas: 493959)
|
|
124
91
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
125
92
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
126
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
127
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
93
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
|
|
94
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.63s (5.91s CPU time)
|
|
95
|
+
|
|
96
|
+
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
97
|
+
[PASS] test_credit() (gas: 89882)
|
|
98
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93176, ~: 93314)
|
|
99
|
+
[PASS] test_debit() (gas: 113036)
|
|
100
|
+
[PASS] test_debit_Dust() (gas: 135880)
|
|
101
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138060, ~: 139029)
|
|
102
|
+
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
103
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
104
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
105
|
+
[PASS] test_debit_WithFee() (gas: 163924)
|
|
106
|
+
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
107
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161355, ~: 160967)
|
|
108
|
+
[PASS] test_initialize() (gas: 24678)
|
|
109
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
110
|
+
[PASS] test_pause_unpause() (gas: 143924)
|
|
111
|
+
[PASS] test_quoteOFT() (gas: 70757)
|
|
112
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
|
|
113
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
|
|
114
|
+
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
115
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
116
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
117
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196102, ~: 195912)
|
|
118
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
119
|
+
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
120
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
121
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
|
|
122
|
+
[PASS] test_send() (gas: 418929)
|
|
123
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 325718)
|
|
124
|
+
[PASS] test_send_WithFee() (gas: 474453)
|
|
125
|
+
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
126
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
127
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38877, ~: 38945)
|
|
128
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.72s (5.68s 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, μ: 93027, ~: 93303)
|
|
133
|
+
[PASS] test_debit() (gas: 98327)
|
|
134
|
+
[PASS] test_debit_Dust() (gas: 139747)
|
|
135
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142398, ~: 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, μ: 168919, ~: 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, μ: 200487, ~: 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
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38861, ~: 38967)
|
|
162
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.72s (4.29s CPU time)
|
|
128
163
|
|
|
129
164
|
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
130
165
|
[PASS] test_credit() (gas: 89873)
|
|
131
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
166
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93037, ~: 93305)
|
|
132
167
|
[PASS] test_debit() (gas: 120710)
|
|
133
168
|
[PASS] test_debit_Dust() (gas: 145216)
|
|
134
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
169
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147225, ~: 148086)
|
|
135
170
|
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
136
171
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
137
172
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
138
173
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
139
174
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
140
175
|
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
141
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
176
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168481, ~: 170245)
|
|
142
177
|
[PASS] test_initialize() (gas: 24700)
|
|
143
178
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
144
179
|
[PASS] test_pause_unpause() (gas: 153198)
|
|
@@ -148,7 +183,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
148
183
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
149
184
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
150
185
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
151
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
186
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193652, ~: 193521)
|
|
152
187
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
153
188
|
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
154
189
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -159,21 +194,55 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
159
194
|
[PASS] test_send_WithFee() (gas: 504694)
|
|
160
195
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
161
196
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
162
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
163
|
-
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in
|
|
197
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
|
|
198
|
+
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 1.99s (5.52s CPU time)
|
|
199
|
+
|
|
200
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
201
|
+
[PASS] test_credit() (gas: 89874)
|
|
202
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93158, ~: 93306)
|
|
203
|
+
[PASS] test_debit() (gas: 98332)
|
|
204
|
+
[PASS] test_debit_Dust() (gas: 139763)
|
|
205
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142774, ~: 143477)
|
|
206
|
+
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
207
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
208
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
209
|
+
[PASS] test_debit_WithFee() (gas: 165286)
|
|
210
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
211
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169115, ~: 171220)
|
|
212
|
+
[PASS] test_initialize() (gas: 24722)
|
|
213
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
214
|
+
[PASS] test_pause_unpause() (gas: 130472)
|
|
215
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
216
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
217
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
218
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
219
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
|
|
220
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
221
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200509, ~: 200315)
|
|
222
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
223
|
+
[PASS] test_rateLimit_Inflow() (gas: 108739)
|
|
224
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
225
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
|
|
226
|
+
[PASS] test_send() (gas: 400527)
|
|
227
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308880)
|
|
228
|
+
[PASS] test_send_WithFee() (gas: 477358)
|
|
229
|
+
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
230
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
231
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38832, ~: 38967)
|
|
232
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.99s (5.48s CPU time)
|
|
164
233
|
|
|
165
234
|
Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
|
|
166
235
|
[PASS] test_credit() (gas: 91882)
|
|
167
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
236
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95114, ~: 95314)
|
|
168
237
|
[PASS] test_debit() (gas: 113036)
|
|
169
238
|
[PASS] test_debit_Dust() (gas: 137551)
|
|
170
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
239
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140077, ~: 140423)
|
|
171
240
|
[PASS] test_debit_PushesFees() (gas: 163342)
|
|
172
241
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
|
|
173
242
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
|
|
174
243
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
175
244
|
[PASS] test_debit_WithFee_Dust() (gas: 163430)
|
|
176
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
245
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163319, ~: 162567)
|
|
177
246
|
[PASS] test_initialize() (gas: 24656)
|
|
178
247
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
179
248
|
[PASS] test_pause_unpause() (gas: 145524)
|
|
@@ -183,7 +252,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
183
252
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
184
253
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
|
|
185
254
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
|
|
186
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
255
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198101, ~: 197912)
|
|
187
256
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
|
|
188
257
|
[PASS] test_rateLimit_Inflow() (gas: 132710)
|
|
189
258
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
|
|
@@ -194,126 +263,57 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
194
263
|
[PASS] test_send_WithFee() (gas: 516566)
|
|
195
264
|
[PASS] test_setFeeDeposit() (gas: 28423)
|
|
196
265
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
197
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
198
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
266
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38901, ~: 39012)
|
|
267
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.99s (6.46s CPU time)
|
|
199
268
|
|
|
200
|
-
Ran
|
|
201
|
-
[PASS] test_credit() (gas:
|
|
202
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
203
|
-
[PASS] test_debit() (gas:
|
|
204
|
-
[PASS] test_debit_Dust() (gas: 143616)
|
|
205
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146097, ~: 146486)
|
|
206
|
-
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
207
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
208
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
209
|
-
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
210
|
-
[PASS] test_debit_WithFee() (gas: 166449)
|
|
211
|
-
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
212
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166715, ~: 168640)
|
|
213
|
-
[PASS] test_initialize() (gas: 24700)
|
|
214
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
215
|
-
[PASS] test_pause_unpause() (gas: 151598)
|
|
216
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
217
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
218
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
219
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
220
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
221
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
222
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192052, ~: 191921)
|
|
223
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
224
|
-
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
225
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
226
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
|
|
227
|
-
[PASS] test_send() (gas: 387136)
|
|
228
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 335267)
|
|
229
|
-
[PASS] test_send_WithFee() (gas: 462592)
|
|
230
|
-
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
231
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
232
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38957, ~: 39034)
|
|
233
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 923.37ms (3.06s CPU time)
|
|
234
|
-
|
|
235
|
-
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
236
|
-
[PASS] test_credit() (gas: 89874)
|
|
237
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93067, ~: 93306)
|
|
238
|
-
[PASS] test_debit() (gas: 98332)
|
|
269
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
|
|
270
|
+
[PASS] test_credit() (gas: 89907)
|
|
271
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93231, ~: 93339)
|
|
272
|
+
[PASS] test_debit() (gas: 98305)
|
|
239
273
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
240
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
274
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142587, ~: 143477)
|
|
241
275
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
242
276
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
243
277
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
244
278
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
245
279
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
246
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
280
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169308, ~: 171220)
|
|
247
281
|
[PASS] test_initialize() (gas: 24722)
|
|
248
282
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
249
|
-
[PASS] test_pause_unpause() (gas:
|
|
283
|
+
[PASS] test_pause_unpause() (gas: 130445)
|
|
250
284
|
[PASS] test_quoteOFT() (gas: 70712)
|
|
251
285
|
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
252
286
|
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
253
287
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
254
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas:
|
|
288
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
255
289
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
256
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
290
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200492, ~: 200315)
|
|
257
291
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
258
|
-
[PASS] test_rateLimit_Inflow() (gas:
|
|
292
|
+
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
259
293
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
260
294
|
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
|
|
261
|
-
[PASS] test_send() (gas:
|
|
262
|
-
[PASS] test_send_Revert_MsgInspection() (gas:
|
|
295
|
+
[PASS] test_send() (gas: 400494)
|
|
296
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308847)
|
|
263
297
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
264
298
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
265
299
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
266
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
267
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
268
|
-
|
|
269
|
-
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
270
|
-
[PASS] test_credit() (gas: 89882)
|
|
271
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93010, ~: 93314)
|
|
272
|
-
[PASS] test_debit() (gas: 113036)
|
|
273
|
-
[PASS] test_debit_Dust() (gas: 135880)
|
|
274
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138322, ~: 139029)
|
|
275
|
-
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
276
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
277
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
278
|
-
[PASS] test_debit_WithFee() (gas: 163924)
|
|
279
|
-
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
280
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161512, ~: 160967)
|
|
281
|
-
[PASS] test_initialize() (gas: 24678)
|
|
282
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
283
|
-
[PASS] test_pause_unpause() (gas: 143924)
|
|
284
|
-
[PASS] test_quoteOFT() (gas: 70757)
|
|
285
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
|
|
286
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
|
|
287
|
-
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
288
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
289
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
290
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196094, ~: 195912)
|
|
291
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
292
|
-
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
293
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
294
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
|
|
295
|
-
[PASS] test_send() (gas: 418929)
|
|
296
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 325718)
|
|
297
|
-
[PASS] test_send_WithFee() (gas: 474453)
|
|
298
|
-
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
299
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
300
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38829, ~: 38945)
|
|
301
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.01s (3.35s CPU time)
|
|
300
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
|
|
301
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 2.00s (4.41s CPU time)
|
|
302
302
|
|
|
303
303
|
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
304
304
|
[PASS] test_approvalRequired() (gas: 13426)
|
|
305
305
|
[PASS] test_credit() (gas: 62369)
|
|
306
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
306
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 66163, ~: 65954)
|
|
307
307
|
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
308
308
|
[PASS] test_debit() (gas: 36831)
|
|
309
309
|
[PASS] test_debit_Dust() (gas: 76272)
|
|
310
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
310
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79252, ~: 79886)
|
|
311
311
|
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
312
312
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
313
313
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
314
314
|
[PASS] test_debit_WithFee() (gas: 101145)
|
|
315
315
|
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
316
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
316
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105773, ~: 107585)
|
|
317
317
|
[PASS] test_initialize() (gas: 22406)
|
|
318
318
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
319
319
|
[PASS] test_pause_unpause() (gas: 61117)
|
|
@@ -323,7 +323,7 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
|
323
323
|
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
324
324
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
325
325
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
326
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
326
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137879, ~: 137703)
|
|
327
327
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
328
328
|
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
329
329
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
@@ -338,9 +338,9 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
|
338
338
|
[PASS] test_send_WithFee() (gas: 415240)
|
|
339
339
|
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
340
340
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
341
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
341
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38963, ~: 39011)
|
|
342
342
|
[PASS] test_token() (gas: 13483)
|
|
343
|
-
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in
|
|
343
|
+
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 2.02s (3.27s CPU time)
|
|
344
344
|
|
|
345
|
-
Ran 9 test suites in
|
|
346
|
-
⏳ forge test:
|
|
345
|
+
Ran 9 test suites in 2.25s (16.56s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
|
|
346
|
+
⏳ forge test: 1:22.268 (m:ss.mmm)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-upgradeable-evm-contracts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM upgradeable OFT implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"@openzeppelin/contracts-upgradeable": "^5.0.2",
|
|
15
15
|
"ethers": "^5.8.0",
|
|
16
16
|
"solhint": "^6.0.1",
|
|
17
|
-
"@layerzerolabs/
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/oapp-evm-contracts": "1.2.
|
|
22
|
-
"@layerzerolabs/utils-evm-contracts": "1.2.
|
|
23
|
-
"@layerzerolabs/
|
|
24
|
-
"@layerzerolabs/
|
|
17
|
+
"@layerzerolabs/oft-evm-contracts": "1.2.10",
|
|
18
|
+
"@layerzerolabs/test-utils-evm-contracts": "1.2.10",
|
|
19
|
+
"@layerzerolabs/solhint-configuration": "1.2.10",
|
|
20
|
+
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.10",
|
|
21
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.10",
|
|
22
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.10",
|
|
23
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.10",
|
|
24
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.10"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|