Skip to content

Commit 4e082e1

Browse files
committed
Update contracts-ccip to 1.6.3
1 parent d15eccb commit 4e082e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+6189
-55
lines changed

package-lock.json

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@chainlink/cl-search-frontend": "^0.12.0",
6363
"@chainlink/components": "^0.4.18",
6464
"@chainlink/contracts": "1.5.0",
65-
"@chainlink/contracts-ccip": "1.6.2",
65+
"@chainlink/contracts-ccip": "1.6.3",
6666
"@chainlink/design-system": "^0.2.8",
6767
"@chainlink/local": "0.2.7-beta",
6868
"@chainlink/solana-sdk": "^0.2.2",
@@ -109,7 +109,6 @@
109109
},
110110
"devDependencies": {
111111
"@apidevtools/swagger-parser": "^10.1.1",
112-
"solhint-plugin-chainlink-solidity": "github:smartcontractkit/chainlink-solhint-rules#v1.3.0",
113112
"@jest/globals": "^29.7.0",
114113
"@project-serum/anchor": "^0.26.0",
115114
"@rollup/plugin-yaml": "^4.1.2",
@@ -139,16 +138,17 @@
139138
"pino-pretty": "^13.1.2",
140139
"prettier": "^3.5.3",
141140
"prettier-plugin-astro": "^0.14.1",
141+
"remark-gfm": "^4.0.0",
142+
"remark-mdx": "^3.1.0",
143+
"remark-parse": "^11.0.0",
144+
"remark-stringify": "^11.0.0",
142145
"solhint": "^6.0.1",
146+
"solhint-plugin-chainlink-solidity": "github:smartcontractkit/chainlink-solhint-rules#v1.3.0",
143147
"ts-jest": "^29.4.5",
144148
"tsconfig-paths": "^4.2.0",
145149
"tsx": "^4.20.6",
146150
"typescript": "^5.9.3",
147151
"unified": "^11.0.4",
148-
"remark-parse": "^11.0.0",
149-
"remark-mdx": "^3.1.0",
150-
"remark-gfm": "^4.0.0",
151-
"remark-stringify": "^11.0.0",
152152
"unist-util-visit": "^5.0.0",
153153
"vite": "^6.4.1"
154154
},

src/config/data/ccip/data.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ import * as errors_v1_5_1 from "./errors/v1_5_1/index.ts"
5050
import * as errors_v1_6_0 from "./errors/v1_6_0/index.ts"
5151
// eslint-disable-next-line camelcase
5252
import * as errors_v1_6_1 from "./errors/v1_6_1/index.ts"
53+
// eslint-disable-next-line camelcase
54+
import * as errors_v1_6_2 from "./errors/v1_6_2/index.ts"
55+
// eslint-disable-next-line camelcase
56+
import * as errors_v1_6_3 from "./errors/v1_6_3/index.ts"
5357

5458
export const getAllEnvironments = () => [Environment.Mainnet, Environment.Testnet]
5559
export const getAllVersions = () => [Version.V1_2_0]
@@ -74,12 +78,16 @@ type ErrorTypesV160 = ErrorTypesV151 & {
7478
}
7579

7680
type ErrorTypesV161 = ErrorTypesV160
81+
type ErrorTypesV162 = ErrorTypesV161
82+
type ErrorTypesV163 = ErrorTypesV162
7783

7884
type VersionedErrors = {
7985
v1_5_0: ErrorTypesV150
8086
v1_5_1: ErrorTypesV151
8187
v1_6_0: ErrorTypesV160
8288
v1_6_1: ErrorTypesV161
89+
v1_6_2: ErrorTypesV162
90+
v1_6_3: ErrorTypesV163
8391
}
8492

8593
// Export errors by version with type safety
@@ -92,6 +100,10 @@ export const errors: VersionedErrors = {
92100
v1_6_0: errors_v1_6_0 as ErrorTypesV160,
93101
// eslint-disable-next-line camelcase
94102
v1_6_1: errors_v1_6_1 as ErrorTypesV161,
103+
// eslint-disable-next-line camelcase
104+
v1_6_2: errors_v1_6_2 as ErrorTypesV162,
105+
// eslint-disable-next-line camelcase
106+
v1_6_3: errors_v1_6_3 as ErrorTypesV163,
95107
}
96108

97109
export const networkFees: NetworkFees = {
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"error": "MaxSupplyExceeded",
4+
"parameters": [
5+
{
6+
"type": "uint256",
7+
"name": "supplyAfterMint"
8+
}
9+
],
10+
"errorSelector": "0xcbbf1113",
11+
"description": "Thrown when a mint operation would cause the total supply to exceed the maximum supply limit."
12+
},
13+
{
14+
"error": "InvalidRecipient",
15+
"parameters": [
16+
{
17+
"type": "address",
18+
"name": "recipient"
19+
}
20+
],
21+
"errorSelector": "0x17858bbe",
22+
"description": "Thrown when attempting to transfer or approve tokens for the contract itself (address(this))."
23+
}
24+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"error": "ERC20: burn amount exceeds balance",
4+
"description": "Thrown when the amount to be burned exceeds the pool balance."
5+
},
6+
{
7+
"error": "ERC20: transfer amount exceeds allowance",
8+
"description": "Thrown when the transfer amount exceeds the allowance."
9+
}
10+
]
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
[
2+
{
3+
"error": "InvalidExtraArgsTag",
4+
"parameters": [],
5+
"errorSelector": "0x5247fdce",
6+
"description": "Thrown when an invalid extra arguments tag is used."
7+
},
8+
{
9+
"error": "MessageTooLarge",
10+
"parameters": [
11+
{
12+
"type": "uint256",
13+
"name": "maxSize"
14+
},
15+
{
16+
"type": "uint256",
17+
"name": "actualSize"
18+
}
19+
],
20+
"errorSelector": "0x86933789",
21+
"description": "Thrown when the message size exceeds the maximum allowed size."
22+
},
23+
{
24+
"error": "MessageGasLimitTooHigh",
25+
"parameters": [],
26+
"errorSelector": "0x4c4fc93a",
27+
"description": "Thrown when the gas limit exceeds the maximum per-message gas limit."
28+
},
29+
{
30+
"error": "UnsupportedNumberOfTokens",
31+
"parameters": [
32+
{
33+
"type": "uint256",
34+
"name": "numberOfTokens"
35+
},
36+
{
37+
"type": "uint256",
38+
"name": "maxNumberOfTokensPerMsg"
39+
}
40+
],
41+
"errorSelector": "0x4c056b6a",
42+
"description": "Thrown when too many tokens are involved in the transfer."
43+
},
44+
{
45+
"error": "ExtraArgOutOfOrderExecutionMustBeTrue",
46+
"parameters": [],
47+
"errorSelector": "0xee433e99",
48+
"description": "Thrown when enforceOutOfOrder is true but allowOutOfOrderExecution is false."
49+
},
50+
{
51+
"error": "SourceTokenDataTooLarge",
52+
"parameters": [
53+
{
54+
"name": "token",
55+
"type": "address"
56+
}
57+
],
58+
"errorSelector": "0x36f536ca",
59+
"description": "Thrown when the source token data exceeds the configured maximum size."
60+
},
61+
{
62+
"error": "TokenNotSupported",
63+
"parameters": [
64+
{
65+
"type": "address",
66+
"name": "token"
67+
}
68+
],
69+
"errorSelector": "0x06439c6b",
70+
"description": "Thrown when a token's price isn't configured or is zero."
71+
},
72+
{
73+
"error": "FeeTokenNotSupported",
74+
"parameters": [
75+
{
76+
"type": "address",
77+
"name": "token"
78+
}
79+
],
80+
"errorSelector": "0x2502348c",
81+
"description": "Thrown when the fee token isn't in the allowed fee tokens list."
82+
},
83+
{
84+
"error": "StaleGasPrice",
85+
"parameters": [
86+
{
87+
"type": "uint64",
88+
"name": "destChainSelector"
89+
},
90+
{
91+
"type": "uint256",
92+
"name": "threshold"
93+
},
94+
{
95+
"type": "uint256",
96+
"name": "timePassed"
97+
}
98+
],
99+
"errorSelector": "0xf08bcb3e",
100+
"description": "Thrown when a gas price is too old based on the chain's staleness threshold."
101+
},
102+
{
103+
"error": "DataFeedValueOutOfUint224Range",
104+
"parameters": [],
105+
"errorSelector": "0x10cb51d1",
106+
"description": "Thrown when price feed values exceed uint224 range."
107+
},
108+
{
109+
"error": "DestinationChainNotEnabled",
110+
"parameters": [
111+
{
112+
"type": "uint64",
113+
"name": "destChainSelector"
114+
}
115+
],
116+
"errorSelector": "0x99ac52f2",
117+
"description": "Thrown when attempting to use a disabled destination chain."
118+
},
119+
{
120+
"error": "InvalidExtraArgsData",
121+
"parameters": [],
122+
"errorSelector": "0xb00b53dc",
123+
"description": "Thrown when extra args data is missing or malformed."
124+
},
125+
{
126+
"error": "MessageFeeTooHigh",
127+
"parameters": [
128+
{
129+
"type": "uint256",
130+
"name": "msgFeeJuels"
131+
},
132+
{
133+
"type": "uint256",
134+
"name": "maxFeeJuelsPerMsg"
135+
}
136+
],
137+
"errorSelector": "0x6a92a483",
138+
"description": "Thrown when message fee exceeds the maximum allowed fee."
139+
},
140+
{
141+
"error": "InvalidChainFamilySelector",
142+
"parameters": [
143+
{
144+
"type": "bytes4",
145+
"name": "chainFamilySelector"
146+
}
147+
],
148+
"errorSelector": "0x2ee82075",
149+
"description": "Thrown when an unsupported chain family selector is used."
150+
},
151+
{
152+
"error": "InvalidTokenReceiver",
153+
"parameters": [],
154+
"errorSelector": "0x5bed5192",
155+
"description": "Thrown when token receiver is invalid for SVM chains (typically when it's zero and tokens are being transferred)."
156+
},
157+
{
158+
"error": "TooManySVMExtraArgsAccounts",
159+
"parameters": [
160+
{
161+
"type": "uint256",
162+
"name": "numAccounts"
163+
},
164+
{
165+
"type": "uint256",
166+
"name": "maxAccounts"
167+
}
168+
],
169+
"errorSelector": "0x8a0d71f7",
170+
"description": "Thrown when too many accounts are specified in SVM extra args."
171+
},
172+
{
173+
"error": "InvalidSVMExtraArgsWritableBitmap",
174+
"parameters": [
175+
{
176+
"type": "uint64",
177+
"name": "accountIsWritableBitmap"
178+
},
179+
{
180+
"type": "uint256",
181+
"name": "numAccounts"
182+
}
183+
],
184+
"errorSelector": "0xafa93308",
185+
"description": "Thrown when SVM writable bitmap is invalid for the number of accounts."
186+
},
187+
{
188+
"error": "MessageComputeUnitLimitTooHigh",
189+
"parameters": [],
190+
"errorSelector": "0x2e2b0c29",
191+
"description": "Thrown when compute unit limit exceeds maximum for SVM chains."
192+
}
193+
]

0 commit comments

Comments
 (0)