-
Notifications
You must be signed in to change notification settings - Fork 384
[release] 20251216 #2996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release] 20251216 #2996
Conversation
WalkthroughThe PR updates CLI package release metadata. The version in package.json is bumped from 6.6.2-1 to 6.6.2 with the stableVersion field removed. The CHANGELOG.md is updated with a new 6.6.2 release entry documenting an Ethers import fix and MCP SDK update. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/package.json📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (3)📚 Learning: 2025-11-25T02:34:46.620ZApplied to files:
📚 Learning: 2025-11-25T02:34:46.620ZApplied to files:
📚 Learning: 2025-11-25T02:34:46.620ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (4)
Comment |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 87.46% (+17.36% 🔼) |
70904/81066 |
| 🟢 | Branches | 80.54% (+2.25% 🔼) |
3360/4172 |
| 🟡 | Functions | 66.58% (+4.08% 🔼) |
1271/1909 |
| 🟢 | Lines | 87.46% (+17.36% 🔼) |
70904/81066 |
⚠️ Details were not displayed: the report size has exceeded the limit.
Test suite run failed
Failed tests: 7/714. Failed suites: 4/116.
● etherscan api › Deployment information › can get the deploy height of a contract
Etherscan API error: Free API access is not supported for this chain. Please upgrade your api plan for full chain coverage. https://etherscan.io/apis
24 | return undefined;
25 | }
> 26 | throw new Error(`Etherscan API error: ${data.result}`);
| ^
27 | }
28 |
29 | return data.result;
at runRequest (packages/cli/src/utils/etherscan.ts:26:11)
at fetchContractDeployHeight (packages/cli/src/utils/etherscan.ts:69:18)
at Object.<anonymous> (packages/cli/src/utils/etherscan.spec.ts:41:22)
● Promise Utils › utils.promise delay()
expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1000
Received: 999
9 | await delay(1);
10 | const millsecDiff = new Date().getTime() - start.getTime();
> 11 | expect(millsecDiff).toBeGreaterThanOrEqual(1000);
| ^
12 | expect(millsecDiff).toBeLessThan(1050);
13 | });
14 |
at Object.<anonymous> (packages/node-core/src/utils/promise.spec.ts:11:25)
● Cli publish › should upload appropriate project to IPFS
Publish project to default IPFS failed
160 | try {
161 | const results = await ipfsWrite.addAll(contents, {pin: true, cidVersion: 0, wrapWithDirectory: isMultichain});
> 162 | for (const result of results) {
| ^
163 | fileCidMap.set(result.path, result.cid);
164 |
165 | await ipfsWrite.pinRemoteAdd(result.cid, {service: PIN_SERVICE}).catch((e) => {
at packages/cli/src/controller/publish-controller.ts:162:15
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:34:21)
Cause:
Failed to upload files to IPFS
87 | if (options) {
88 | url.searchParams.append('pin', options.pin?.toString() ?? 'true');
> 89 | url.searchParams.append('cid-version', options.cidVersion?.toString() ?? '0');
| ^
90 | url.searchParams.append('wrap-with-directory', options.wrapWithDirectory?.toString() ?? 'false');
91 | }
92 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:89:19)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:34:21)
Cause:
AxiosError: Request failed with status code 413
66 | url.toString(),
67 | {},
> 68 | {
| ^
69 | headers: {
70 | ...this.option.headers,
71 | },
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:792:11)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at async IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:68:30)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:34:21)
● Cli publish › Get directory CID from multi-chain project
Publish project to default IPFS failed
160 | try {
161 | const results = await ipfsWrite.addAll(contents, {pin: true, cidVersion: 0, wrapWithDirectory: isMultichain});
> 162 | for (const result of results) {
| ^
163 | fileCidMap.set(result.path, result.cid);
164 |
165 | await ipfsWrite.pinRemoteAdd(result.cid, {service: PIN_SERVICE}).catch((e) => {
at packages/cli/src/controller/publish-controller.ts:162:15
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:62:24)
Cause:
Failed to upload files to IPFS
87 | if (options) {
88 | url.searchParams.append('pin', options.pin?.toString() ?? 'true');
> 89 | url.searchParams.append('cid-version', options.cidVersion?.toString() ?? '0');
| ^
90 | url.searchParams.append('wrap-with-directory', options.wrapWithDirectory?.toString() ?? 'false');
91 | }
92 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:89:19)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:62:24)
Cause:
AxiosError: Request failed with status code 413
66 | url.toString(),
67 | {},
> 68 | {
| ^
69 | headers: {
70 | ...this.option.headers,
71 | },
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:792:11)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at async IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:68:30)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:62:24)
● Integration test - Publish › overwrites any existing CID files
Publish project to default IPFS failed
160 | try {
161 | const results = await ipfsWrite.addAll(contents, {pin: true, cidVersion: 0, wrapWithDirectory: isMultichain});
> 162 | for (const result of results) {
| ^
163 | fileCidMap.set(result.path, result.cid);
164 |
165 | await ipfsWrite.pinRemoteAdd(result.cid, {service: PIN_SERVICE}).catch((e) => {
at packages/cli/src/controller/publish-controller.ts:162:15
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
Failed to upload files to IPFS
87 | if (options) {
88 | url.searchParams.append('pin', options.pin?.toString() ?? 'true');
> 89 | url.searchParams.append('cid-version', options.cidVersion?.toString() ?? '0');
| ^
90 | url.searchParams.append('wrap-with-directory', options.wrapWithDirectory?.toString() ?? 'false');
91 | }
92 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:89:19)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
AxiosError: Request failed with status code 413
66 | url.toString(),
67 | {},
> 68 | {
| ^
69 | headers: {
70 | ...this.option.headers,
71 | },
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:792:11)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at async IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:68:30)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
● Integration test - Publish › create ipfsCID file stored in local with dictiory path
Publish project to default IPFS failed
160 | try {
161 | const results = await ipfsWrite.addAll(contents, {pin: true, cidVersion: 0, wrapWithDirectory: isMultichain});
> 162 | for (const result of results) {
| ^
163 | fileCidMap.set(result.path, result.cid);
164 |
165 | await ipfsWrite.pinRemoteAdd(result.cid, {service: PIN_SERVICE}).catch((e) => {
at packages/cli/src/controller/publish-controller.ts:162:15
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
Failed to upload files to IPFS
87 | if (options) {
88 | url.searchParams.append('pin', options.pin?.toString() ?? 'true');
> 89 | url.searchParams.append('cid-version', options.cidVersion?.toString() ?? '0');
| ^
90 | url.searchParams.append('wrap-with-directory', options.wrapWithDirectory?.toString() ?? 'false');
91 | }
92 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:89:19)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
AxiosError: Request failed with status code 413
66 | url.toString(),
67 | {},
> 68 | {
| ^
69 | headers: {
70 | ...this.option.headers,
71 | },
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:792:11)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at async IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:68:30)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
● Integration test - Publish › file name consistent with manifest file name, if -f <manifest path> is used
Publish project to default IPFS failed
160 | try {
161 | const results = await ipfsWrite.addAll(contents, {pin: true, cidVersion: 0, wrapWithDirectory: isMultichain});
> 162 | for (const result of results) {
| ^
163 | fileCidMap.set(result.path, result.cid);
164 |
165 | await ipfsWrite.pinRemoteAdd(result.cid, {service: PIN_SERVICE}).catch((e) => {
at packages/cli/src/controller/publish-controller.ts:162:15
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
Failed to upload files to IPFS
87 | if (options) {
88 | url.searchParams.append('pin', options.pin?.toString() ?? 'true');
> 89 | url.searchParams.append('cid-version', options.cidVersion?.toString() ?? '0');
| ^
90 | url.searchParams.append('wrap-with-directory', options.wrapWithDirectory?.toString() ?? 'false');
91 | }
92 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:89:19)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Cause:
AxiosError: Request failed with status code 413
66 | url.toString(),
67 | {},
> 68 | {
| ^
69 | headers: {
70 | ...this.option.headers,
71 | },
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:792:11)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at async IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:68:30)
at async IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:34:25)
at async Promise.all (index 0)
at async uploadFile (packages/cli/src/controller/publish-controller.ts:165:30)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:88:26)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 3)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async Promise.all (index 0)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:79:17)
at async /home/runner/work/subql/subql/packages/cli/src/controller/publish-controller.ts:93:26
at async Promise.all (index 5)
at async replaceFileReferences (packages/cli/src/controller/publish-controller.ts:91:9)
at async uploadToIpfs (packages/cli/src/controller/publish-controller.ts:59:28)
at async publishAdapter (packages/cli/src/commands/publish.ts:44:26)
at async Publish.run (packages/cli/src/commands/publish.ts:66:24)
at async Publish._run (node_modules/@oclif/core/lib/command.js:182:22)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:33:9)
Report generated by 🧪jest coverage report action from 8421927
Summary by CodeRabbit
Bug Fixes
Changed
✏️ Tip: You can customize this high-level summary in your review settings.