@layerzerolabs/oft-upgradeable-evm-contracts 1.2.10 → 1.2.11
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 +20 -20
- package/.turbo/turbo-lint.log +1 -109
- package/.turbo/turbo-test.log +195 -195
- 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-hzlk3e
|
|
15
15
|
📦 Copied 13 workspace package source(s)
|
|
16
16
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
17
|
-
(node:
|
|
18
|
-
📦 Docker volumes:
|
|
17
|
+
(node:208154) [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.
|
|
19
18
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
20
19
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
21
20
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
22
|
-
|
|
21
|
+
📦 Docker volumes:
|
|
22
|
+
-v /tmp/lz-scoped-workspace-hzlk3e:/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 baef7d2e1417fe11b602f5e341af43d81af6d7c7cf79b32f4baf6c40241d66ce
|
|
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-hzlk3e:/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: 8.933s
|
|
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-mQwS8e
|
|
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:220223) [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-mQwS8e:/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 3513a183f8cd2be871ca19f61e277a285f34f33b151bec3473de24116c40aac7
|
|
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-mQwS8e:/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:05.580 (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,26 +119,26 @@ 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-xgCdqS
|
|
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:258859) [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-xgCdqS:/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 752cce81c7c84ac9db45f6e3cc73709ba8773780e223926b6c5b6424c9c552ac
|
|
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-xgCdqS:/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
|
-
Compiling contracts with tron solc v0.8.23
|
|
141
140
|
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
141
|
+
Compiling contracts with tron solc v0.8.23
|
|
142
142
|
Compiling 76 Solidity files
|
|
143
143
|
Warning: Contract code size is 29971 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
|
|
144
144
|
--> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
|
|
@@ -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: 24.600s
|
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,141 +4,113 @@
|
|
|
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-XeLjPX
|
|
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:240831) [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-XeLjPX:/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-XeLjPX:/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 61.58s
|
|
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] test_initialize() (gas: 24700)
|
|
26
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
|
|
27
|
+
[PASS] test_credit() (gas: 89907)
|
|
28
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93132, ~: 93339)
|
|
29
|
+
[PASS] test_debit() (gas: 98305)
|
|
30
|
+
[PASS] test_debit_Dust() (gas: 139763)
|
|
31
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142565, ~: 143477)
|
|
32
|
+
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
33
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
34
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
35
|
+
[PASS] test_debit_WithFee() (gas: 165286)
|
|
36
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
37
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168848, ~: 171220)
|
|
38
|
+
[PASS] test_initialize() (gas: 24722)
|
|
40
39
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
41
|
-
[PASS] test_pause_unpause() (gas:
|
|
40
|
+
[PASS] test_pause_unpause() (gas: 130445)
|
|
42
41
|
[PASS] test_quoteOFT() (gas: 70712)
|
|
43
42
|
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
44
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas:
|
|
43
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
45
44
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
46
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas:
|
|
47
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas:
|
|
48
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
49
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas:
|
|
50
|
-
[PASS] test_rateLimit_Inflow() (gas:
|
|
45
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
46
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
47
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200489, ~: 200315)
|
|
48
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
49
|
+
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
51
50
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
52
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas:
|
|
53
|
-
[PASS] test_send() (gas:
|
|
54
|
-
[PASS] test_send_Revert_MsgInspection() (gas:
|
|
55
|
-
[PASS] test_send_WithFee() (gas:
|
|
56
|
-
[PASS] test_setFeeDeposit() (gas:
|
|
57
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
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)
|
|
60
|
-
|
|
61
|
-
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
62
|
-
[PASS] test_credit() (gas: 89871)
|
|
63
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93093, ~: 93303)
|
|
64
|
-
[PASS] test_debit() (gas: 98327)
|
|
65
|
-
[PASS] test_debit_Dust() (gas: 141836)
|
|
66
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144201, ~: 145461)
|
|
67
|
-
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
68
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
69
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
70
|
-
[PASS] test_debit_WithFee() (gas: 165270)
|
|
71
|
-
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
72
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170679, ~: 173204)
|
|
73
|
-
[PASS] test_initialize() (gas: 24700)
|
|
74
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
75
|
-
[PASS] test_pause_unpause() (gas: 132067)
|
|
76
|
-
[PASS] test_quoteOFT() (gas: 70712)
|
|
77
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
78
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
79
|
-
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
80
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
81
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
82
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202482, ~: 202299)
|
|
83
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
84
|
-
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
85
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
86
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
|
|
87
|
-
[PASS] test_send() (gas: 421733)
|
|
88
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 310849)
|
|
89
|
-
[PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
|
|
90
|
-
[PASS] test_send_WithFee() (gas: 493959)
|
|
91
|
-
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
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)
|
|
92
56
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
93
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
94
|
-
Suite result: ok.
|
|
57
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
|
|
58
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 576.29ms (1.85s CPU time)
|
|
95
59
|
|
|
96
|
-
Ran
|
|
97
|
-
[PASS]
|
|
98
|
-
[PASS]
|
|
99
|
-
[PASS]
|
|
100
|
-
[PASS]
|
|
101
|
-
[PASS]
|
|
102
|
-
[PASS]
|
|
103
|
-
[PASS]
|
|
104
|
-
[PASS]
|
|
105
|
-
[PASS]
|
|
106
|
-
[PASS]
|
|
107
|
-
[PASS]
|
|
108
|
-
[PASS]
|
|
109
|
-
[PASS]
|
|
110
|
-
[PASS]
|
|
111
|
-
[PASS]
|
|
112
|
-
[PASS]
|
|
113
|
-
[PASS]
|
|
114
|
-
[PASS]
|
|
115
|
-
[PASS]
|
|
116
|
-
[PASS]
|
|
117
|
-
[PASS]
|
|
118
|
-
[PASS]
|
|
119
|
-
[PASS]
|
|
120
|
-
[PASS]
|
|
121
|
-
[PASS]
|
|
122
|
-
[PASS]
|
|
123
|
-
[PASS]
|
|
124
|
-
[PASS]
|
|
125
|
-
[PASS]
|
|
126
|
-
[PASS]
|
|
127
|
-
[PASS]
|
|
128
|
-
|
|
60
|
+
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
61
|
+
[PASS] test_approvalRequired() (gas: 13426)
|
|
62
|
+
[PASS] test_credit() (gas: 62369)
|
|
63
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65891, ~: 65954)
|
|
64
|
+
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
65
|
+
[PASS] test_debit() (gas: 36831)
|
|
66
|
+
[PASS] test_debit_Dust() (gas: 76272)
|
|
67
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79490, ~: 79886)
|
|
68
|
+
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
69
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
70
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
71
|
+
[PASS] test_debit_WithFee() (gas: 101145)
|
|
72
|
+
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
73
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105795, ~: 107585)
|
|
74
|
+
[PASS] test_initialize() (gas: 22406)
|
|
75
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
76
|
+
[PASS] test_pause_unpause() (gas: 61117)
|
|
77
|
+
[PASS] test_quoteOFT() (gas: 70779)
|
|
78
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
|
|
79
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
|
|
80
|
+
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
81
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
82
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
83
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137874, ~: 137703)
|
|
84
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
85
|
+
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
86
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
87
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
|
|
88
|
+
[PASS] test_send() (gas: 352734)
|
|
89
|
+
[PASS] test_send_PushesFees() (gas: 415282)
|
|
90
|
+
[PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
|
|
91
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
|
|
92
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
|
|
93
|
+
[PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
|
|
94
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 221169)
|
|
95
|
+
[PASS] test_send_WithFee() (gas: 415240)
|
|
96
|
+
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
97
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
98
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38910, ~: 39011)
|
|
99
|
+
[PASS] test_token() (gas: 13483)
|
|
100
|
+
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 664.46ms (1.51s CPU time)
|
|
129
101
|
|
|
130
102
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
131
103
|
[PASS] test_credit() (gas: 89871)
|
|
132
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
104
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93191, ~: 93303)
|
|
133
105
|
[PASS] test_debit() (gas: 98327)
|
|
134
106
|
[PASS] test_debit_Dust() (gas: 139747)
|
|
135
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
107
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142689, ~: 143461)
|
|
136
108
|
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
137
109
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
138
110
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
139
111
|
[PASS] test_debit_WithFee() (gas: 165270)
|
|
140
112
|
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
141
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
113
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169299, ~: 171204)
|
|
142
114
|
[PASS] test_initialize() (gas: 24722)
|
|
143
115
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
144
116
|
[PASS] test_pause_unpause() (gas: 130467)
|
|
@@ -159,21 +131,21 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
|
159
131
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
160
132
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
161
133
|
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38861, ~: 38967)
|
|
162
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
134
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 676.83ms (2.27s CPU time)
|
|
163
135
|
|
|
164
136
|
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
165
137
|
[PASS] test_credit() (gas: 89873)
|
|
166
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
138
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93071, ~: 93305)
|
|
167
139
|
[PASS] test_debit() (gas: 120710)
|
|
168
140
|
[PASS] test_debit_Dust() (gas: 145216)
|
|
169
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
141
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147533, ~: 148086)
|
|
170
142
|
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
171
143
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
172
144
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
173
145
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
174
146
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
175
147
|
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
176
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
148
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168356, ~: 170245)
|
|
177
149
|
[PASS] test_initialize() (gas: 24700)
|
|
178
150
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
179
151
|
[PASS] test_pause_unpause() (gas: 153198)
|
|
@@ -183,7 +155,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
183
155
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
184
156
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
185
157
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
186
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
158
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193670, ~: 193521)
|
|
187
159
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
188
160
|
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
189
161
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -194,21 +166,21 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
194
166
|
[PASS] test_send_WithFee() (gas: 504694)
|
|
195
167
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
196
168
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
197
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
198
|
-
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in
|
|
169
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38957, ~: 39034)
|
|
170
|
+
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 681.99ms (1.92s CPU time)
|
|
199
171
|
|
|
200
172
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
201
173
|
[PASS] test_credit() (gas: 89874)
|
|
202
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
174
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93264, ~: 93306)
|
|
203
175
|
[PASS] test_debit() (gas: 98332)
|
|
204
176
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
205
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
177
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142343, ~: 143477)
|
|
206
178
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
207
179
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
208
180
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
209
181
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
210
182
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
211
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
183
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169065, ~: 171220)
|
|
212
184
|
[PASS] test_initialize() (gas: 24722)
|
|
213
185
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
214
186
|
[PASS] test_pause_unpause() (gas: 130472)
|
|
@@ -218,7 +190,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
218
190
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
219
191
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
|
|
220
192
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
221
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
193
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200474, ~: 200309)
|
|
222
194
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
223
195
|
[PASS] test_rateLimit_Inflow() (gas: 108739)
|
|
224
196
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -228,21 +200,90 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
228
200
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
229
201
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
230
202
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
231
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
232
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
203
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
|
|
204
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 682.76ms (2.14s 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, μ: 93324, ~: 93314)
|
|
209
|
+
[PASS] test_debit() (gas: 113036)
|
|
210
|
+
[PASS] test_debit_Dust() (gas: 135880)
|
|
211
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138501, ~: 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, μ: 161431, ~: 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, μ: 196109, ~: 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, μ: 38873, ~: 38945)
|
|
238
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 703.35ms (1.89s CPU time)
|
|
239
|
+
|
|
240
|
+
Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
|
|
241
|
+
[PASS] test_credit() (gas: 89873)
|
|
242
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93273, ~: 93305)
|
|
243
|
+
[PASS] test_debit() (gas: 120710)
|
|
244
|
+
[PASS] test_debit_Dust() (gas: 143616)
|
|
245
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145438, ~: 146486)
|
|
246
|
+
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
247
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
248
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
249
|
+
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
250
|
+
[PASS] test_debit_WithFee() (gas: 166449)
|
|
251
|
+
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
252
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166579, ~: 168645)
|
|
253
|
+
[PASS] test_initialize() (gas: 24700)
|
|
254
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
255
|
+
[PASS] test_pause_unpause() (gas: 151598)
|
|
256
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
257
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
258
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
259
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
260
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
261
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
262
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192067, ~: 191921)
|
|
263
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
264
|
+
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
265
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
266
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
|
|
267
|
+
[PASS] test_send() (gas: 387136)
|
|
268
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 335267)
|
|
269
|
+
[PASS] test_send_WithFee() (gas: 462592)
|
|
270
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
271
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
272
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38933, ~: 39034)
|
|
273
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 710.39ms (1.89s CPU time)
|
|
233
274
|
|
|
234
275
|
Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
|
|
235
276
|
[PASS] test_credit() (gas: 91882)
|
|
236
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
277
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95120, ~: 95314)
|
|
237
278
|
[PASS] test_debit() (gas: 113036)
|
|
238
279
|
[PASS] test_debit_Dust() (gas: 137551)
|
|
239
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
280
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139867, ~: 141029)
|
|
240
281
|
[PASS] test_debit_PushesFees() (gas: 163342)
|
|
241
282
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
|
|
242
283
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
|
|
243
284
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
244
285
|
[PASS] test_debit_WithFee_Dust() (gas: 163430)
|
|
245
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
286
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163634, ~: 162567)
|
|
246
287
|
[PASS] test_initialize() (gas: 24656)
|
|
247
288
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
248
289
|
[PASS] test_pause_unpause() (gas: 145524)
|
|
@@ -252,7 +293,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
252
293
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
253
294
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
|
|
254
295
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
|
|
255
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
296
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198090, ~: 197912)
|
|
256
297
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
|
|
257
298
|
[PASS] test_rateLimit_Inflow() (gas: 132710)
|
|
258
299
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
|
|
@@ -263,84 +304,43 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
263
304
|
[PASS] test_send_WithFee() (gas: 516566)
|
|
264
305
|
[PASS] test_setFeeDeposit() (gas: 28423)
|
|
265
306
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
266
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
267
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
307
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38916, ~: 39012)
|
|
308
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 734.19ms (2.10s CPU time)
|
|
268
309
|
|
|
269
|
-
Ran
|
|
270
|
-
[PASS] test_credit() (gas:
|
|
271
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
272
|
-
[PASS] test_debit() (gas:
|
|
273
|
-
[PASS] test_debit_Dust() (gas:
|
|
274
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
275
|
-
[PASS] test_debit_PushesFees() (gas:
|
|
276
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas:
|
|
277
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas:
|
|
278
|
-
[PASS] test_debit_WithFee() (gas:
|
|
279
|
-
[PASS] test_debit_WithFee_Dust() (gas:
|
|
280
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
281
|
-
[PASS] test_initialize() (gas:
|
|
310
|
+
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
311
|
+
[PASS] test_credit() (gas: 89871)
|
|
312
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93171, ~: 93303)
|
|
313
|
+
[PASS] test_debit() (gas: 98327)
|
|
314
|
+
[PASS] test_debit_Dust() (gas: 141836)
|
|
315
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144489, ~: 145461)
|
|
316
|
+
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
317
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
318
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
319
|
+
[PASS] test_debit_WithFee() (gas: 165270)
|
|
320
|
+
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
321
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170460, ~: 173204)
|
|
322
|
+
[PASS] test_initialize() (gas: 24700)
|
|
282
323
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
283
|
-
[PASS] test_pause_unpause() (gas:
|
|
324
|
+
[PASS] test_pause_unpause() (gas: 132067)
|
|
284
325
|
[PASS] test_quoteOFT() (gas: 70712)
|
|
285
326
|
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
286
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas:
|
|
327
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
287
328
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
288
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas:
|
|
289
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas:
|
|
290
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
291
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas:
|
|
292
|
-
[PASS] test_rateLimit_Inflow() (gas:
|
|
293
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas:
|
|
294
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas:
|
|
295
|
-
[PASS] test_send() (gas:
|
|
296
|
-
[PASS] test_send_Revert_MsgInspection() (gas:
|
|
297
|
-
[PASS]
|
|
298
|
-
[PASS]
|
|
329
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
330
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
331
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202482, ~: 202299)
|
|
332
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
333
|
+
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
334
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
335
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
|
|
336
|
+
[PASS] test_send() (gas: 421733)
|
|
337
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 310849)
|
|
338
|
+
[PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
|
|
339
|
+
[PASS] test_send_WithFee() (gas: 493959)
|
|
340
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
299
341
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
300
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
301
|
-
Suite result: ok.
|
|
302
|
-
|
|
303
|
-
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
304
|
-
[PASS] test_approvalRequired() (gas: 13426)
|
|
305
|
-
[PASS] test_credit() (gas: 62369)
|
|
306
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 66163, ~: 65954)
|
|
307
|
-
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
308
|
-
[PASS] test_debit() (gas: 36831)
|
|
309
|
-
[PASS] test_debit_Dust() (gas: 76272)
|
|
310
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79252, ~: 79886)
|
|
311
|
-
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
312
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
313
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
314
|
-
[PASS] test_debit_WithFee() (gas: 101145)
|
|
315
|
-
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
316
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105773, ~: 107585)
|
|
317
|
-
[PASS] test_initialize() (gas: 22406)
|
|
318
|
-
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
319
|
-
[PASS] test_pause_unpause() (gas: 61117)
|
|
320
|
-
[PASS] test_quoteOFT() (gas: 70779)
|
|
321
|
-
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
|
|
322
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
|
|
323
|
-
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
324
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
325
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
326
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137879, ~: 137703)
|
|
327
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
328
|
-
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
329
|
-
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
330
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
|
|
331
|
-
[PASS] test_send() (gas: 352734)
|
|
332
|
-
[PASS] test_send_PushesFees() (gas: 415282)
|
|
333
|
-
[PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
|
|
334
|
-
[PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
|
|
335
|
-
[PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
|
|
336
|
-
[PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
|
|
337
|
-
[PASS] test_send_Revert_MsgInspection() (gas: 221169)
|
|
338
|
-
[PASS] test_send_WithFee() (gas: 415240)
|
|
339
|
-
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
340
|
-
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
341
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38963, ~: 39011)
|
|
342
|
-
[PASS] test_token() (gas: 13483)
|
|
343
|
-
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 2.02s (3.27s CPU time)
|
|
342
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38938, ~: 39034)
|
|
343
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 875.02ms (1.62s CPU time)
|
|
344
344
|
|
|
345
|
-
Ran 9 test suites in
|
|
346
|
-
⏳ forge test: 1:
|
|
345
|
+
Ran 9 test suites in 903.57ms (6.31s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
|
|
346
|
+
⏳ forge test: 1:06.433 (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.11",
|
|
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/solhint-configuration": "1.2.
|
|
20
|
-
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/utils-
|
|
23
|
-
"@layerzerolabs/
|
|
24
|
-
"@layerzerolabs/
|
|
17
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.11",
|
|
18
|
+
"@layerzerolabs/oft-evm-contracts": "1.2.11",
|
|
19
|
+
"@layerzerolabs/solhint-configuration": "1.2.11",
|
|
20
|
+
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.11",
|
|
21
|
+
"@layerzerolabs/test-utils-evm-contracts": "1.2.11",
|
|
22
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.11",
|
|
23
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.11",
|
|
24
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.11"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|