@layerzerolabs/oft-evm-contracts 1.2.19 → 1.2.20

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.
Files changed (101) hide show
  1. package/.turbo/turbo-build.log +140 -33
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +97 -75
  4. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
  5. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  6. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
  7. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
  8. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
  9. package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
  10. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
  11. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
  12. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
  13. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
  14. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +130 -0
  15. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
  16. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
  17. package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
  18. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
  19. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +116 -0
  20. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
  21. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
  22. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
  23. package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
  24. package/artifacts/build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json +1 -0
  25. package/artifacts/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
  26. package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
  27. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
  28. package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
  29. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
  30. package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
  31. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
  32. package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
  33. package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
  34. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
  35. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  36. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
  37. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
  38. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
  39. package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
  40. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
  41. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
  42. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
  43. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
  44. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +130 -0
  45. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
  46. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
  47. package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
  48. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
  49. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +116 -0
  50. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
  51. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
  52. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
  53. package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
  54. package/artifacts-tron/build-info/6372fe30cb41b2f9b7315d1272ecb0f3.json +1 -0
  55. package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
  56. package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
  57. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
  58. package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
  59. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
  60. package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
  61. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
  62. package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
  63. package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
  64. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
  65. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  66. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
  67. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
  68. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
  69. package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
  70. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
  71. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
  72. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
  73. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
  74. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +131 -0
  75. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
  76. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
  77. package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
  78. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
  79. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +117 -0
  80. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
  81. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
  82. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
  83. package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
  84. package/artifacts-zk/build-info/d2467fad10cf5fa07f3c4c460f383314.json +1 -0
  85. package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
  86. package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
  87. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
  88. package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
  89. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
  90. package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
  91. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
  92. package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
  93. package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
  94. package/contracts/interfaces/IOFTExtended.sol +17 -4
  95. package/foundry.toml +2 -2
  96. package/hardhat.config.js +54 -0
  97. package/package.json +13 -10
  98. package/turbo-snapshot.lock.json +144 -96
  99. package/artifacts/build-info/eba77569fb49f02e67cb445bb3ee5d37.json +0 -1
  100. package/artifacts-tron/build-info/8846688aca1ca86abc2af4e130f3effa.json +0 -1
  101. package/artifacts-zk/build-info/be85166c48418856c8b56dff21efc105.json +0 -1
@@ -6,90 +6,197 @@
6
6
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
7
7
 
8
8
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:evm /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
9
- > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js
9
+ > pnpm lz-tool hardhat compile --config ./hardhat.config.js
10
10
 
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-Oa4eGA
14
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-hK2txq
15
15
  📦 Copied 9 workspace package source(s)
16
16
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
17
- (node:31360) [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.
17
+ (node:28736) [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-Oa4eGA:/workspace
22
+ -v /tmp/lz-scoped-workspace-hK2txq:/workspace
23
23
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-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-4
26
+ Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
27
+ 📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 (platform: linux/amd64)
28
+ $ docker pull --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
29
+ forge-1.3.6-hardhat-2.26.3-patch-4: Pulling from layerzerolabs/evm-tooling
30
+ 17639c486e57: Pulling fs layer
31
+ 53d86cd64323: Pulling fs layer
32
+ bbd7db620433: Pulling fs layer
33
+ dd8d0adb78c1: Pulling fs layer
34
+ e2082273f6a6: Pulling fs layer
35
+ 6aca5ecbfbf0: Pulling fs layer
36
+ 57cfa89d22f0: Pulling fs layer
37
+ 95f21f1a21d0: Pulling fs layer
38
+ 796d60317d4d: Pulling fs layer
39
+ c35d7f83b6fc: Pulling fs layer
40
+ 8f1cde221fc4: Pulling fs layer
41
+ bcbb9eb73fb5: Pulling fs layer
42
+ c8e19a2c627e: Pulling fs layer
43
+ b79abc894e87: Pulling fs layer
44
+ 63ec365deef1: Pulling fs layer
45
+ 36a7bdc86737: Pulling fs layer
46
+ 36a7bdc86737: Waiting
47
+ 53d86cd64323: Download complete
48
+ bbd7db620433: Download complete
49
+ c35d7f83b6fc: Waiting
50
+ 8f1cde221fc4: Waiting
51
+ bcbb9eb73fb5: Waiting
52
+ 796d60317d4d: Waiting
53
+ dd8d0adb78c1: Download complete
54
+ e2082273f6a6: Download complete
55
+ 6aca5ecbfbf0: Waiting
56
+ 57cfa89d22f0: Waiting
57
+ c8e19a2c627e: Waiting
58
+ 95f21f1a21d0: Waiting
59
+ b79abc894e87: Waiting
60
+ 63ec365deef1: Waiting
61
+ 6aca5ecbfbf0: Download complete
62
+ 796d60317d4d: Download complete
63
+ 57cfa89d22f0: Verifying Checksum
64
+ 57cfa89d22f0: Download complete
65
+ c35d7f83b6fc: Download complete
66
+ 8f1cde221fc4: Download complete
67
+ bcbb9eb73fb5: Verifying Checksum
68
+ bcbb9eb73fb5: Download complete
69
+ c8e19a2c627e: Verifying Checksum
70
+ c8e19a2c627e: Download complete
71
+ 17639c486e57: Pull complete
72
+ 95f21f1a21d0: Verifying Checksum
73
+ 95f21f1a21d0: Download complete
74
+ b79abc894e87: Verifying Checksum
75
+ b79abc894e87: Download complete
76
+ 36a7bdc86737: Download complete
77
+ 53d86cd64323: Pull complete
78
+ 63ec365deef1: Verifying Checksum
79
+ 63ec365deef1: Download complete
80
+ bbd7db620433: Pull complete
81
+ dd8d0adb78c1: Pull complete
82
+ e2082273f6a6: Pull complete
83
+ 6aca5ecbfbf0: Pull complete
84
+ 57cfa89d22f0: Pull complete
85
+ 95f21f1a21d0: Pull complete
86
+ 796d60317d4d: Pull complete
87
+ c35d7f83b6fc: Pull complete
88
+ 8f1cde221fc4: Pull complete
89
+ bcbb9eb73fb5: Pull complete
90
+ c8e19a2c627e: Pull complete
91
+ b79abc894e87: Pull complete
92
+ 63ec365deef1: Pull complete
93
+ 36a7bdc86737: Pull complete
94
+ Digest: sha256:778dd8fe35fba1405c5995090a0d4167609e8b03ece06b005fb0e067f4f7e2ab
95
+ Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
96
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
26
97
  $ 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 a94b9704d3ff547c7d1a9856fd752099ef8d274af4b0e43e66607f2fdbe9f363
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)
98
+ $ docker container rm de8df57e872632a204207e3d5bee2bb5bd006d117e49605d90bd9cacd22dc3b6
99
+ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
29
100
  👤 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-Oa4eGA:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
- Compiling 21 Solidity files
32
- Successfully compiled 21 Solidity files
33
- hardhat compile --config /hardhat/hardhat.default.config.js: 2.356s
101
+ $ 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-hK2txq:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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.config.js
102
+ Downloading solc 0.8.26
103
+ Compiling 23 Solidity files
104
+ Successfully compiled 23 Solidity files
105
+ ⏳ hardhat compile --config ./hardhat.config.js: 2.498s
34
106
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
35
107
 
36
108
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
37
- > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet
109
+ > pnpm lz-tool hardhat compile --config ./hardhat.config.js --network zksync-mainnet
38
110
 
39
111
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
40
112
  ✅ forge-1.3.6-hardhat-2.26.3
41
113
  🔧 hardhat version: 2.26.3
42
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-EBCrSC
114
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-2s8uWe
43
115
  📦 Copied 9 workspace package source(s)
44
116
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
45
- (node:32843) [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.
117
+ (node:29852) [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.
46
118
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
47
119
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
48
120
  (Use `node --trace-warnings ...` to show where the warning was created)
49
121
  📦 Docker volumes:
50
- -v /tmp/lz-scoped-workspace-EBCrSC:/workspace
122
+ -v /tmp/lz-scoped-workspace-2s8uWe:/workspace
51
123
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
52
124
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
53
125
  $ 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
54
126
  $ 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
55
- $ docker container rm 4e03e50f367a677f84412fa2d2f6e3d7d6ce504085f8f5817616254d963e8aa8
127
+ $ docker container rm 76551485d9a07e5b239729805545216e038568299d247aed7f94bdcb3ed634a6
56
128
  ✅ 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)
57
129
  👤 Running container as UID:GID 1001:1001
58
- $ 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-EBCrSC:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
59
- The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
60
- 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.
61
- Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
62
- Compiling 21 Solidity files
63
- Successfully compiled 21 Solidity files
64
- hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.626s
130
+ $ 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-2s8uWe:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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.config.js --network zksync-mainnet
131
+ Downloading zksolc 1.5.15
132
+ zksolc version 1.5.15 successfully downloaded
133
+ Downloading zkvm-solc 0.8.26-1.0.2
134
+ zkvm-solc version 0.8.26-1.0.2 successfully downloaded
135
+ Compiling contracts for ZKsync Era with zksolc v1.5.15 and zkvm-solc v0.8.26-1.0.2
136
+ Compiling 23 Solidity files
137
+ Warning: The default codegen of `zksolc` does not match that of `solc` for historical reasons.
138
+ Whereas `solc` uses the EVM [legacy] assembly codegen by default, zksolc uses the Yul codegen.
139
+
140
+ It often leads to different behavior of the bytecode generated from specific cases of Solidity language features.
141
+ In practice, contracts that work correctly on EVM may produce different and unexpected results on ZKsync.
142
+
143
+ The affected Solidity features are listed at https://docs.soliditylang.org/en/latest/ir-breaking-changes.html,
144
+ although this list may be incomplete.
145
+
146
+ >>> IMPORTANT! This warning will become a hard error in future versions of `zksolc` to reduce potential security issues <<<
147
+
148
+ To mitigate the warning, please follow the instructions below depending on how you are using `zksolc`.
149
+ `foundry-zksync`:
150
+ - `codegen = value` in the `[profile.default.zksync]` section of the project config (e.g. `foundry.toml`)
151
+ `hardhat`:
152
+ - "codegen": <value> in the `zksolc.settings` section of the project config (e.g. `hardhat.config.js`)
153
+ Directly via standard JSON I/O without tooling:
154
+ - "codegen": <value> in the `<root>.settings` section of the input JSON
155
+ Directly via CLI:
156
+ - pass the `--codegen <value>` parameter
157
+
158
+ Allowed values:
159
+ "evmla": the default codegen used in `solc` by default, a.k.a. EVM legacy assembly or simply EVM assembly.
160
+ "yul": the new experimental `solc` codegen that has been used in `zksolc` by default.
161
+
162
+ For reference, see the following links:
163
+ - `zksolc` CLI reference: https://matter-labs.github.io/era-compiler-solidity/latest/02-command-line-interface.html#--codegen
164
+ - `zksolc` standard JSON input reference: https://matter-labs.github.io/era-compiler-solidity/latest/03-standard-json.html#input-json
165
+
166
+ Successfully compiled 23 Solidity files
167
+ ⏳ hardhat compile --config ./hardhat.config.js --network zksync-mainnet: 2.589s
65
168
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
66
169
 
67
170
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
68
- > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
171
+ > pnpm lz-tool hardhat compile --config ./hardhat.config.js --network tron-mainnet
69
172
 
70
173
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
71
174
  ✅ forge-1.3.6-hardhat-2.26.3
72
175
  🔧 hardhat version: 2.26.3
73
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-Mv9XpX
176
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-Sri13w
74
177
  📦 Copied 9 workspace package source(s)
75
178
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
76
- (node:34430) [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.
179
+ (node:30699) [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.
77
180
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
78
181
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
79
182
  (Use `node --trace-warnings ...` to show where the warning was created)
80
183
  📦 Docker volumes:
81
- -v /tmp/lz-scoped-workspace-Mv9XpX:/workspace
184
+ -v /tmp/lz-scoped-workspace-Sri13w:/workspace
82
185
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
83
186
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
84
187
  $ 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
85
188
  $ 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
86
- $ docker container rm e40601915ec13153c0c7f7d9a5b75a85cc6b5a393ae1091209d0a4fd340c173e
189
+ $ docker container rm beccac008c3785bd3301fc0dbc437c4cb5dc17fd47fa4f2cf99f996fc56e8418
87
190
  ✅ 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)
88
191
  👤 Running container as UID:GID 1001:1001
89
- $ 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-Mv9XpX:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
192
+ $ 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-Sri13w:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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.config.js --network tron-mainnet
90
193
  detected tron network, replacing deployments extension with custom one
91
- Tron-solc v0.8.23 is unknown version, attempting anyway...
92
- Compiling contracts with tron solc v0.8.23
93
- Compiling 21 Solidity files
94
- Successfully compiled 21 Solidity files
95
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.118s
194
+ Tron-solc v0.8.24 is unknown version, attempting anyway...
195
+ Compiling contracts with tron solc v0.8.24
196
+ Downloading tron solc compiler...
197
+ Tron-solc v0.8.24 is unknown version, attempting anyway...
198
+ /root/.tron/solc/soljson_v0.8.24.js <- https://tronsuper.github.io/tron-solc-bin/bin/soljson_v0.8.24.js
199
+ Downloaded compiler - 8681 KB in 0 secs
200
+ Compiling 23 Solidity files
201
+ Successfully compiled 23 Solidity files
202
+ ⏳ hardhat compile --config ./hardhat.config.js --network tron-mainnet: 2.665s
@@ -21,7 +21,7 @@ contracts/interfaces/IOFT.sol
21
21
  69:5 warning GC: [amountReceivedLD] on Event [OFTReceived] could be Indexed gas-indexed-events
22
22
 
23
23
  contracts/interfaces/IOFTExtended.sol
24
- 17:1 warning Code contains empty blocks no-empty-blocks
24
+ 21:1 warning Code contains empty blocks no-empty-blocks
25
25
 
26
26
  contracts/libs/OFTComposeMsgCodec.sol
27
27
  4:1 warning Missing @title tag in contract 'OFTComposeMsgCodec' use-natspec
@@ -4,15 +4,15 @@
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-MupOT8
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-dTsqYk
8
8
  📦 Copied 9 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:62392) [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.
10
+ (node:61469) [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-MupOT8:/workspace
15
+ -v /tmp/lz-scoped-workspace-dTsqYk:/workspace
16
16
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-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-4
@@ -20,7 +20,7 @@ Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazon
20
20
  📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
21
21
  $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
22
22
  forge-1.3.6-hardhat-2.26.3-patch-4: Pulling from layerzerolabs/evm-tooling
23
- 17639c486e57: Already exists
23
+ 17639c486e57: Pulling fs layer
24
24
  53d86cd64323: Pulling fs layer
25
25
  bbd7db620433: Pulling fs layer
26
26
  dd8d0adb78c1: Pulling fs layer
@@ -28,38 +28,60 @@ e2082273f6a6: Pulling fs layer
28
28
  6aca5ecbfbf0: Pulling fs layer
29
29
  57cfa89d22f0: Pulling fs layer
30
30
  95f21f1a21d0: Pulling fs layer
31
- bbd7db620433: Download complete
32
31
  796d60317d4d: Pulling fs layer
33
32
  c35d7f83b6fc: Pulling fs layer
34
- 6aca5ecbfbf0: Download complete
35
- dd8d0adb78c1: Download complete
36
- e2082273f6a6: Download complete
37
33
  8f1cde221fc4: Pulling fs layer
38
- 57cfa89d22f0: Download complete
39
- 796d60317d4d: Download complete
40
34
  bcbb9eb73fb5: Pulling fs layer
41
- c35d7f83b6fc: Download complete
42
35
  c8e19a2c627e: Pulling fs layer
43
- 8f1cde221fc4: Download complete
44
36
  b79abc894e87: Pulling fs layer
45
- bcbb9eb73fb5: Download complete
46
37
  63ec365deef1: Pulling fs layer
47
- c8e19a2c627e: Download complete
38
+ 6aca5ecbfbf0: Waiting
48
39
  36a7bdc86737: Pulling fs layer
49
40
  36a7bdc86737: Waiting
41
+ 57cfa89d22f0: Waiting
42
+ 95f21f1a21d0: Waiting
43
+ c8e19a2c627e: Waiting
44
+ bcbb9eb73fb5: Waiting
45
+ b79abc894e87: Waiting
46
+ 796d60317d4d: Waiting
47
+ c35d7f83b6fc: Waiting
48
+ 8f1cde221fc4: Waiting
49
+ 63ec365deef1: Waiting
50
+ 53d86cd64323: Download complete
51
+ e2082273f6a6: Waiting
52
+ dd8d0adb78c1: Verifying Checksum
53
+ dd8d0adb78c1: Download complete
54
+ 17639c486e57: Download complete
55
+ e2082273f6a6: Verifying Checksum
56
+ e2082273f6a6: Download complete
57
+ bbd7db620433: Verifying Checksum
58
+ bbd7db620433: Download complete
59
+ 6aca5ecbfbf0: Download complete
60
+ 796d60317d4d: Verifying Checksum
61
+ 796d60317d4d: Download complete
62
+ 17639c486e57: Pull complete
63
+ c35d7f83b6fc: Download complete
64
+ 57cfa89d22f0: Verifying Checksum
65
+ 57cfa89d22f0: Download complete
66
+ 8f1cde221fc4: Verifying Checksum
67
+ 8f1cde221fc4: Download complete
68
+ bcbb9eb73fb5: Verifying Checksum
69
+ bcbb9eb73fb5: Download complete
50
70
  53d86cd64323: Pull complete
51
- 95f21f1a21d0: Verifying Checksum
52
- 95f21f1a21d0: Download complete
53
- b79abc894e87: Verifying Checksum
54
- b79abc894e87: Download complete
55
- 63ec365deef1: Verifying Checksum
56
- 63ec365deef1: Download complete
57
- 36a7bdc86737: Download complete
71
+ c8e19a2c627e: Download complete
58
72
  bbd7db620433: Pull complete
59
73
  dd8d0adb78c1: Pull complete
60
74
  e2082273f6a6: Pull complete
61
75
  6aca5ecbfbf0: Pull complete
62
76
  57cfa89d22f0: Pull complete
77
+ 95f21f1a21d0: Verifying Checksum
78
+ 95f21f1a21d0: Download complete
79
+ 36a7bdc86737: Verifying Checksum
80
+ 36a7bdc86737: Download complete
81
+ 63ec365deef1: Verifying Checksum
82
+ 63ec365deef1: Download complete
83
+ b79abc894e87: Verifying Checksum
84
+ b79abc894e87: Download complete
63
85
  95f21f1a21d0: Pull complete
64
86
  796d60317d4d: Pull complete
65
87
  c35d7f83b6fc: Pull complete
@@ -74,61 +96,61 @@ Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/lay
74
96
  438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
75
97
  ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
76
98
  👤 Running container as UID:GID 1001:1001
77
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-MupOT8:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 forge test
78
- Compiling 41 files with Solc 0.8.22
79
- Solc 0.8.22 finished in 1.11s
99
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-dTsqYk:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 forge test
100
+ Compiling 43 files with Solc 0.8.26
101
+ Solc 0.8.26 finished in 993.22ms
80
102
  Compiler run successful!
81
103
 
82
104
  Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
83
- [PASS] test_Roundtrip_Fuzz_toLD_toSD_18_6(uint64) (runs: 1000, μ: 9883, ~: 9883)
84
- [PASS] test_Roundtrip_Fuzz_toSD_toLD_18_6(uint104) (runs: 1000, μ: 11371, ~: 11371)
85
- [PASS] test_Roundtrip_toLD_toSD_18_6() (gas: 9716)
86
- [PASS] test_Roundtrip_toSD_toLD_18_6() (gas: 10666)
87
- [PASS] test_constructor_0_0() (gas: 10767)
88
- [PASS] test_constructor_18_6() (gas: 10982)
89
- [PASS] test_constructor_18_8() (gas: 10747)
90
- [PASS] test_constructor_6_6() (gas: 10747)
91
- [PASS] test_constructor_8_6() (gas: 10791)
92
- [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 191119, ~: 191177)
93
- [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
94
- [PASS] test_removeDust_0_0() (gas: 8695)
95
- [PASS] test_removeDust_18_6_NoDust() (gas: 8704)
96
- [PASS] test_removeDust_18_6_OnlyDust() (gas: 8690)
97
- [PASS] test_removeDust_18_6_WithDust() (gas: 8737)
98
- [PASS] test_removeDust_18_6_Zero() (gas: 8705)
99
- [PASS] test_removeDust_6_6() (gas: 8752)
100
- [PASS] test_removeDust_8_6_WithDust() (gas: 8706)
101
- [PASS] test_removeDust_Fuzz_0_0(uint256) (runs: 1000, μ: 10280, ~: 10280)
102
- [PASS] test_removeDust_Fuzz_18_6(uint256) (runs: 1000, μ: 11862, ~: 11862)
103
- [PASS] test_removeDust_Fuzz_6_6(uint256) (runs: 1000, μ: 10226, ~: 10226)
104
- [PASS] test_removeDust_Fuzz_8_6(uint256) (runs: 1000, μ: 10374, ~: 10374)
105
- [PASS] test_toLD_0_0() (gas: 8735)
106
- [PASS] test_toLD_18_6() (gas: 8704)
107
- [PASS] test_toLD_18_6_MaxUint64() (gas: 8782)
108
- [PASS] test_toLD_18_6_Zero() (gas: 8713)
109
- [PASS] test_toLD_6_6() (gas: 8735)
110
- [PASS] test_toLD_8_6() (gas: 8662)
111
- [PASS] test_toLD_Fuzz_0_0(uint64) (runs: 1000, μ: 8823, ~: 8823)
112
- [PASS] test_toLD_Fuzz_18_6(uint64) (runs: 1000, μ: 8977, ~: 8977)
113
- [PASS] test_toLD_Fuzz_6_6(uint64) (runs: 1000, μ: 8835, ~: 8835)
114
- [PASS] test_toLD_Fuzz_8_6(uint64) (runs: 1000, μ: 8900, ~: 8900)
115
- [PASS] test_toSD_0_0() (gas: 8650)
116
- [PASS] test_toSD_18_6() (gas: 8647)
117
- [PASS] test_toSD_18_6_LessThanConversionRate() (gas: 8635)
118
- [PASS] test_toSD_18_6_Truncates() (gas: 8690)
119
- [PASS] test_toSD_18_6_Zero() (gas: 8666)
120
- [PASS] test_toSD_6_6() (gas: 8629)
121
- [PASS] test_toSD_8_6() (gas: 8673)
122
- [PASS] test_toSD_Fuzz_0_0(uint64) (runs: 1000, μ: 8855, ~: 8855)
123
- [PASS] test_toSD_Fuzz_18_6(uint104) (runs: 1000, μ: 10099, ~: 10099)
124
- [PASS] test_toSD_Fuzz_6_6(uint64) (runs: 1000, μ: 8845, ~: 8845)
125
- [PASS] test_toSD_Fuzz_8_6(uint72) (runs: 1000, μ: 9318, ~: 9318)
126
- [PASS] test_toSD_Fuzz_Revert_AmountSDOverflowed_18_6(uint256) (runs: 1000, μ: 9748, ~: 9748)
127
- [PASS] test_toSD_Fuzz_Revert_AmountSDOverflowed_6_6(uint256) (runs: 1000, μ: 9586, ~: 9586)
128
- [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
129
- [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
130
- [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
131
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 92.82ms (667.34ms CPU time)
105
+ [PASS] test_Roundtrip_Fuzz_toLD_toSD_18_6(uint64) (runs: 1000, μ: 9752, ~: 9752)
106
+ [PASS] test_Roundtrip_Fuzz_toSD_toLD_18_6(uint104) (runs: 1000, μ: 11143, ~: 11143)
107
+ [PASS] test_Roundtrip_toLD_toSD_18_6() (gas: 9609)
108
+ [PASS] test_Roundtrip_toSD_toLD_18_6() (gas: 10521)
109
+ [PASS] test_constructor_0_0() (gas: 10637)
110
+ [PASS] test_constructor_18_6() (gas: 10870)
111
+ [PASS] test_constructor_18_8() (gas: 10617)
112
+ [PASS] test_constructor_6_6() (gas: 10617)
113
+ [PASS] test_constructor_8_6() (gas: 10661)
114
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 208983, ~: 209037)
115
+ [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36023)
116
+ [PASS] test_removeDust_0_0() (gas: 8607)
117
+ [PASS] test_removeDust_18_6_NoDust() (gas: 8616)
118
+ [PASS] test_removeDust_18_6_OnlyDust() (gas: 8602)
119
+ [PASS] test_removeDust_18_6_WithDust() (gas: 8649)
120
+ [PASS] test_removeDust_18_6_Zero() (gas: 8617)
121
+ [PASS] test_removeDust_6_6() (gas: 8664)
122
+ [PASS] test_removeDust_8_6_WithDust() (gas: 8618)
123
+ [PASS] test_removeDust_Fuzz_0_0(uint256) (runs: 1000, μ: 10104, ~: 10104)
124
+ [PASS] test_removeDust_Fuzz_18_6(uint256) (runs: 1000, μ: 11732, ~: 11732)
125
+ [PASS] test_removeDust_Fuzz_6_6(uint256) (runs: 1000, μ: 10050, ~: 10050)
126
+ [PASS] test_removeDust_Fuzz_8_6(uint256) (runs: 1000, μ: 10198, ~: 10198)
127
+ [PASS] test_toLD_0_0() (gas: 8635)
128
+ [PASS] test_toLD_18_6() (gas: 8616)
129
+ [PASS] test_toLD_18_6_MaxUint64() (gas: 8670)
130
+ [PASS] test_toLD_18_6_Zero() (gas: 8625)
131
+ [PASS] test_toLD_6_6() (gas: 8635)
132
+ [PASS] test_toLD_8_6() (gas: 8574)
133
+ [PASS] test_toLD_Fuzz_0_0(uint64) (runs: 1000, μ: 8699, ~: 8699)
134
+ [PASS] test_toLD_Fuzz_18_6(uint64) (runs: 1000, μ: 8853, ~: 8853)
135
+ [PASS] test_toLD_Fuzz_6_6(uint64) (runs: 1000, μ: 8711, ~: 8711)
136
+ [PASS] test_toLD_Fuzz_8_6(uint64) (runs: 1000, μ: 8776, ~: 8776)
137
+ [PASS] test_toSD_0_0() (gas: 8605)
138
+ [PASS] test_toSD_18_6() (gas: 8602)
139
+ [PASS] test_toSD_18_6_LessThanConversionRate() (gas: 8590)
140
+ [PASS] test_toSD_18_6_Truncates() (gas: 8645)
141
+ [PASS] test_toSD_18_6_Zero() (gas: 8621)
142
+ [PASS] test_toSD_6_6() (gas: 8584)
143
+ [PASS] test_toSD_8_6() (gas: 8628)
144
+ [PASS] test_toSD_Fuzz_0_0(uint64) (runs: 1000, μ: 8786, ~: 8786)
145
+ [PASS] test_toSD_Fuzz_18_6(uint104) (runs: 1000, μ: 9994, ~: 9994)
146
+ [PASS] test_toSD_Fuzz_6_6(uint64) (runs: 1000, μ: 8776, ~: 8776)
147
+ [PASS] test_toSD_Fuzz_8_6(uint72) (runs: 1000, μ: 9214, ~: 9214)
148
+ [PASS] test_toSD_Fuzz_Revert_AmountSDOverflowed_18_6(uint256) (runs: 1000, μ: 9479, ~: 9479)
149
+ [PASS] test_toSD_Fuzz_Revert_AmountSDOverflowed_6_6(uint256) (runs: 1000, μ: 9305, ~: 9305)
150
+ [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 8888)
151
+ [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9033)
152
+ [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 8943)
153
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 105.42ms (606.02ms CPU time)
132
154
 
133
- Ran 1 test suite in 104.17ms (92.82ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
134
- ⏳ forge test: 3.885s
155
+ Ran 1 test suite in 113.49ms (105.42ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
156
+ ⏳ forge test: 4.234s
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eba77569fb49f02e67cb445bb3ee5d37.json"
3
+ "buildInfo": "../../../../../build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json"
4
4
  }