@layerzerolabs/lz-evm-messagelib-v2 2.3.24 → 2.3.26

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @layerzerolabs/lz-evm-messagelib-v2
2
2
 
3
+ ## 2.3.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 92a9a2e: upgrade solana mainnet executor/uln
8
+ - Updated dependencies [92a9a2e]
9
+ - @layerzerolabs/lz-utilities@2.3.26
10
+ - @layerzerolabs/lz-evm-v1-0.7@2.3.26
11
+ - @layerzerolabs/lz-evm-protocol-v2@2.3.26
12
+
13
+ ## 2.3.25
14
+
15
+ ### Patch Changes
16
+
17
+ - 003371b: endpoints, including flare mainnet
18
+ - 003371b: testnet endpoints
19
+ - Updated dependencies [003371b]
20
+ - Updated dependencies [003371b]
21
+ - @layerzerolabs/lz-utilities@2.3.25
22
+ - @layerzerolabs/lz-evm-v1-0.7@2.3.25
23
+ - @layerzerolabs/lz-evm-protocol-v2@2.3.25
24
+
3
25
  ## 2.3.24
4
26
 
5
27
  ### Patch Changes
@@ -0,0 +1,164 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DeadDVN",
4
+ "sourceName": "contracts/uln/dvn/DeadDVN.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "uint32",
12
+ "name": "dstEid",
13
+ "type": "uint32"
14
+ },
15
+ {
16
+ "internalType": "bytes",
17
+ "name": "packetHeader",
18
+ "type": "bytes"
19
+ },
20
+ {
21
+ "internalType": "bytes32",
22
+ "name": "payloadHash",
23
+ "type": "bytes32"
24
+ },
25
+ {
26
+ "internalType": "uint64",
27
+ "name": "confirmations",
28
+ "type": "uint64"
29
+ },
30
+ {
31
+ "internalType": "address",
32
+ "name": "sender",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "internalType": "struct ILayerZeroDVN.AssignJobParam",
37
+ "name": "",
38
+ "type": "tuple"
39
+ },
40
+ {
41
+ "internalType": "bytes",
42
+ "name": "",
43
+ "type": "bytes"
44
+ }
45
+ ],
46
+ "name": "assignJob",
47
+ "outputs": [
48
+ {
49
+ "internalType": "uint256",
50
+ "name": "",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "stateMutability": "payable",
55
+ "type": "function"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "uint16",
61
+ "name": "",
62
+ "type": "uint16"
63
+ },
64
+ {
65
+ "internalType": "uint16",
66
+ "name": "",
67
+ "type": "uint16"
68
+ },
69
+ {
70
+ "internalType": "uint64",
71
+ "name": "",
72
+ "type": "uint64"
73
+ },
74
+ {
75
+ "internalType": "address",
76
+ "name": "",
77
+ "type": "address"
78
+ }
79
+ ],
80
+ "name": "assignJob",
81
+ "outputs": [
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "",
85
+ "type": "uint256"
86
+ }
87
+ ],
88
+ "stateMutability": "pure",
89
+ "type": "function"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "uint32",
95
+ "name": "",
96
+ "type": "uint32"
97
+ },
98
+ {
99
+ "internalType": "uint64",
100
+ "name": "",
101
+ "type": "uint64"
102
+ },
103
+ {
104
+ "internalType": "address",
105
+ "name": "",
106
+ "type": "address"
107
+ },
108
+ {
109
+ "internalType": "bytes",
110
+ "name": "",
111
+ "type": "bytes"
112
+ }
113
+ ],
114
+ "name": "getFee",
115
+ "outputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "stateMutability": "pure",
123
+ "type": "function"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "uint16",
129
+ "name": "",
130
+ "type": "uint16"
131
+ },
132
+ {
133
+ "internalType": "uint16",
134
+ "name": "",
135
+ "type": "uint16"
136
+ },
137
+ {
138
+ "internalType": "uint64",
139
+ "name": "",
140
+ "type": "uint64"
141
+ },
142
+ {
143
+ "internalType": "address",
144
+ "name": "",
145
+ "type": "address"
146
+ }
147
+ ],
148
+ "name": "getFee",
149
+ "outputs": [
150
+ {
151
+ "internalType": "uint256",
152
+ "name": "",
153
+ "type": "uint256"
154
+ }
155
+ ],
156
+ "stateMutability": "pure",
157
+ "type": "function"
158
+ }
159
+ ],
160
+ "bytecode": "0x608060405234801561001057600080fd5b506103a6806100206000396000f3fe60806040526004361061003f5760003560e01c806330bb3aac146100445780635553fb8e1461007657806395d376d714610091578063c5e193cd14610076575b600080fd5b34801561005057600080fd5b5061006461005f366004610180565b61009f565b60405190815260200160405180910390f35b34801561008257600080fd5b5061006461005f366004610213565b61006461005f366004610267565b60006040518060600160405280602b8152602001610346602b91396040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ed91906102d8565b60405180910390fd5b803567ffffffffffffffff8116811461010e57600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461010e57600080fd5b60008083601f84011261014957600080fd5b50813567ffffffffffffffff81111561016157600080fd5b60208301915083602082850101111561017957600080fd5b9250929050565b60008060008060006080868803121561019857600080fd5b853563ffffffff811681146101ac57600080fd5b94506101ba602087016100f6565b93506101c860408701610113565b9250606086013567ffffffffffffffff8111156101e457600080fd5b6101f088828901610137565b969995985093965092949392505050565b803561ffff8116811461010e57600080fd5b6000806000806080858703121561022957600080fd5b61023285610201565b935061024060208601610201565b925061024e604086016100f6565b915061025c60608601610113565b905092959194509250565b60008060006040848603121561027c57600080fd5b833567ffffffffffffffff8082111561029457600080fd5b9085019060a082880312156102a857600080fd5b909350602085013590808211156102be57600080fd5b506102cb86828701610137565b9497909650939450505050565b60006020808352835180602085015260005b81811015610306578581018301518582016040015282016102ea565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fe506c656173652073657420796f7572204f41707027732044564e7320616e642f6f72204578656375746f72a2646970667358221220fbca79d5876a76f055fd560499a026c72577d4a575b6453a8deec5c2e228ee0064736f6c63430008160033",
161
+ "deployedBytecode": "0x60806040526004361061003f5760003560e01c806330bb3aac146100445780635553fb8e1461007657806395d376d714610091578063c5e193cd14610076575b600080fd5b34801561005057600080fd5b5061006461005f366004610180565b61009f565b60405190815260200160405180910390f35b34801561008257600080fd5b5061006461005f366004610213565b61006461005f366004610267565b60006040518060600160405280602b8152602001610346602b91396040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ed91906102d8565b60405180910390fd5b803567ffffffffffffffff8116811461010e57600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461010e57600080fd5b60008083601f84011261014957600080fd5b50813567ffffffffffffffff81111561016157600080fd5b60208301915083602082850101111561017957600080fd5b9250929050565b60008060008060006080868803121561019857600080fd5b853563ffffffff811681146101ac57600080fd5b94506101ba602087016100f6565b93506101c860408701610113565b9250606086013567ffffffffffffffff8111156101e457600080fd5b6101f088828901610137565b969995985093965092949392505050565b803561ffff8116811461010e57600080fd5b6000806000806080858703121561022957600080fd5b61023285610201565b935061024060208601610201565b925061024e604086016100f6565b915061025c60608601610113565b905092959194509250565b60008060006040848603121561027c57600080fd5b833567ffffffffffffffff8082111561029457600080fd5b9085019060a082880312156102a857600080fd5b909350602085013590808211156102be57600080fd5b506102cb86828701610137565b9497909650939450505050565b60006020808352835180602085015260005b81811015610306578581018301518582016040015282016102ea565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fe506c656173652073657420796f7572204f41707027732044564e7320616e642f6f72204578656375746f72a2646970667358221220fbca79d5876a76f055fd560499a026c72577d4a575b6453a8deec5c2e228ee0064736f6c63430008160033",
162
+ "linkReferences": {},
163
+ "deployedLinkReferences": {}
164
+ }
@@ -0,0 +1,30 @@
1
+ // SPDX-License-Identifier: LZBL-1.2
2
+
3
+ pragma solidity ^0.8.20;
4
+
5
+ import { ILayerZeroDVN } from "../interfaces/ILayerZeroDVN.sol";
6
+
7
+ contract DeadDVN is ILayerZeroDVN {
8
+ string internal constant ERROR_NOT_ALLOWED = "Please set your OApp's DVNs and/or Executor";
9
+
10
+ /// @dev for ULN301, ULN302 and more to assign job
11
+ function assignJob(AssignJobParam calldata, bytes calldata) external payable returns (uint256) {
12
+ revert(ERROR_NOT_ALLOWED);
13
+ }
14
+
15
+ /// @dev to support ULNv2
16
+ function assignJob(uint16, uint16, uint64, address) external pure returns (uint256) {
17
+ revert(ERROR_NOT_ALLOWED);
18
+ }
19
+
20
+ // ========================= View =========================
21
+
22
+ function getFee(uint32, uint64, address, bytes calldata) external pure returns (uint256) {
23
+ revert(ERROR_NOT_ALLOWED);
24
+ }
25
+
26
+ /// @dev to support ULNv2
27
+ function getFee(uint16, uint16, uint64, address) public pure returns (uint256) {
28
+ revert(ERROR_NOT_ALLOWED);
29
+ }
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-evm-messagelib-v2",
3
- "version": "2.3.24",
3
+ "version": "2.3.26",
4
4
  "license": "LZBL-1.2",
5
5
  "files": [
6
6
  "artifacts/contracts/**/!(*.dbg).json",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "dependencies": {},
13
13
  "devDependencies": {
14
- "@layerzerolabs/lz-evm-protocol-v2": "^2.3.24",
15
- "@layerzerolabs/lz-evm-v1-0.7": "^2.3.24",
14
+ "@layerzerolabs/lz-evm-protocol-v2": "^2.3.26",
15
+ "@layerzerolabs/lz-evm-v1-0.7": "^2.3.26",
16
16
  "@openzeppelin/contracts": "^4.8.1",
17
17
  "@openzeppelin/contracts-upgradeable": "^4.8.1",
18
18
  "hardhat-deploy": "^0.11.44",
@@ -24,8 +24,8 @@
24
24
  "@axelar-network/axelar-gmp-sdk-solidity": "^5.6.4",
25
25
  "@chainlink/contracts-ccip": "^0.7.6",
26
26
  "@eth-optimism/contracts": "^0.6.0",
27
- "@layerzerolabs/lz-evm-protocol-v2": "^2.3.24",
28
- "@layerzerolabs/lz-evm-v1-0.7": "^2.3.24",
27
+ "@layerzerolabs/lz-evm-protocol-v2": "^2.3.26",
28
+ "@layerzerolabs/lz-evm-v1-0.7": "^2.3.26",
29
29
  "@openzeppelin/contracts": "^4.8.1 || ^5.0.0",
30
30
  "@openzeppelin/contracts-upgradeable": "^4.8.1 || ^5.0.0",
31
31
  "hardhat-deploy": "^0.11.44",