@layerzerolabs/oft-upgradeable-evm-contracts 1.2.13 → 1.2.14
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 +27 -27
- package/.turbo/turbo-lint.log +1 -109
- package/.turbo/turbo-test.log +178 -178
- package/package.json +11 -11
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-fcuzxg
|
|
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:35873) [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
18
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
19
19
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
20
20
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
21
21
|
📦 Docker volumes:
|
|
22
|
-
-v /tmp/lz-scoped-workspace-
|
|
22
|
+
-v /tmp/lz-scoped-workspace-fcuzxg:/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
|
-
$ 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-
|
|
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-
|
|
27
|
-
$ docker container rm
|
|
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-
|
|
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-4
|
|
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-4 true
|
|
27
|
+
$ docker container rm bf8e4c8b41b2af2cde8f5f238960218c7116d8a1309815e29ca5d13ea13834b1
|
|
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-4 (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-fcuzxg:/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-4 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: 9.803s
|
|
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-cxQjVK
|
|
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:38069) [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-cxQjVK:/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
|
-
$ 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-
|
|
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-
|
|
104
|
-
$ docker container rm
|
|
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-
|
|
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-4
|
|
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-4 true
|
|
104
|
+
$ docker container rm 62ffbbe07424ec95c92ec0c1e137f505e23983c51aa2983b11babfa870b3b053
|
|
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-4 (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-cxQjVK:/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-4 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:19.800 (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-W4LvrB
|
|
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:50469) [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-W4LvrB:/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
|
-
$ 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-
|
|
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-
|
|
135
|
-
$ docker container rm
|
|
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-
|
|
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-4
|
|
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-4 true
|
|
135
|
+
$ docker container rm 5fd199a6ebb417d5ed27c8c8407ea44218f6cf216c9f599f45281e4774a39de8
|
|
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-4 (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-W4LvrB:/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-4 hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
|
|
139
139
|
detected tron network, replacing deployments extension with custom one
|
|
140
140
|
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
141
141
|
Compiling contracts with tron solc v0.8.23
|
|
@@ -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: 32.712s
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -448,112 +448,4 @@ 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'
|
|
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
|
-
|
|
451
|
+
183:5 warning Missing @notice tag in function 'test_send'
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,108 +4,37 @@
|
|
|
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-GTbnbW
|
|
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:64770) [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-GTbnbW:/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
|
-
$ 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-
|
|
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-
|
|
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-4
|
|
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-4 (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-GTbnbW:/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-4 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 40.63s
|
|
24
24
|
Compiler run successful!
|
|
25
25
|
|
|
26
|
-
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
27
|
-
[PASS] test_credit() (gas: 89873)
|
|
28
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93078, ~: 93305)
|
|
29
|
-
[PASS] test_debit() (gas: 120710)
|
|
30
|
-
[PASS] test_debit_Dust() (gas: 145216)
|
|
31
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147461, ~: 148086)
|
|
32
|
-
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
33
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
34
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
35
|
-
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
36
|
-
[PASS] test_debit_WithFee() (gas: 166449)
|
|
37
|
-
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
38
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168176, ~: 170245)
|
|
39
|
-
[PASS] test_initialize() (gas: 24700)
|
|
40
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
41
|
-
[PASS] test_pause_unpause() (gas: 153198)
|
|
42
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
43
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
44
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
45
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
46
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
47
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
48
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193671, ~: 193521)
|
|
49
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
50
|
-
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
51
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
52
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
|
|
53
|
-
[PASS] test_send() (gas: 456534)
|
|
54
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 337267)
|
|
55
|
-
[PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
|
|
56
|
-
[PASS] test_send_WithFee() (gas: 504694)
|
|
57
|
-
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
58
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
59
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38964, ~: 39034)
|
|
60
|
-
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 565.12ms (1.77s CPU time)
|
|
61
|
-
|
|
62
|
-
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
63
|
-
[PASS] test_credit() (gas: 89871)
|
|
64
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93189, ~: 93303)
|
|
65
|
-
[PASS] test_debit() (gas: 98327)
|
|
66
|
-
[PASS] test_debit_Dust() (gas: 141836)
|
|
67
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144859, ~: 145461)
|
|
68
|
-
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
69
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
70
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
71
|
-
[PASS] test_debit_WithFee() (gas: 165270)
|
|
72
|
-
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
73
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171101, ~: 173204)
|
|
74
|
-
[PASS] test_initialize() (gas: 24700)
|
|
75
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
76
|
-
[PASS] test_pause_unpause() (gas: 132067)
|
|
77
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
78
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
79
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
80
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
81
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
82
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
83
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202496, ~: 202299)
|
|
84
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
85
|
-
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
86
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
87
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
|
|
88
|
-
[PASS] test_send() (gas: 421733)
|
|
89
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 310849)
|
|
90
|
-
[PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
|
|
91
|
-
[PASS] test_send_WithFee() (gas: 493959)
|
|
92
|
-
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
93
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
94
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38976, ~: 39034)
|
|
95
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 729.71ms (1.59s CPU time)
|
|
96
|
-
|
|
97
26
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
|
|
98
27
|
[PASS] test_credit() (gas: 89907)
|
|
99
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
28
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93201, ~: 93339)
|
|
100
29
|
[PASS] test_debit() (gas: 98305)
|
|
101
30
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
102
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
31
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142812, ~: 143477)
|
|
103
32
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
104
33
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
105
34
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
106
35
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
107
36
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
108
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
37
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168887, ~: 171220)
|
|
109
38
|
[PASS] test_initialize() (gas: 24722)
|
|
110
39
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
111
40
|
[PASS] test_pause_unpause() (gas: 130445)
|
|
@@ -115,7 +44,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
|
|
|
115
44
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
116
45
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
117
46
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
118
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
47
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200484, ~: 200315)
|
|
119
48
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
120
49
|
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
121
50
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -125,23 +54,23 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
|
|
|
125
54
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
126
55
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
127
56
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
128
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
129
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
57
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
|
|
58
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 500.30ms (1.15s CPU time)
|
|
130
59
|
|
|
131
60
|
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
132
61
|
[PASS] test_approvalRequired() (gas: 13426)
|
|
133
62
|
[PASS] test_credit() (gas: 62369)
|
|
134
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
63
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65694, ~: 65954)
|
|
135
64
|
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
136
65
|
[PASS] test_debit() (gas: 36831)
|
|
137
66
|
[PASS] test_debit_Dust() (gas: 76272)
|
|
138
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
67
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79265, ~: 79886)
|
|
139
68
|
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
140
69
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
141
70
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
142
71
|
[PASS] test_debit_WithFee() (gas: 101145)
|
|
143
72
|
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
144
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
73
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105719, ~: 107585)
|
|
145
74
|
[PASS] test_initialize() (gas: 22406)
|
|
146
75
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
147
76
|
[PASS] test_pause_unpause() (gas: 61117)
|
|
@@ -151,7 +80,7 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
|
151
80
|
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
152
81
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
153
82
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
154
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
83
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137884, ~: 137703)
|
|
155
84
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
156
85
|
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
157
86
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
@@ -166,22 +95,57 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
|
166
95
|
[PASS] test_send_WithFee() (gas: 415240)
|
|
167
96
|
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
168
97
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
169
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
98
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38862, ~: 39011)
|
|
170
99
|
[PASS] test_token() (gas: 13483)
|
|
171
|
-
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in
|
|
100
|
+
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 507.92ms (1.36s CPU time)
|
|
101
|
+
|
|
102
|
+
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
103
|
+
[PASS] test_credit() (gas: 89871)
|
|
104
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93120, ~: 93303)
|
|
105
|
+
[PASS] test_debit() (gas: 98327)
|
|
106
|
+
[PASS] test_debit_Dust() (gas: 141836)
|
|
107
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144754, ~: 145461)
|
|
108
|
+
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
109
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
110
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
111
|
+
[PASS] test_debit_WithFee() (gas: 165270)
|
|
112
|
+
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
113
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170818, ~: 173204)
|
|
114
|
+
[PASS] test_initialize() (gas: 24700)
|
|
115
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
116
|
+
[PASS] test_pause_unpause() (gas: 132067)
|
|
117
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
118
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
119
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
120
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
121
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
122
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
123
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202502, ~: 202299)
|
|
124
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
125
|
+
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
126
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
127
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
|
|
128
|
+
[PASS] test_send() (gas: 421733)
|
|
129
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 310849)
|
|
130
|
+
[PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
|
|
131
|
+
[PASS] test_send_WithFee() (gas: 493959)
|
|
132
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
133
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
134
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38971, ~: 39034)
|
|
135
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 508.68ms (1.48s CPU time)
|
|
172
136
|
|
|
173
137
|
Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
|
|
174
138
|
[PASS] test_credit() (gas: 91882)
|
|
175
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
139
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95158, ~: 95314)
|
|
176
140
|
[PASS] test_debit() (gas: 113036)
|
|
177
141
|
[PASS] test_debit_Dust() (gas: 137551)
|
|
178
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
142
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140316, ~: 140423)
|
|
179
143
|
[PASS] test_debit_PushesFees() (gas: 163342)
|
|
180
144
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
|
|
181
145
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
|
|
182
146
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
183
147
|
[PASS] test_debit_WithFee_Dust() (gas: 163430)
|
|
184
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
148
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163431, ~: 162567)
|
|
185
149
|
[PASS] test_initialize() (gas: 24656)
|
|
186
150
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
187
151
|
[PASS] test_pause_unpause() (gas: 145524)
|
|
@@ -191,7 +155,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
191
155
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
192
156
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
|
|
193
157
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
|
|
194
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
158
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198092, ~: 197912)
|
|
195
159
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
|
|
196
160
|
[PASS] test_rateLimit_Inflow() (gas: 132710)
|
|
197
161
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
|
|
@@ -202,89 +166,21 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
202
166
|
[PASS] test_send_WithFee() (gas: 516566)
|
|
203
167
|
[PASS] test_setFeeDeposit() (gas: 28423)
|
|
204
168
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
205
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
206
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
207
|
-
|
|
208
|
-
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
209
|
-
[PASS] test_credit() (gas: 89882)
|
|
210
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93077, ~: 93314)
|
|
211
|
-
[PASS] test_debit() (gas: 113036)
|
|
212
|
-
[PASS] test_debit_Dust() (gas: 135880)
|
|
213
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138291, ~: 138823)
|
|
214
|
-
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
215
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
216
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
217
|
-
[PASS] test_debit_WithFee() (gas: 163924)
|
|
218
|
-
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
219
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161585, ~: 160967)
|
|
220
|
-
[PASS] test_initialize() (gas: 24678)
|
|
221
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
222
|
-
[PASS] test_pause_unpause() (gas: 143924)
|
|
223
|
-
[PASS] test_quoteOFT() (gas: 70757)
|
|
224
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
|
|
225
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
|
|
226
|
-
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
227
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
228
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
229
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196097, ~: 195912)
|
|
230
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
231
|
-
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
232
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
233
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
|
|
234
|
-
[PASS] test_send() (gas: 418929)
|
|
235
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 325718)
|
|
236
|
-
[PASS] test_send_WithFee() (gas: 474453)
|
|
237
|
-
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
238
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
239
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38868, ~: 38945)
|
|
240
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 781.65ms (2.19s CPU time)
|
|
241
|
-
|
|
242
|
-
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
243
|
-
[PASS] test_credit() (gas: 89871)
|
|
244
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93127, ~: 93303)
|
|
245
|
-
[PASS] test_debit() (gas: 98327)
|
|
246
|
-
[PASS] test_debit_Dust() (gas: 139747)
|
|
247
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142608, ~: 143461)
|
|
248
|
-
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
249
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
250
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
251
|
-
[PASS] test_debit_WithFee() (gas: 165270)
|
|
252
|
-
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
253
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168231, ~: 171204)
|
|
254
|
-
[PASS] test_initialize() (gas: 24722)
|
|
255
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
256
|
-
[PASS] test_pause_unpause() (gas: 130467)
|
|
257
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
258
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
259
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
260
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
261
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
|
|
262
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
|
|
263
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200472, ~: 200299)
|
|
264
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
265
|
-
[PASS] test_rateLimit_Inflow() (gas: 108736)
|
|
266
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
267
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
|
|
268
|
-
[PASS] test_send() (gas: 400518)
|
|
269
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 308871)
|
|
270
|
-
[PASS] test_send_WithFee() (gas: 477338)
|
|
271
|
-
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
272
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
273
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
|
|
274
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 781.79ms (2.05s CPU time)
|
|
169
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38911, ~: 39012)
|
|
170
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 557.19ms (1.24s CPU time)
|
|
275
171
|
|
|
276
172
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
277
173
|
[PASS] test_credit() (gas: 89874)
|
|
278
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
174
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93027, ~: 93306)
|
|
279
175
|
[PASS] test_debit() (gas: 98332)
|
|
280
176
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
281
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
177
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143130, ~: 143477)
|
|
282
178
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
283
179
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
284
180
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
285
181
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
286
182
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
287
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
183
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168685, ~: 171220)
|
|
288
184
|
[PASS] test_initialize() (gas: 24722)
|
|
289
185
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
290
186
|
[PASS] test_pause_unpause() (gas: 130472)
|
|
@@ -294,7 +190,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
294
190
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
295
191
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
|
|
296
192
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
297
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
193
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200464, ~: 200309)
|
|
298
194
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
299
195
|
[PASS] test_rateLimit_Inflow() (gas: 108739)
|
|
300
196
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -304,22 +200,56 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
304
200
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
305
201
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
306
202
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
307
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
308
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
203
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 38967)
|
|
204
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 559.02ms (1.34s CPU time)
|
|
205
|
+
|
|
206
|
+
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
207
|
+
[PASS] test_credit() (gas: 89882)
|
|
208
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93197, ~: 93314)
|
|
209
|
+
[PASS] test_debit() (gas: 113036)
|
|
210
|
+
[PASS] test_debit_Dust() (gas: 135880)
|
|
211
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138326, ~: 138823)
|
|
212
|
+
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
213
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
214
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
215
|
+
[PASS] test_debit_WithFee() (gas: 163924)
|
|
216
|
+
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
217
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161651, ~: 160967)
|
|
218
|
+
[PASS] test_initialize() (gas: 24678)
|
|
219
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
220
|
+
[PASS] test_pause_unpause() (gas: 143924)
|
|
221
|
+
[PASS] test_quoteOFT() (gas: 70757)
|
|
222
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
|
|
223
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
|
|
224
|
+
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
225
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
226
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
227
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196085, ~: 195912)
|
|
228
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
229
|
+
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
230
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
231
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
|
|
232
|
+
[PASS] test_send() (gas: 418929)
|
|
233
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 325718)
|
|
234
|
+
[PASS] test_send_WithFee() (gas: 474453)
|
|
235
|
+
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
236
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
237
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38803, ~: 38945)
|
|
238
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 576.22ms (1.51s CPU time)
|
|
309
239
|
|
|
310
240
|
Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
|
|
311
241
|
[PASS] test_credit() (gas: 89873)
|
|
312
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
242
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93144, ~: 93305)
|
|
313
243
|
[PASS] test_debit() (gas: 120710)
|
|
314
244
|
[PASS] test_debit_Dust() (gas: 143616)
|
|
315
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
245
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145679, ~: 146486)
|
|
316
246
|
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
317
247
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
318
248
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
319
249
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
320
250
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
321
251
|
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
322
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
252
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166734, ~: 168645)
|
|
323
253
|
[PASS] test_initialize() (gas: 24700)
|
|
324
254
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
325
255
|
[PASS] test_pause_unpause() (gas: 151598)
|
|
@@ -329,7 +259,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
|
|
|
329
259
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
330
260
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
331
261
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
332
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
262
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192058, ~: 191921)
|
|
333
263
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
334
264
|
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
335
265
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -339,8 +269,78 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
|
|
|
339
269
|
[PASS] test_send_WithFee() (gas: 462592)
|
|
340
270
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
341
271
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
342
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
343
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
272
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38933, ~: 39034)
|
|
273
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 620.02ms (1.76s CPU time)
|
|
274
|
+
|
|
275
|
+
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
276
|
+
[PASS] test_credit() (gas: 89873)
|
|
277
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93093, ~: 93305)
|
|
278
|
+
[PASS] test_debit() (gas: 120710)
|
|
279
|
+
[PASS] test_debit_Dust() (gas: 145216)
|
|
280
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147416, ~: 148086)
|
|
281
|
+
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
282
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
283
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
284
|
+
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
285
|
+
[PASS] test_debit_WithFee() (gas: 166449)
|
|
286
|
+
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
287
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168302, ~: 170238)
|
|
288
|
+
[PASS] test_initialize() (gas: 24700)
|
|
289
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
290
|
+
[PASS] test_pause_unpause() (gas: 153198)
|
|
291
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
292
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
293
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
294
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
295
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
296
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
297
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193686, ~: 193521)
|
|
298
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
299
|
+
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
300
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
301
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
|
|
302
|
+
[PASS] test_send() (gas: 456534)
|
|
303
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 337267)
|
|
304
|
+
[PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
|
|
305
|
+
[PASS] test_send_WithFee() (gas: 504694)
|
|
306
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
307
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
308
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38971, ~: 39034)
|
|
309
|
+
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 620.14ms (1.53s CPU time)
|
|
310
|
+
|
|
311
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
312
|
+
[PASS] test_credit() (gas: 89871)
|
|
313
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93236, ~: 93303)
|
|
314
|
+
[PASS] test_debit() (gas: 98327)
|
|
315
|
+
[PASS] test_debit_Dust() (gas: 139747)
|
|
316
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142722, ~: 143461)
|
|
317
|
+
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
318
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
319
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
320
|
+
[PASS] test_debit_WithFee() (gas: 165270)
|
|
321
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
322
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169064, ~: 171204)
|
|
323
|
+
[PASS] test_initialize() (gas: 24722)
|
|
324
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
325
|
+
[PASS] test_pause_unpause() (gas: 130467)
|
|
326
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
327
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
328
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
329
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
330
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
|
|
331
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
|
|
332
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200485, ~: 200299)
|
|
333
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
334
|
+
[PASS] test_rateLimit_Inflow() (gas: 108736)
|
|
335
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
336
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
|
|
337
|
+
[PASS] test_send() (gas: 400518)
|
|
338
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308871)
|
|
339
|
+
[PASS] test_send_WithFee() (gas: 477338)
|
|
340
|
+
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
341
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
342
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
|
|
343
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 620.13ms (1.62s CPU time)
|
|
344
344
|
|
|
345
|
-
Ran 9 test suites in
|
|
346
|
-
⏳ forge test:
|
|
345
|
+
Ran 9 test suites in 896.00ms (5.07s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
|
|
346
|
+
⏳ forge test: 44.167s
|
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.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM upgradeable OFT implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"@layerzerolabs/lz-evm-v1-0.7": "3.0.168",
|
|
11
11
|
"@layerzerolabs/test-devtools-evm-foundry": "8.0.1",
|
|
12
12
|
"@layerzerolabs/toolbox-foundry": "^0.1.13",
|
|
13
|
-
"@openzeppelin/contracts": "
|
|
14
|
-
"@openzeppelin/contracts-upgradeable": "
|
|
13
|
+
"@openzeppelin/contracts": ">=5.0.2 <5.5.0",
|
|
14
|
+
"@openzeppelin/contracts-upgradeable": ">=5.0.2 <5.5.0",
|
|
15
15
|
"ethers": "^5.8.0",
|
|
16
16
|
"solhint": "^6.0.1",
|
|
17
|
-
"@layerzerolabs/oapp-evm-contracts": "1.2.
|
|
18
|
-
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/utils-evm-contracts": "1.2.
|
|
23
|
-
"@layerzerolabs/
|
|
24
|
-
"@layerzerolabs/
|
|
17
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.14",
|
|
18
|
+
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.14",
|
|
19
|
+
"@layerzerolabs/oft-evm-contracts": "1.2.14",
|
|
20
|
+
"@layerzerolabs/solhint-configuration": "1.2.14",
|
|
21
|
+
"@layerzerolabs/test-utils-evm-contracts": "1.2.14",
|
|
22
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.14",
|
|
23
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.14",
|
|
24
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.14"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|