From 0fdeb38e98f51d7fe3b0daa2a7d0bd5cce018fc5 Mon Sep 17 00:00:00 2001 From: Alexander Belopashentsev <61732514+belopash@users.noreply.github.com> Date: Fri, 1 Nov 2024 22:23:24 +0500 Subject: [PATCH 01/22] rpc-client: retry `execution timeout` errors (#351) --- .../execution-timeout-retry_2024-11-01-17-12.json | 10 ++++++++++ .../execution-timeout-retry_2024-11-01-17-12.json | 10 ++++++++++ evm/evm-processor/src/processor.ts | 8 +++++++- util/rpc-client/src/client.ts | 6 ++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json create mode 100644 common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json diff --git a/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json b/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json new file mode 100644 index 000000000..84e63eca9 --- /dev/null +++ b/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/evm-processor", + "comment": "allow to configure number of rpc connection errors retry attempts", + "type": "minor" + } + ], + "packageName": "@subsquid/evm-processor" +} \ No newline at end of file diff --git a/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json b/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json new file mode 100644 index 000000000..c8c54490c --- /dev/null +++ b/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/rpc-client", + "comment": "make `exectution timeout` error retryable", + "type": "minor" + } + ], + "packageName": "@subsquid/rpc-client" +} \ No newline at end of file diff --git a/evm/evm-processor/src/processor.ts b/evm/evm-processor/src/processor.ts index 4547b698d..014d6b705 100644 --- a/evm/evm-processor/src/processor.ts +++ b/evm/evm-processor/src/processor.ts @@ -33,6 +33,12 @@ export interface RpcEndpointSettings { * Request timeout in `ms` */ requestTimeout?: number + /** + * Maximum number of retry attempts. + * + * By default, retries all "retryable" errors indefinitely. + */ + retryAttempts?: number /** * Maximum number of requests in a single batch call */ @@ -442,7 +448,7 @@ export class EvmBatchProcessor { requestTimeout: this.rpcEndpoint.requestTimeout ?? 30_000, capacity: this.rpcEndpoint.capacity ?? 10, rateLimit: this.rpcEndpoint.rateLimit, - retryAttempts: Number.MAX_SAFE_INTEGER, + retryAttempts: this.rpcEndpoint.retryAttempts ?? Number.MAX_SAFE_INTEGER, log: this.getLogger().child('rpc', {rpcUrl: this.rpcEndpoint.url}) }) this.getPrometheusServer().addChainRpcMetrics(() => client.getMetrics()) diff --git a/util/rpc-client/src/client.ts b/util/rpc-client/src/client.ts index 1eaff5ee7..7f47d9b5d 100644 --- a/util/rpc-client/src/client.ts +++ b/util/rpc-client/src/client.ts @@ -499,6 +499,7 @@ export class RpcClient { isConnectionError(err: Error): boolean { if (err instanceof RetryError) return true if (isRateLimitError(err)) return true + if (isExecutionTimeoutError(err)) return true if (err instanceof RpcConnectionError) return true if (isHttpConnectionError(err)) return true if (err instanceof HttpTimeoutError) return true @@ -570,6 +571,11 @@ function isRateLimitError(err: unknown): boolean { } +function isExecutionTimeoutError(err: unknown): boolean { + return err instanceof RpcError && /execution timeout/i.test(err.message) +} + + function removeItem(arr: T[], item: T): void { let index = arr.indexOf(item) if (index < 0) return From cff8dee252c0b799d8a25d2d27a224057d374d78 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 1 Nov 2024 17:26:43 +0000 Subject: [PATCH 02/22] Update changelogs [skip ci] --- ...xecution-timeout-retry_2024-11-01-17-12.json | 10 ---------- ...xecution-timeout-retry_2024-11-01-17-12.json | 10 ---------- evm/evm-processor/CHANGELOG.json | 17 +++++++++++++++++ evm/evm-processor/CHANGELOG.md | 9 ++++++++- util/rpc-client/CHANGELOG.json | 12 ++++++++++++ util/rpc-client/CHANGELOG.md | 9 ++++++++- 6 files changed, 45 insertions(+), 22 deletions(-) delete mode 100644 common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json delete mode 100644 common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json diff --git a/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json b/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json deleted file mode 100644 index 84e63eca9..000000000 --- a/common/changes/@subsquid/evm-processor/execution-timeout-retry_2024-11-01-17-12.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/evm-processor", - "comment": "allow to configure number of rpc connection errors retry attempts", - "type": "minor" - } - ], - "packageName": "@subsquid/evm-processor" -} \ No newline at end of file diff --git a/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json b/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json deleted file mode 100644 index c8c54490c..000000000 --- a/common/changes/@subsquid/rpc-client/execution-timeout-retry_2024-11-01-17-12.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/rpc-client", - "comment": "make `exectution timeout` error retryable", - "type": "minor" - } - ], - "packageName": "@subsquid/rpc-client" -} \ No newline at end of file diff --git a/evm/evm-processor/CHANGELOG.json b/evm/evm-processor/CHANGELOG.json index 9a81d0494..9c28d63f2 100644 --- a/evm/evm-processor/CHANGELOG.json +++ b/evm/evm-processor/CHANGELOG.json @@ -1,6 +1,23 @@ { "name": "@subsquid/evm-processor", "entries": [ + { + "version": "1.23.0", + "tag": "@subsquid/evm-processor_v1.23.0", + "date": "Fri, 01 Nov 2024 17:26:43 GMT", + "comments": { + "minor": [ + { + "comment": "allow to configure number of rpc connection errors retry attempts" + } + ], + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/rpc-client\" from `^4.9.0` to `4.10.0`" + } + ] + } + }, { "version": "1.22.1", "tag": "@subsquid/evm-processor_v1.22.1", diff --git a/evm/evm-processor/CHANGELOG.md b/evm/evm-processor/CHANGELOG.md index 629183c14..3aeb9c71b 100644 --- a/evm/evm-processor/CHANGELOG.md +++ b/evm/evm-processor/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/evm-processor -This log was last generated on Thu, 24 Oct 2024 16:06:57 GMT and should not be manually modified. +This log was last generated on Fri, 01 Nov 2024 17:26:43 GMT and should not be manually modified. + +## 1.23.0 +Fri, 01 Nov 2024 17:26:43 GMT + +### Minor changes + +- allow to configure number of rpc connection errors retry attempts ## 1.22.1 Thu, 24 Oct 2024 16:06:57 GMT diff --git a/util/rpc-client/CHANGELOG.json b/util/rpc-client/CHANGELOG.json index 2f7565424..6bfa196d6 100644 --- a/util/rpc-client/CHANGELOG.json +++ b/util/rpc-client/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/rpc-client", "entries": [ + { + "version": "4.10.0", + "tag": "@subsquid/rpc-client_v4.10.0", + "date": "Fri, 01 Nov 2024 17:26:43 GMT", + "comments": { + "minor": [ + { + "comment": "make `exectution timeout` error retryable" + } + ] + } + }, { "version": "4.9.0", "tag": "@subsquid/rpc-client_v4.9.0", diff --git a/util/rpc-client/CHANGELOG.md b/util/rpc-client/CHANGELOG.md index df703a6f0..2aa1b39b0 100644 --- a/util/rpc-client/CHANGELOG.md +++ b/util/rpc-client/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/rpc-client -This log was last generated on Wed, 17 Apr 2024 12:46:35 GMT and should not be manually modified. +This log was last generated on Fri, 01 Nov 2024 17:26:43 GMT and should not be manually modified. + +## 4.10.0 +Fri, 01 Nov 2024 17:26:43 GMT + +### Minor changes + +- make `exectution timeout` error retryable ## 4.9.0 Wed, 17 Apr 2024 12:46:35 GMT From 03736c5657c133d04fa58269014807f88f573660 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 1 Nov 2024 17:26:43 +0000 Subject: [PATCH 03/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 4 ++-- solana/solana-dump/package.json | 2 +- solana/solana-rpc/package.json | 4 ++-- solana/solana-stream/package.json | 2 +- solana/solana-typegen/package.json | 2 +- substrate/substrate-data-raw/package.json | 4 ++-- substrate/substrate-data/package.json | 4 ++-- substrate/substrate-ingest/package.json | 2 +- substrate/substrate-metadata-explorer/package.json | 2 +- substrate/substrate-processor/package.json | 2 +- test/data/package.json | 2 +- test/erc20-transfers/package.json | 2 +- util/rpc-client/package.json | 2 +- util/util-internal-dump-cli/package.json | 2 +- util/util-internal-ingest-cli/package.json | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index a32c71c12..94a025114 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/evm-processor", - "version": "1.22.1", + "version": "1.23.0", "description": "Data fetcher and mappings executor for EVM-based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -19,7 +19,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/solana/solana-dump/package.json b/solana/solana-dump/package.json index 91caa8ca9..0cc08a5a4 100644 --- a/solana/solana-dump/package.json +++ b/solana/solana-dump/package.json @@ -19,7 +19,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/solana-rpc": "^0.0.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-dump-cli": "^1.0.0" diff --git a/solana/solana-rpc/package.json b/solana/solana-rpc/package.json index 467ba2821..9ab04a766 100644 --- a/solana/solana-rpc/package.json +++ b/solana/solana-rpc/package.json @@ -23,10 +23,10 @@ "@subsquid/util-internal-validation": "^0.6.0" }, "peerDependencies": { - "@subsquid/rpc-client": "^4.9.0" + "@subsquid/rpc-client": "^4.10.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/solana/solana-stream/package.json b/solana/solana-stream/package.json index e9bac4fce..710ec2299 100644 --- a/solana/solana-stream/package.json +++ b/solana/solana-stream/package.json @@ -18,7 +18,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/solana-normalization": "^0.0.2", "@subsquid/solana-rpc": "^0.0.2", "@subsquid/solana-rpc-data": "^0.0.2", diff --git a/solana/solana-typegen/package.json b/solana/solana-typegen/package.json index 0bdf86a2d..7a63be258 100644 --- a/solana/solana-typegen/package.json +++ b/solana/solana-typegen/package.json @@ -22,7 +22,7 @@ "@subsquid/borsh": "^0.1.0", "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/util-internal-code-printer": "^1.2.2", "@subsquid/util-internal-commander": "^1.4.0", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/substrate/substrate-data-raw/package.json b/substrate/substrate-data-raw/package.json index 3ccd5634e..8accb6fec 100644 --- a/substrate/substrate-data-raw/package.json +++ b/substrate/substrate-data-raw/package.json @@ -23,10 +23,10 @@ }, "peerDependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0" + "@subsquid/rpc-client": "^4.10.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/substrate/substrate-data/package.json b/substrate/substrate-data/package.json index 8cc2caebd..c1d635d65 100644 --- a/substrate/substrate-data/package.json +++ b/substrate/substrate-data/package.json @@ -27,11 +27,11 @@ "blake2b": "^2.1.4" }, "peerDependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/substrate-runtime": "^2.0.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/substrate-runtime": "^2.0.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" diff --git a/substrate/substrate-ingest/package.json b/substrate/substrate-ingest/package.json index 10ed87a1b..c6317fd11 100644 --- a/substrate/substrate-ingest/package.json +++ b/substrate/substrate-ingest/package.json @@ -19,7 +19,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/substrate-data": "^4.2.1", "@subsquid/substrate-data-raw": "^1.2.0", "@subsquid/substrate-runtime": "^2.0.0", diff --git a/substrate/substrate-metadata-explorer/package.json b/substrate/substrate-metadata-explorer/package.json index b21b5479d..f1836112e 100644 --- a/substrate/substrate-metadata-explorer/package.json +++ b/substrate/substrate-metadata-explorer/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-commander": "^1.4.0", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/substrate/substrate-processor/package.json b/substrate/substrate-processor/package.json index f8dcc9a58..e399aa8b7 100644 --- a/substrate/substrate-processor/package.json +++ b/substrate/substrate-processor/package.json @@ -18,7 +18,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/substrate-data": "^4.2.1", "@subsquid/substrate-data-raw": "^1.2.0", "@subsquid/util-internal": "^3.2.0", diff --git a/test/data/package.json b/test/data/package.json index 3c20f18bb..c2595778e 100644 --- a/test/data/package.json +++ b/test/data/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "@subsquid/http-client": "^1.5.0", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/scale-codec": "^4.0.1", "@subsquid/substrate-metadata-explorer": "^3.2.0", "@subsquid/substrate-runtime": "^2.0.0", diff --git a/test/erc20-transfers/package.json b/test/erc20-transfers/package.json index 8522aad99..04723afac 100644 --- a/test/erc20-transfers/package.json +++ b/test/erc20-transfers/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.9.0", - "@subsquid/evm-processor": "^1.22.1", + "@subsquid/evm-processor": "^1.23.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", diff --git a/util/rpc-client/package.json b/util/rpc-client/package.json index ea421a929..223fa38bd 100644 --- a/util/rpc-client/package.json +++ b/util/rpc-client/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/rpc-client", - "version": "4.9.0", + "version": "4.10.0", "description": "Lightweight JSON-RPC client library", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/util/util-internal-dump-cli/package.json b/util/util-internal-dump-cli/package.json index 14494eed0..d0a085242 100644 --- a/util/util-internal-dump-cli/package.json +++ b/util/util-internal-dump-cli/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-layout": "^1.0.0", "@subsquid/util-internal-commander": "^1.4.0", diff --git a/util/util-internal-ingest-cli/package.json b/util/util-internal-ingest-cli/package.json index 96b2506ef..ac8a58601 100644 --- a/util/util-internal-ingest-cli/package.json +++ b/util/util-internal-ingest-cli/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.9.0", + "@subsquid/rpc-client": "^4.10.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-layout": "^1.0.0", "@subsquid/util-internal-commander": "^1.4.0", From 62c3f89580a5225b42cbfb0146132eae6879e50c Mon Sep 17 00:00:00 2001 From: Alexey Safonov Date: Mon, 4 Nov 2024 14:58:32 +0700 Subject: [PATCH 04/22] evm: add transactionStateDiffs to LogRequest (#350) --- .../transaction-statediffs_2024-10-30-15-23.json | 10 ++++++++++ evm/evm-processor/src/ds-rpc/filter.ts | 8 ++++++++ evm/evm-processor/src/ds-rpc/request.ts | 5 +++++ evm/evm-processor/src/interfaces/data-request.ts | 1 + 4 files changed, 24 insertions(+) create mode 100644 common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json diff --git a/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json b/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json new file mode 100644 index 000000000..ac16c804b --- /dev/null +++ b/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/evm-processor", + "comment": "add transactionStateDiffs to LogRequest", + "type": "minor" + } + ], + "packageName": "@subsquid/evm-processor" +} \ No newline at end of file diff --git a/evm/evm-processor/src/ds-rpc/filter.ts b/evm/evm-processor/src/ds-rpc/filter.ts index e43811c4b..1d529885c 100644 --- a/evm/evm-processor/src/ds-rpc/filter.ts +++ b/evm/evm-processor/src/ds-rpc/filter.ts @@ -7,6 +7,7 @@ import {DataRequest} from '../interfaces/data-request' function buildLogFilter(dataRequest: DataRequest): EntityFilter { let items = new EntityFilter() @@ -139,6 +140,7 @@ export function filterBlock(block: Block, dataRequest: DataRequest): void { let logsByTransaction = groupBy(block.logs, log => log.transactionIndex) let tracesByTransaction = groupBy(block.traces, trace => trace.transactionIndex) + let stateDiffsByTransaction = groupBy(block.stateDiffs, diff => diff.transactionIndex) let include = new IncludeSet() @@ -162,6 +164,12 @@ export function filterBlock(block: Block, dataRequest: DataRequest): void { include.addTrace(trace) } } + if (rel.transactionStateDiffs) { + let stateDiffs = stateDiffsByTransaction.get(log.transactionIndex) ?? [] + for (let diff of stateDiffs) { + include.addStateDiff(diff) + } + } } } diff --git a/evm/evm-processor/src/ds-rpc/request.ts b/evm/evm-processor/src/ds-rpc/request.ts index 26a7fa5fb..9ed54b085 100644 --- a/evm/evm-processor/src/ds-rpc/request.ts +++ b/evm/evm-processor/src/ds-rpc/request.ts @@ -87,6 +87,11 @@ function stateDiffsRequested(req?: DataRequest): boolean { if (tx.stateDiffs) return true } } + if (req.logs) { + for (let log of req.logs) { + if (log.transactionStateDiffs) return true + } + } return false } diff --git a/evm/evm-processor/src/interfaces/data-request.ts b/evm/evm-processor/src/interfaces/data-request.ts index a18404c19..7082a8ab5 100644 --- a/evm/evm-processor/src/interfaces/data-request.ts +++ b/evm/evm-processor/src/interfaces/data-request.ts @@ -22,6 +22,7 @@ export interface LogRequest { transaction?: boolean transactionTraces?: boolean transactionLogs?: boolean + transactionStateDiffs?: boolean } From f6fce532455631ae69a42189b90ebdf86c049500 Mon Sep 17 00:00:00 2001 From: belopash Date: Wed, 13 Nov 2024 16:19:24 +0500 Subject: [PATCH 05/22] evm: properly pass timeout to debug trace config --- .../evm-processor/master_2024-11-13-11-20.json | 10 ++++++++++ evm/evm-processor/src/ds-rpc/rpc.ts | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json b/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json new file mode 100644 index 000000000..2d4b277e5 --- /dev/null +++ b/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/evm-processor", + "comment": "properly pass timeout to debug trace config", + "type": "patch" + } + ], + "packageName": "@subsquid/evm-processor" +} \ No newline at end of file diff --git a/evm/evm-processor/src/ds-rpc/rpc.ts b/evm/evm-processor/src/ds-rpc/rpc.ts index 71c41a6a8..f5ee09862 100644 --- a/evm/evm-processor/src/ds-rpc/rpc.ts +++ b/evm/evm-processor/src/ds-rpc/rpc.ts @@ -544,8 +544,8 @@ export class Rpc { tracerConfig: { onlyTopCall: false, withLog: false, // will study log <-> frame matching problem later - timeout: req.debugTraceTimeout - } + }, + timeout: req.debugTraceTimeout, } let call = blocks.map(block => ({ @@ -594,8 +594,8 @@ export class Rpc { tracerConfig: { onlyTopCall: false, // passing this option is incorrect, but required by Alchemy endpoints diffMode: true, - timeout: req.debugTraceTimeout - } + }, + timeout: req.debugTraceTimeout } let call = blocks.map(block => ({ From f778d82eedd85c6d0c3dae5bf4ba65d22c935deb Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 13 Nov 2024 11:28:41 +0000 Subject: [PATCH 06/22] Update changelogs [skip ci] --- .../evm-processor/master_2024-11-13-11-20.json | 10 ---------- ...transaction-statediffs_2024-10-30-15-23.json | 10 ---------- evm/evm-processor/CHANGELOG.json | 17 +++++++++++++++++ evm/evm-processor/CHANGELOG.md | 13 ++++++++++++- 4 files changed, 29 insertions(+), 21 deletions(-) delete mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json delete mode 100644 common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json b/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json deleted file mode 100644 index 2d4b277e5..000000000 --- a/common/changes/@subsquid/evm-processor/master_2024-11-13-11-20.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/evm-processor", - "comment": "properly pass timeout to debug trace config", - "type": "patch" - } - ], - "packageName": "@subsquid/evm-processor" -} \ No newline at end of file diff --git a/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json b/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json deleted file mode 100644 index ac16c804b..000000000 --- a/common/changes/@subsquid/evm-processor/transaction-statediffs_2024-10-30-15-23.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/evm-processor", - "comment": "add transactionStateDiffs to LogRequest", - "type": "minor" - } - ], - "packageName": "@subsquid/evm-processor" -} \ No newline at end of file diff --git a/evm/evm-processor/CHANGELOG.json b/evm/evm-processor/CHANGELOG.json index 9c28d63f2..f84772eb3 100644 --- a/evm/evm-processor/CHANGELOG.json +++ b/evm/evm-processor/CHANGELOG.json @@ -1,6 +1,23 @@ { "name": "@subsquid/evm-processor", "entries": [ + { + "version": "1.24.0", + "tag": "@subsquid/evm-processor_v1.24.0", + "date": "Wed, 13 Nov 2024 11:28:41 GMT", + "comments": { + "patch": [ + { + "comment": "properly pass timeout to debug trace config" + } + ], + "minor": [ + { + "comment": "add transactionStateDiffs to LogRequest" + } + ] + } + }, { "version": "1.23.0", "tag": "@subsquid/evm-processor_v1.23.0", diff --git a/evm/evm-processor/CHANGELOG.md b/evm/evm-processor/CHANGELOG.md index 3aeb9c71b..34ae6e51c 100644 --- a/evm/evm-processor/CHANGELOG.md +++ b/evm/evm-processor/CHANGELOG.md @@ -1,6 +1,17 @@ # Change Log - @subsquid/evm-processor -This log was last generated on Fri, 01 Nov 2024 17:26:43 GMT and should not be manually modified. +This log was last generated on Wed, 13 Nov 2024 11:28:41 GMT and should not be manually modified. + +## 1.24.0 +Wed, 13 Nov 2024 11:28:41 GMT + +### Minor changes + +- add transactionStateDiffs to LogRequest + +### Patches + +- properly pass timeout to debug trace config ## 1.23.0 Fri, 01 Nov 2024 17:26:43 GMT From 87ed76596db07eeea06935c606298e878adf7657 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 13 Nov 2024 11:28:41 +0000 Subject: [PATCH 07/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 2 +- test/erc20-transfers/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index 94a025114..70bd8d081 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/evm-processor", - "version": "1.23.0", + "version": "1.24.0", "description": "Data fetcher and mappings executor for EVM-based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/test/erc20-transfers/package.json b/test/erc20-transfers/package.json index 04723afac..914936fd1 100644 --- a/test/erc20-transfers/package.json +++ b/test/erc20-transfers/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.9.0", - "@subsquid/evm-processor": "^1.23.0", + "@subsquid/evm-processor": "^1.24.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", From e5c894cb274c4969d54a820a8f34a551df613da5 Mon Sep 17 00:00:00 2001 From: Alexey Safonov Date: Thu, 14 Nov 2024 19:05:26 +0700 Subject: [PATCH 08/22] evm: allow to filter transactions by type (#353) --- .../evm-processor/master_2024-11-14-12-00.json | 10 ++++++++++ evm/evm-processor/src/ds-rpc/filter.ts | 3 ++- evm/evm-processor/src/interfaces/data-request.ts | 1 + evm/evm-processor/src/processor.ts | 4 +++- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json b/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json new file mode 100644 index 000000000..9e9522fbf --- /dev/null +++ b/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/evm-processor", + "comment": "allow to filter transactions by type", + "type": "minor" + } + ], + "packageName": "@subsquid/evm-processor" +} \ No newline at end of file diff --git a/evm/evm-processor/src/ds-rpc/filter.ts b/evm/evm-processor/src/ds-rpc/filter.ts index 1d529885c..c1554680a 100644 --- a/evm/evm-processor/src/ds-rpc/filter.ts +++ b/evm/evm-processor/src/ds-rpc/filter.ts @@ -32,11 +32,12 @@ function buildTransactionFilter(dataRequest: DataRequest): EntityFilter { let items = new EntityFilter() for (let req of dataRequest.transactions || []) { - let {to, from, sighash, ...relations} = req + let {to, from, sighash, type, ...relations} = req let filter = new FilterBuilder() filter.propIn('to', to) filter.propIn('from', from) filter.propIn('sighash', sighash) + filter.propIn('type', type) items.add(filter, relations) } return items diff --git a/evm/evm-processor/src/interfaces/data-request.ts b/evm/evm-processor/src/interfaces/data-request.ts index 7082a8ab5..7b80aacb7 100644 --- a/evm/evm-processor/src/interfaces/data-request.ts +++ b/evm/evm-processor/src/interfaces/data-request.ts @@ -30,6 +30,7 @@ export interface TransactionRequest { to?: Bytes20[] from?: Bytes20[] sighash?: Bytes[] + type?: number[] logs?: boolean traces?: boolean stateDiffs?: boolean diff --git a/evm/evm-processor/src/processor.ts b/evm/evm-processor/src/processor.ts index 014d6b705..96f2aac0a 100644 --- a/evm/evm-processor/src/processor.ts +++ b/evm/evm-processor/src/processor.ts @@ -593,7 +593,9 @@ function mapRequest(options: T): Omit { for (let key in req) { let val = (req as any)[key] if (Array.isArray(val)) { - (req as any)[key] = val.map(s => s.toLowerCase()) + (req as any)[key] = val.map(s => { + return typeof s == 'string' ? s.toLowerCase() : s + }) } } return req From b77155779d791d052ab948920fd010363a04a8d4 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 14 Nov 2024 12:06:12 +0000 Subject: [PATCH 09/22] Update changelogs [skip ci] --- .../evm-processor/master_2024-11-14-12-00.json | 10 ---------- evm/evm-processor/CHANGELOG.json | 12 ++++++++++++ evm/evm-processor/CHANGELOG.md | 9 ++++++++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json b/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json deleted file mode 100644 index 9e9522fbf..000000000 --- a/common/changes/@subsquid/evm-processor/master_2024-11-14-12-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/evm-processor", - "comment": "allow to filter transactions by type", - "type": "minor" - } - ], - "packageName": "@subsquid/evm-processor" -} \ No newline at end of file diff --git a/evm/evm-processor/CHANGELOG.json b/evm/evm-processor/CHANGELOG.json index f84772eb3..fc553a4d9 100644 --- a/evm/evm-processor/CHANGELOG.json +++ b/evm/evm-processor/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/evm-processor", "entries": [ + { + "version": "1.25.0", + "tag": "@subsquid/evm-processor_v1.25.0", + "date": "Thu, 14 Nov 2024 12:06:12 GMT", + "comments": { + "minor": [ + { + "comment": "allow to filter transactions by type" + } + ] + } + }, { "version": "1.24.0", "tag": "@subsquid/evm-processor_v1.24.0", diff --git a/evm/evm-processor/CHANGELOG.md b/evm/evm-processor/CHANGELOG.md index 34ae6e51c..170b687dc 100644 --- a/evm/evm-processor/CHANGELOG.md +++ b/evm/evm-processor/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/evm-processor -This log was last generated on Wed, 13 Nov 2024 11:28:41 GMT and should not be manually modified. +This log was last generated on Thu, 14 Nov 2024 12:06:12 GMT and should not be manually modified. + +## 1.25.0 +Thu, 14 Nov 2024 12:06:12 GMT + +### Minor changes + +- allow to filter transactions by type ## 1.24.0 Wed, 13 Nov 2024 11:28:41 GMT From df915fdc7e20b2eb2e0f1350538f64e1a5d8ea5e Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 14 Nov 2024 12:06:12 +0000 Subject: [PATCH 10/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 2 +- test/erc20-transfers/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index 70bd8d081..d98181c3c 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/evm-processor", - "version": "1.24.0", + "version": "1.25.0", "description": "Data fetcher and mappings executor for EVM-based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/test/erc20-transfers/package.json b/test/erc20-transfers/package.json index 914936fd1..f1b9b18bb 100644 --- a/test/erc20-transfers/package.json +++ b/test/erc20-transfers/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.9.0", - "@subsquid/evm-processor": "^1.24.0", + "@subsquid/evm-processor": "^1.25.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", From 36950ddfe4daf4c02fa36b59a0f4ce5077be7aa7 Mon Sep 17 00:00:00 2001 From: Alexey Safonov Date: Sun, 17 Nov 2024 13:00:31 +0700 Subject: [PATCH 11/22] evm: add tx.authorizationList field (#355) * evm: add tx.authorizationList field * rename Authorization to EIP7702Authorization --- .../evm-processor/master_2024-11-16-03-57.json | 10 ++++++++++ evm/evm-processor/src/ds-rpc/request.ts | 3 ++- evm/evm-processor/src/interfaces/evm.ts | 11 +++++++++++ evm/evm-processor/src/mapping/entities.ts | 2 ++ evm/evm-processor/src/mapping/schema.ts | 11 +++++++++++ evm/evm-processor/src/mapping/selection.ts | 1 + 6 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json b/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json new file mode 100644 index 000000000..f2b534714 --- /dev/null +++ b/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/evm-processor", + "comment": "add `tx.authorizationList` field", + "type": "minor" + } + ], + "packageName": "@subsquid/evm-processor" +} \ No newline at end of file diff --git a/evm/evm-processor/src/ds-rpc/request.ts b/evm/evm-processor/src/ds-rpc/request.ts index 9ed54b085..f34e236da 100644 --- a/evm/evm-processor/src/ds-rpc/request.ts +++ b/evm/evm-processor/src/ds-rpc/request.ts @@ -110,7 +110,8 @@ const TX_FIELDS: {[K in Exclude]: true} = { r: true, s: true, yParity: true, - chainId: true + chainId: true, + authorizationList: true, } diff --git a/evm/evm-processor/src/interfaces/evm.ts b/evm/evm-processor/src/interfaces/evm.ts index 3436482dc..cfabe7b0d 100644 --- a/evm/evm-processor/src/interfaces/evm.ts +++ b/evm/evm-processor/src/interfaces/evm.ts @@ -35,6 +35,16 @@ export interface EvmTransaction extends _EvmTx, _EvmTxReceipt { } +export interface EIP7702Authorization { + chainId: number + nonce: number + address: Bytes20 + yParity: number + r: Bytes32 + s: Bytes32 +} + + export interface _EvmTx { hash: Bytes32 from: Bytes20 @@ -51,6 +61,7 @@ export interface _EvmTx { s: Bytes32 yParity?: number chainId?: number + authorizationList?: EIP7702Authorization[] } diff --git a/evm/evm-processor/src/mapping/entities.ts b/evm/evm-processor/src/mapping/entities.ts index 59494d4f1..ec2404f5f 100644 --- a/evm/evm-processor/src/mapping/entities.ts +++ b/evm/evm-processor/src/mapping/entities.ts @@ -2,6 +2,7 @@ import {formatId} from '@subsquid/util-internal-processor-tools' import assert from 'assert' import {Bytes, Bytes20, Bytes32, Bytes8} from '../interfaces/base' import { + EIP7702Authorization, EvmTraceCallAction, EvmTraceCallResult, EvmTraceCreateAction, @@ -85,6 +86,7 @@ export class Transaction { type?: number status?: number sighash?: Bytes + authorizationList?: EIP7702Authorization[] l1Fee?: bigint l1FeeScalar?: number l1GasPrice?: bigint diff --git a/evm/evm-processor/src/mapping/schema.ts b/evm/evm-processor/src/mapping/schema.ts index 146c056f4..27a6cb3f9 100644 --- a/evm/evm-processor/src/mapping/schema.ts +++ b/evm/evm-processor/src/mapping/schema.ts @@ -46,6 +46,16 @@ export function getBlockHeaderProps(fields: FieldSelection['block'], forArchive: export function getTxProps(fields: FieldSelection['transaction'], forArchive: boolean) { let natural = forArchive ? NAT : SMALL_QTY + + let Authorization = object({ + chainId: natural, + nonce: natural, + address: BYTES, + yParity: natural, + r: BYTES, + s: BYTES, + }) + return { transactionIndex: natural, ...project(fields, { @@ -64,6 +74,7 @@ export function getTxProps(fields: FieldSelection['transaction'], forArchive: bo s: withSentinel('Transaction.s', '0x', BYTES), yParity: option(natural), chainId: option(natural), + authorizationList: option(array(Authorization)), }) } } diff --git a/evm/evm-processor/src/mapping/selection.ts b/evm/evm-processor/src/mapping/selection.ts index 08dfffd91..bf95d1757 100644 --- a/evm/evm-processor/src/mapping/selection.ts +++ b/evm/evm-processor/src/mapping/selection.ts @@ -63,6 +63,7 @@ export function getTxSelectionValidator() { l1BaseFeeScalar: FIELD, l1BlobBaseFee: FIELD, l1BlobBaseFeeScalar: FIELD, + authorizationList: FIELD, } return object(fields) } From 1d6c897f0fcb9d60ec7f0ddc1dc95871a80433a8 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 17 Nov 2024 06:01:50 +0000 Subject: [PATCH 12/22] Update changelogs [skip ci] --- .../evm-processor/master_2024-11-16-03-57.json | 10 ---------- evm/evm-processor/CHANGELOG.json | 12 ++++++++++++ evm/evm-processor/CHANGELOG.md | 9 ++++++++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json diff --git a/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json b/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json deleted file mode 100644 index f2b534714..000000000 --- a/common/changes/@subsquid/evm-processor/master_2024-11-16-03-57.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/evm-processor", - "comment": "add `tx.authorizationList` field", - "type": "minor" - } - ], - "packageName": "@subsquid/evm-processor" -} \ No newline at end of file diff --git a/evm/evm-processor/CHANGELOG.json b/evm/evm-processor/CHANGELOG.json index fc553a4d9..0ebdff4de 100644 --- a/evm/evm-processor/CHANGELOG.json +++ b/evm/evm-processor/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/evm-processor", "entries": [ + { + "version": "1.26.0", + "tag": "@subsquid/evm-processor_v1.26.0", + "date": "Sun, 17 Nov 2024 06:01:50 GMT", + "comments": { + "minor": [ + { + "comment": "add `tx.authorizationList` field" + } + ] + } + }, { "version": "1.25.0", "tag": "@subsquid/evm-processor_v1.25.0", diff --git a/evm/evm-processor/CHANGELOG.md b/evm/evm-processor/CHANGELOG.md index 170b687dc..bc03cabb4 100644 --- a/evm/evm-processor/CHANGELOG.md +++ b/evm/evm-processor/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/evm-processor -This log was last generated on Thu, 14 Nov 2024 12:06:12 GMT and should not be manually modified. +This log was last generated on Sun, 17 Nov 2024 06:01:50 GMT and should not be manually modified. + +## 1.26.0 +Sun, 17 Nov 2024 06:01:50 GMT + +### Minor changes + +- add `tx.authorizationList` field ## 1.25.0 Thu, 14 Nov 2024 12:06:12 GMT From b6957f48c13059c5f2c1462d605bcd0b3f43dd54 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 17 Nov 2024 06:01:50 +0000 Subject: [PATCH 13/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 2 +- test/erc20-transfers/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index d98181c3c..c81f255c9 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/evm-processor", - "version": "1.25.0", + "version": "1.26.0", "description": "Data fetcher and mappings executor for EVM-based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/test/erc20-transfers/package.json b/test/erc20-transfers/package.json index f1b9b18bb..14e98bb34 100644 --- a/test/erc20-transfers/package.json +++ b/test/erc20-transfers/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.9.0", - "@subsquid/evm-processor": "^1.25.0", + "@subsquid/evm-processor": "^1.26.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", From bb87496147e5a05822be4355ca99a9e7f9593d49 Mon Sep 17 00:00:00 2001 From: Alexander Belopashentsev <61732514+belopash@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:35:45 +0500 Subject: [PATCH 14/22] rpc-client: make `request timed out` error retryable (#357) * make `request timed out` error retryable * changes --- .../@subsquid/rpc-client/master_2024-11-26-06-32.json | 10 ++++++++++ util/rpc-client/src/client.ts | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json diff --git a/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json b/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json new file mode 100644 index 000000000..169b438b4 --- /dev/null +++ b/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/rpc-client", + "comment": "make `request timed out` error retryable", + "type": "minor" + } + ], + "packageName": "@subsquid/rpc-client" +} \ No newline at end of file diff --git a/util/rpc-client/src/client.ts b/util/rpc-client/src/client.ts index 7f47d9b5d..e29e866e5 100644 --- a/util/rpc-client/src/client.ts +++ b/util/rpc-client/src/client.ts @@ -500,6 +500,7 @@ export class RpcClient { if (err instanceof RetryError) return true if (isRateLimitError(err)) return true if (isExecutionTimeoutError(err)) return true + if (isRequestTimedOutError(err)) return true if (err instanceof RpcConnectionError) return true if (isHttpConnectionError(err)) return true if (err instanceof HttpTimeoutError) return true @@ -575,6 +576,9 @@ function isExecutionTimeoutError(err: unknown): boolean { return err instanceof RpcError && /execution timeout/i.test(err.message) } +function isRequestTimedOutError(err: unknown): boolean { + return err instanceof RpcError && /request.*timed out/i.test(err.message) +} function removeItem(arr: T[], item: T): void { let index = arr.indexOf(item) From 90e4a788a07abd19f702495823709786f466774c Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 26 Nov 2024 06:42:52 +0000 Subject: [PATCH 15/22] Update changelogs [skip ci] --- .../rpc-client/master_2024-11-26-06-32.json | 10 ---------- util/rpc-client/CHANGELOG.json | 12 ++++++++++++ util/rpc-client/CHANGELOG.md | 9 ++++++++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json diff --git a/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json b/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json deleted file mode 100644 index 169b438b4..000000000 --- a/common/changes/@subsquid/rpc-client/master_2024-11-26-06-32.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/rpc-client", - "comment": "make `request timed out` error retryable", - "type": "minor" - } - ], - "packageName": "@subsquid/rpc-client" -} \ No newline at end of file diff --git a/util/rpc-client/CHANGELOG.json b/util/rpc-client/CHANGELOG.json index 6bfa196d6..b54bb1adb 100644 --- a/util/rpc-client/CHANGELOG.json +++ b/util/rpc-client/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/rpc-client", "entries": [ + { + "version": "4.11.0", + "tag": "@subsquid/rpc-client_v4.11.0", + "date": "Tue, 26 Nov 2024 06:42:52 GMT", + "comments": { + "minor": [ + { + "comment": "make `request timed out` error retryable" + } + ] + } + }, { "version": "4.10.0", "tag": "@subsquid/rpc-client_v4.10.0", diff --git a/util/rpc-client/CHANGELOG.md b/util/rpc-client/CHANGELOG.md index 2aa1b39b0..974c060e4 100644 --- a/util/rpc-client/CHANGELOG.md +++ b/util/rpc-client/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/rpc-client -This log was last generated on Fri, 01 Nov 2024 17:26:43 GMT and should not be manually modified. +This log was last generated on Tue, 26 Nov 2024 06:42:52 GMT and should not be manually modified. + +## 4.11.0 +Tue, 26 Nov 2024 06:42:52 GMT + +### Minor changes + +- make `request timed out` error retryable ## 4.10.0 Fri, 01 Nov 2024 17:26:43 GMT From bcc06a6eb9f5e4eec5147a67647216a506bd764c Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 26 Nov 2024 06:42:52 +0000 Subject: [PATCH 16/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 2 +- solana/solana-dump/package.json | 2 +- solana/solana-rpc/package.json | 4 ++-- solana/solana-stream/package.json | 2 +- solana/solana-typegen/package.json | 2 +- substrate/substrate-data-raw/package.json | 4 ++-- substrate/substrate-data/package.json | 4 ++-- substrate/substrate-ingest/package.json | 2 +- substrate/substrate-metadata-explorer/package.json | 2 +- substrate/substrate-processor/package.json | 2 +- test/data/package.json | 2 +- util/rpc-client/package.json | 2 +- util/util-internal-dump-cli/package.json | 2 +- util/util-internal-ingest-cli/package.json | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index c81f255c9..85c1b663f 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -19,7 +19,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/solana/solana-dump/package.json b/solana/solana-dump/package.json index 0cc08a5a4..e100d1007 100644 --- a/solana/solana-dump/package.json +++ b/solana/solana-dump/package.json @@ -19,7 +19,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/solana-rpc": "^0.0.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-dump-cli": "^1.0.0" diff --git a/solana/solana-rpc/package.json b/solana/solana-rpc/package.json index 9ab04a766..384732c60 100644 --- a/solana/solana-rpc/package.json +++ b/solana/solana-rpc/package.json @@ -23,10 +23,10 @@ "@subsquid/util-internal-validation": "^0.6.0" }, "peerDependencies": { - "@subsquid/rpc-client": "^4.10.0" + "@subsquid/rpc-client": "^4.11.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/solana/solana-stream/package.json b/solana/solana-stream/package.json index 710ec2299..2139399e6 100644 --- a/solana/solana-stream/package.json +++ b/solana/solana-stream/package.json @@ -18,7 +18,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/solana-normalization": "^0.0.2", "@subsquid/solana-rpc": "^0.0.2", "@subsquid/solana-rpc-data": "^0.0.2", diff --git a/solana/solana-typegen/package.json b/solana/solana-typegen/package.json index 7a63be258..83f2816f6 100644 --- a/solana/solana-typegen/package.json +++ b/solana/solana-typegen/package.json @@ -22,7 +22,7 @@ "@subsquid/borsh": "^0.1.0", "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/util-internal-code-printer": "^1.2.2", "@subsquid/util-internal-commander": "^1.4.0", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/substrate/substrate-data-raw/package.json b/substrate/substrate-data-raw/package.json index 8accb6fec..f0ac3de6e 100644 --- a/substrate/substrate-data-raw/package.json +++ b/substrate/substrate-data-raw/package.json @@ -23,10 +23,10 @@ }, "peerDependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0" + "@subsquid/rpc-client": "^4.11.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/substrate/substrate-data/package.json b/substrate/substrate-data/package.json index c1d635d65..1a14741db 100644 --- a/substrate/substrate-data/package.json +++ b/substrate/substrate-data/package.json @@ -27,11 +27,11 @@ "blake2b": "^2.1.4" }, "peerDependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/substrate-runtime": "^2.0.0" }, "devDependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/substrate-runtime": "^2.0.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" diff --git a/substrate/substrate-ingest/package.json b/substrate/substrate-ingest/package.json index c6317fd11..54b5d0795 100644 --- a/substrate/substrate-ingest/package.json +++ b/substrate/substrate-ingest/package.json @@ -19,7 +19,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/substrate-data": "^4.2.1", "@subsquid/substrate-data-raw": "^1.2.0", "@subsquid/substrate-runtime": "^2.0.0", diff --git a/substrate/substrate-metadata-explorer/package.json b/substrate/substrate-metadata-explorer/package.json index f1836112e..0135a9ba5 100644 --- a/substrate/substrate-metadata-explorer/package.json +++ b/substrate/substrate-metadata-explorer/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-commander": "^1.4.0", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/substrate/substrate-processor/package.json b/substrate/substrate-processor/package.json index e399aa8b7..80b99180d 100644 --- a/substrate/substrate-processor/package.json +++ b/substrate/substrate-processor/package.json @@ -18,7 +18,7 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/substrate-data": "^4.2.1", "@subsquid/substrate-data-raw": "^1.2.0", "@subsquid/util-internal": "^3.2.0", diff --git a/test/data/package.json b/test/data/package.json index c2595778e..33bc14ad7 100644 --- a/test/data/package.json +++ b/test/data/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "@subsquid/http-client": "^1.5.0", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/scale-codec": "^4.0.1", "@subsquid/substrate-metadata-explorer": "^3.2.0", "@subsquid/substrate-runtime": "^2.0.0", diff --git a/util/rpc-client/package.json b/util/rpc-client/package.json index 223fa38bd..53fc7841c 100644 --- a/util/rpc-client/package.json +++ b/util/rpc-client/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/rpc-client", - "version": "4.10.0", + "version": "4.11.0", "description": "Lightweight JSON-RPC client library", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/util/util-internal-dump-cli/package.json b/util/util-internal-dump-cli/package.json index d0a085242..c06f95cef 100644 --- a/util/util-internal-dump-cli/package.json +++ b/util/util-internal-dump-cli/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-layout": "^1.0.0", "@subsquid/util-internal-commander": "^1.4.0", diff --git a/util/util-internal-ingest-cli/package.json b/util/util-internal-ingest-cli/package.json index ac8a58601..11dbdba22 100644 --- a/util/util-internal-ingest-cli/package.json +++ b/util/util-internal-ingest-cli/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/rpc-client": "^4.10.0", + "@subsquid/rpc-client": "^4.11.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-layout": "^1.0.0", "@subsquid/util-internal-commander": "^1.4.0", From 2ffad5b462ea442780dabc6ebbff8b2fd313136e Mon Sep 17 00:00:00 2001 From: Alexey Safonov Date: Tue, 3 Dec 2024 18:46:58 +0700 Subject: [PATCH 17/22] tron: handle negative tx.timestamp values (#358) --- ...on-negative-timestamp_2024-12-02-13-13.json | 10 ++++++++++ ...on-negative-timestamp_2024-12-02-13-13.json | 10 ++++++++++ tron/tron-data/src/data.ts | 3 ++- .../util-internal-validation/src/primitives.ts | 18 ++++++++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json create mode 100644 common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json diff --git a/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json b/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json new file mode 100644 index 000000000..4670ee360 --- /dev/null +++ b/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/tron-data", + "comment": "handle negative tx.timestamp values", + "type": "patch" + } + ], + "packageName": "@subsquid/tron-data" +} \ No newline at end of file diff --git a/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json b/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json new file mode 100644 index 000000000..fef20e8d5 --- /dev/null +++ b/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/util-internal-validation", + "comment": "add `ANY_INT` primitive", + "type": "minor" + } + ], + "packageName": "@subsquid/util-internal-validation" +} \ No newline at end of file diff --git a/tron/tron-data/src/data.ts b/tron/tron-data/src/data.ts index f509272d4..242591039 100644 --- a/tron/tron-data/src/data.ts +++ b/tron/tron-data/src/data.ts @@ -2,6 +2,7 @@ import { array, GetSrcType, INT, + ANY_INT, object, STRING, BOOLEAN, @@ -41,7 +42,7 @@ export const TransactionRawData = object({ ref_block_hash: option(STRING), expiration: option(INT), fee_limit: option(ANY_NAT), - timestamp: option(ANY_NAT) + timestamp: option(ANY_INT) }) diff --git a/util/util-internal-validation/src/primitives.ts b/util/util-internal-validation/src/primitives.ts index baa495cbd..ee55adf8f 100644 --- a/util/util-internal-validation/src/primitives.ts +++ b/util/util-internal-validation/src/primitives.ts @@ -68,6 +68,24 @@ export const INT: Validator = { } +export const ANY_INT: Validator = { + cast(value: unknown): bigint | ValidationFailure { + if (isSafeInteger(value) || isBigNat(value)) { + return BigInt(value) + } else { + return new ValidationFailure(value, '{value} is not an integer') + } + }, + validate(value: unknown): ValidationFailure | undefined { + if (isSafeInteger(value) || isBigNat(value)) return + return new ValidationFailure(value, '{value} is not an integer') + }, + phantom(): number { + return 0 + } +} + + function isSafeInteger(value: unknown): value is number { return typeof value == 'number' && Number.isSafeInteger(value) } From 0ef04bba81cda757a51013a8faeea1c4bfa093db Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 3 Dec 2024 11:47:42 +0000 Subject: [PATCH 18/22] Update changelogs [skip ci] --- ...n-negative-timestamp_2024-12-02-13-13.json | 10 --------- ...n-negative-timestamp_2024-12-02-13-13.json | 10 --------- evm/evm-processor/CHANGELOG.json | 12 +++++++++++ evm/evm-processor/CHANGELOG.md | 7 ++++++- fuel/fuel-data/CHANGELOG.json | 12 +++++++++++ fuel/fuel-data/CHANGELOG.md | 7 ++++++- fuel/fuel-normalization/CHANGELOG.json | 15 +++++++++++++ fuel/fuel-normalization/CHANGELOG.md | 7 ++++++- fuel/fuel-stream/CHANGELOG.json | 18 ++++++++++++++++ fuel/fuel-stream/CHANGELOG.md | 7 ++++++- solana/solana-dump/CHANGELOG.json | 12 +++++++++++ solana/solana-dump/CHANGELOG.md | 7 ++++++- solana/solana-ingest/CHANGELOG.json | 18 ++++++++++++++++ solana/solana-ingest/CHANGELOG.md | 7 ++++++- solana/solana-normalization/CHANGELOG.json | 15 +++++++++++++ solana/solana-normalization/CHANGELOG.md | 7 ++++++- solana/solana-rpc-data/CHANGELOG.json | 15 +++++++++++++ solana/solana-rpc-data/CHANGELOG.md | 7 ++++++- solana/solana-rpc/CHANGELOG.json | 15 +++++++++++++ solana/solana-rpc/CHANGELOG.md | 7 ++++++- solana/solana-stream/CHANGELOG.json | 21 +++++++++++++++++++ solana/solana-stream/CHANGELOG.md | 7 ++++++- starknet/starknet-data/CHANGELOG.json | 12 +++++++++++ starknet/starknet-data/CHANGELOG.md | 7 ++++++- .../starknet-normalization/CHANGELOG.json | 15 +++++++++++++ starknet/starknet-normalization/CHANGELOG.md | 7 ++++++- starknet/starknet-objects/CHANGELOG.json | 18 ++++++++++++++++ starknet/starknet-objects/CHANGELOG.md | 7 ++++++- starknet/starknet-stream/CHANGELOG.json | 18 ++++++++++++++++ starknet/starknet-stream/CHANGELOG.md | 7 ++++++- substrate/substrate-processor/CHANGELOG.json | 12 +++++++++++ substrate/substrate-processor/CHANGELOG.md | 7 ++++++- tron/tron-data/CHANGELOG.json | 17 +++++++++++++++ tron/tron-data/CHANGELOG.md | 9 +++++++- tron/tron-dump/CHANGELOG.json | 12 +++++++++++ tron/tron-dump/CHANGELOG.md | 7 ++++++- tron/tron-ingest/CHANGELOG.json | 15 +++++++++++++ tron/tron-ingest/CHANGELOG.md | 7 ++++++- tron/tron-normalization/CHANGELOG.json | 12 +++++++++++ tron/tron-normalization/CHANGELOG.md | 7 ++++++- tron/tron-processor/CHANGELOG.json | 18 ++++++++++++++++ tron/tron-processor/CHANGELOG.md | 7 ++++++- util/util-internal-validation/CHANGELOG.json | 12 +++++++++++ util/util-internal-validation/CHANGELOG.md | 9 +++++++- 44 files changed, 444 insertions(+), 41 deletions(-) delete mode 100644 common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json delete mode 100644 common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json diff --git a/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json b/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json deleted file mode 100644 index 4670ee360..000000000 --- a/common/changes/@subsquid/tron-data/tron-negative-timestamp_2024-12-02-13-13.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/tron-data", - "comment": "handle negative tx.timestamp values", - "type": "patch" - } - ], - "packageName": "@subsquid/tron-data" -} \ No newline at end of file diff --git a/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json b/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json deleted file mode 100644 index fef20e8d5..000000000 --- a/common/changes/@subsquid/util-internal-validation/tron-negative-timestamp_2024-12-02-13-13.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/util-internal-validation", - "comment": "add `ANY_INT` primitive", - "type": "minor" - } - ], - "packageName": "@subsquid/util-internal-validation" -} \ No newline at end of file diff --git a/evm/evm-processor/CHANGELOG.json b/evm/evm-processor/CHANGELOG.json index 0ebdff4de..1312c17a5 100644 --- a/evm/evm-processor/CHANGELOG.json +++ b/evm/evm-processor/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/evm-processor", "entries": [ + { + "version": "1.26.1", + "tag": "@subsquid/evm-processor_v1.26.1", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "1.26.0", "tag": "@subsquid/evm-processor_v1.26.0", diff --git a/evm/evm-processor/CHANGELOG.md b/evm/evm-processor/CHANGELOG.md index bc03cabb4..5efe3563f 100644 --- a/evm/evm-processor/CHANGELOG.md +++ b/evm/evm-processor/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/evm-processor -This log was last generated on Sun, 17 Nov 2024 06:01:50 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 1.26.1 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 1.26.0 Sun, 17 Nov 2024 06:01:50 GMT diff --git a/fuel/fuel-data/CHANGELOG.json b/fuel/fuel-data/CHANGELOG.json index 6f419e2b8..6e2ef5ee5 100644 --- a/fuel/fuel-data/CHANGELOG.json +++ b/fuel/fuel-data/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/fuel-data", "entries": [ + { + "version": "1.1.3", + "tag": "@subsquid/fuel-data_v1.1.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "1.1.2", "tag": "@subsquid/fuel-data_v1.1.2", diff --git a/fuel/fuel-data/CHANGELOG.md b/fuel/fuel-data/CHANGELOG.md index 0147021d6..41a0ae1ed 100644 --- a/fuel/fuel-data/CHANGELOG.md +++ b/fuel/fuel-data/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/fuel-data -This log was last generated on Wed, 04 Sep 2024 13:19:03 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 1.1.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 1.1.2 Wed, 04 Sep 2024 13:19:03 GMT diff --git a/fuel/fuel-normalization/CHANGELOG.json b/fuel/fuel-normalization/CHANGELOG.json index 76c4797af..334f656ea 100644 --- a/fuel/fuel-normalization/CHANGELOG.json +++ b/fuel/fuel-normalization/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/fuel-normalization", "entries": [ + { + "version": "1.2.2", + "tag": "@subsquid/fuel-normalization_v1.2.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/fuel-data\" from `^1.1.2` to `1.1.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "1.2.1", "tag": "@subsquid/fuel-normalization_v1.2.1", diff --git a/fuel/fuel-normalization/CHANGELOG.md b/fuel/fuel-normalization/CHANGELOG.md index 3f43ef708..0c3d468f6 100644 --- a/fuel/fuel-normalization/CHANGELOG.md +++ b/fuel/fuel-normalization/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/fuel-normalization -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 1.2.2 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 1.2.1 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/fuel/fuel-stream/CHANGELOG.json b/fuel/fuel-stream/CHANGELOG.json index 8e9461eaf..39b99d825 100644 --- a/fuel/fuel-stream/CHANGELOG.json +++ b/fuel/fuel-stream/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@subsquid/fuel-stream", "entries": [ + { + "version": "1.0.3", + "tag": "@subsquid/fuel-stream_v1.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/fuel-normalization\" from `^1.2.1` to `1.2.2`" + }, + { + "comment": "Updating dependency \"@subsquid/fuel-data\" from `^1.1.2` to `1.1.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "1.0.2", "tag": "@subsquid/fuel-stream_v1.0.2", diff --git a/fuel/fuel-stream/CHANGELOG.md b/fuel/fuel-stream/CHANGELOG.md index a36fd432d..5d640dee1 100644 --- a/fuel/fuel-stream/CHANGELOG.md +++ b/fuel/fuel-stream/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/fuel-stream -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 1.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 1.0.2 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/solana/solana-dump/CHANGELOG.json b/solana/solana-dump/CHANGELOG.json index d12873485..083b2de35 100644 --- a/solana/solana-dump/CHANGELOG.json +++ b/solana/solana-dump/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/solana-dump", "entries": [ + { + "version": "0.0.7", + "tag": "@subsquid/solana-dump_v0.0.7", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/solana-rpc\" from `^0.0.2` to `0.0.3`" + } + ] + } + }, { "version": "0.0.6", "tag": "@subsquid/solana-dump_v0.0.6", diff --git a/solana/solana-dump/CHANGELOG.md b/solana/solana-dump/CHANGELOG.md index 76c414a6c..1d96fec0a 100644 --- a/solana/solana-dump/CHANGELOG.md +++ b/solana/solana-dump/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-dump -This log was last generated on Mon, 07 Oct 2024 08:48:33 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.7 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.6 Mon, 07 Oct 2024 08:48:33 GMT diff --git a/solana/solana-ingest/CHANGELOG.json b/solana/solana-ingest/CHANGELOG.json index 9a8876e8b..512bd0d09 100644 --- a/solana/solana-ingest/CHANGELOG.json +++ b/solana/solana-ingest/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@subsquid/solana-ingest", "entries": [ + { + "version": "0.0.6", + "tag": "@subsquid/solana-ingest_v0.0.6", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/solana-normalization\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/solana-rpc-data\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.5", "tag": "@subsquid/solana-ingest_v0.0.5", diff --git a/solana/solana-ingest/CHANGELOG.md b/solana/solana-ingest/CHANGELOG.md index 325a56751..4e7779c27 100644 --- a/solana/solana-ingest/CHANGELOG.md +++ b/solana/solana-ingest/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-ingest -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.6 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.5 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/solana/solana-normalization/CHANGELOG.json b/solana/solana-normalization/CHANGELOG.json index 6bf6ffebe..948ab16bb 100644 --- a/solana/solana-normalization/CHANGELOG.json +++ b/solana/solana-normalization/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/solana-normalization", "entries": [ + { + "version": "0.0.3", + "tag": "@subsquid/solana-normalization_v0.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/solana-rpc-data\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.2", "tag": "@subsquid/solana-normalization_v0.0.2", diff --git a/solana/solana-normalization/CHANGELOG.md b/solana/solana-normalization/CHANGELOG.md index 26d174ecb..2d8f81c82 100644 --- a/solana/solana-normalization/CHANGELOG.md +++ b/solana/solana-normalization/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-normalization -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.2 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/solana/solana-rpc-data/CHANGELOG.json b/solana/solana-rpc-data/CHANGELOG.json index 240c47601..81f90044e 100644 --- a/solana/solana-rpc-data/CHANGELOG.json +++ b/solana/solana-rpc-data/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/solana-rpc-data", "entries": [ + { + "version": "0.0.3", + "tag": "@subsquid/solana-rpc-data_v0.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.2", "tag": "@subsquid/solana-rpc-data_v0.0.2", diff --git a/solana/solana-rpc-data/CHANGELOG.md b/solana/solana-rpc-data/CHANGELOG.md index a36d5d45c..38593807a 100644 --- a/solana/solana-rpc-data/CHANGELOG.md +++ b/solana/solana-rpc-data/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-rpc-data -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.2 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/solana/solana-rpc/CHANGELOG.json b/solana/solana-rpc/CHANGELOG.json index f3dd66e9f..0bd51a180 100644 --- a/solana/solana-rpc/CHANGELOG.json +++ b/solana/solana-rpc/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/solana-rpc", "entries": [ + { + "version": "0.0.3", + "tag": "@subsquid/solana-rpc_v0.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/solana-rpc-data\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.2", "tag": "@subsquid/solana-rpc_v0.0.2", diff --git a/solana/solana-rpc/CHANGELOG.md b/solana/solana-rpc/CHANGELOG.md index 53b44adbe..0ace1b2d6 100644 --- a/solana/solana-rpc/CHANGELOG.md +++ b/solana/solana-rpc/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-rpc -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.2 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/solana/solana-stream/CHANGELOG.json b/solana/solana-stream/CHANGELOG.json index 68ee0dc08..29563fcb0 100644 --- a/solana/solana-stream/CHANGELOG.json +++ b/solana/solana-stream/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@subsquid/solana-stream", "entries": [ + { + "version": "0.1.2", + "tag": "@subsquid/solana-stream_v0.1.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/solana-normalization\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/solana-rpc\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/solana-rpc-data\" from `^0.0.2` to `0.0.3`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.1.1", "tag": "@subsquid/solana-stream_v0.1.1", diff --git a/solana/solana-stream/CHANGELOG.md b/solana/solana-stream/CHANGELOG.md index 5b69908d3..36471c055 100644 --- a/solana/solana-stream/CHANGELOG.md +++ b/solana/solana-stream/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/solana-stream -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.1.2 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.1.1 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/starknet/starknet-data/CHANGELOG.json b/starknet/starknet-data/CHANGELOG.json index 4693def7d..177b8ed71 100644 --- a/starknet/starknet-data/CHANGELOG.json +++ b/starknet/starknet-data/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/starknet-data", "entries": [ + { + "version": "0.0.1", + "tag": "@subsquid/starknet-data_v0.0.1", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.0", "tag": "@subsquid/starknet-data_v0.0.0", diff --git a/starknet/starknet-data/CHANGELOG.md b/starknet/starknet-data/CHANGELOG.md index 197c2b997..d5fc8c16c 100644 --- a/starknet/starknet-data/CHANGELOG.md +++ b/starknet/starknet-data/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/starknet-data -This log was last generated on Wed, 04 Sep 2024 13:19:03 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.1 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.0 Wed, 04 Sep 2024 13:19:03 GMT diff --git a/starknet/starknet-normalization/CHANGELOG.json b/starknet/starknet-normalization/CHANGELOG.json index 492e11d64..11d4a2392 100644 --- a/starknet/starknet-normalization/CHANGELOG.json +++ b/starknet/starknet-normalization/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/starknet-normalization", "entries": [ + { + "version": "0.0.1", + "tag": "@subsquid/starknet-normalization_v0.0.1", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/starknet-data\" from `^0.0.0` to `0.0.1`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.0", "tag": "@subsquid/starknet-normalization_v0.0.0", diff --git a/starknet/starknet-normalization/CHANGELOG.md b/starknet/starknet-normalization/CHANGELOG.md index b2b00c80f..cd2761f12 100644 --- a/starknet/starknet-normalization/CHANGELOG.md +++ b/starknet/starknet-normalization/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/starknet-normalization -This log was last generated on Wed, 04 Sep 2024 13:19:03 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.1 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.0 Wed, 04 Sep 2024 13:19:03 GMT diff --git a/starknet/starknet-objects/CHANGELOG.json b/starknet/starknet-objects/CHANGELOG.json index 2c4057fca..c30f30eb0 100644 --- a/starknet/starknet-objects/CHANGELOG.json +++ b/starknet/starknet-objects/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@subsquid/starknet-objects", "entries": [ + { + "version": "0.0.1", + "tag": "@subsquid/starknet-objects_v0.0.1", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/starknet-normalization\" from `^0.0.0` to `0.0.1`" + }, + { + "comment": "Updating dependency \"@subsquid/starknet-stream\" from `^0.0.0` to `0.0.1`" + }, + { + "comment": "Updating dependency \"@subsquid/starknet-stream\" from `^0.0.0` to `0.0.1`" + } + ] + } + }, { "version": "0.0.0", "tag": "@subsquid/starknet-objects_v0.0.0", diff --git a/starknet/starknet-objects/CHANGELOG.md b/starknet/starknet-objects/CHANGELOG.md index 9c4b8716e..bfe20a116 100644 --- a/starknet/starknet-objects/CHANGELOG.md +++ b/starknet/starknet-objects/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/starknet-objects -This log was last generated on Wed, 04 Sep 2024 13:19:03 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.1 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.0 Wed, 04 Sep 2024 13:19:03 GMT diff --git a/starknet/starknet-stream/CHANGELOG.json b/starknet/starknet-stream/CHANGELOG.json index 013d8b2c7..fbaf39ee6 100644 --- a/starknet/starknet-stream/CHANGELOG.json +++ b/starknet/starknet-stream/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@subsquid/starknet-stream", "entries": [ + { + "version": "0.0.1", + "tag": "@subsquid/starknet-stream_v0.0.1", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/starknet-normalization\" from `^0.0.0` to `0.0.1`" + }, + { + "comment": "Updating dependency \"@subsquid/starknet-data\" from `^0.0.0` to `0.0.1`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.0", "tag": "@subsquid/starknet-stream_v0.0.0", diff --git a/starknet/starknet-stream/CHANGELOG.md b/starknet/starknet-stream/CHANGELOG.md index 4260f992c..f0f2545e6 100644 --- a/starknet/starknet-stream/CHANGELOG.md +++ b/starknet/starknet-stream/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/starknet-stream -This log was last generated on Wed, 04 Sep 2024 13:19:03 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.1 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.0 Wed, 04 Sep 2024 13:19:03 GMT diff --git a/substrate/substrate-processor/CHANGELOG.json b/substrate/substrate-processor/CHANGELOG.json index bbc880790..ac4ce3bbe 100644 --- a/substrate/substrate-processor/CHANGELOG.json +++ b/substrate/substrate-processor/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/substrate-processor", "entries": [ + { + "version": "8.5.2", + "tag": "@subsquid/substrate-processor_v8.5.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "8.5.1", "tag": "@subsquid/substrate-processor_v8.5.1", diff --git a/substrate/substrate-processor/CHANGELOG.md b/substrate/substrate-processor/CHANGELOG.md index 5cf99b274..b0ad670d5 100644 --- a/substrate/substrate-processor/CHANGELOG.md +++ b/substrate/substrate-processor/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/substrate-processor -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 8.5.2 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 8.5.1 Wed, 21 Aug 2024 09:10:53 GMT diff --git a/tron/tron-data/CHANGELOG.json b/tron/tron-data/CHANGELOG.json index b0b91d962..b1bd0b760 100644 --- a/tron/tron-data/CHANGELOG.json +++ b/tron/tron-data/CHANGELOG.json @@ -1,6 +1,23 @@ { "name": "@subsquid/tron-data", "entries": [ + { + "version": "0.0.2", + "tag": "@subsquid/tron-data_v0.0.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "patch": [ + { + "comment": "handle negative tx.timestamp values" + } + ], + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.1", "tag": "@subsquid/tron-data_v0.0.1", diff --git a/tron/tron-data/CHANGELOG.md b/tron/tron-data/CHANGELOG.md index 39cc88777..5c0dfb160 100644 --- a/tron/tron-data/CHANGELOG.md +++ b/tron/tron-data/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/tron-data -This log was last generated on Tue, 15 Oct 2024 07:22:30 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.2 +Tue, 03 Dec 2024 11:47:42 GMT + +### Patches + +- handle negative tx.timestamp values ## 0.0.1 Tue, 15 Oct 2024 07:22:30 GMT diff --git a/tron/tron-dump/CHANGELOG.json b/tron/tron-dump/CHANGELOG.json index 7e1049a7c..b6edb9e2c 100644 --- a/tron/tron-dump/CHANGELOG.json +++ b/tron/tron-dump/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/tron-dump", "entries": [ + { + "version": "0.0.3", + "tag": "@subsquid/tron-dump_v0.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/tron-data\" from `^0.0.1` to `0.0.2`" + } + ] + } + }, { "version": "0.0.2", "tag": "@subsquid/tron-dump_v0.0.2", diff --git a/tron/tron-dump/CHANGELOG.md b/tron/tron-dump/CHANGELOG.md index 5ee4e3960..02cd95b9e 100644 --- a/tron/tron-dump/CHANGELOG.md +++ b/tron/tron-dump/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/tron-dump -This log was last generated on Tue, 15 Oct 2024 07:22:30 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.2 Tue, 15 Oct 2024 07:22:30 GMT diff --git a/tron/tron-ingest/CHANGELOG.json b/tron/tron-ingest/CHANGELOG.json index 9d2ec7554..548cb8860 100644 --- a/tron/tron-ingest/CHANGELOG.json +++ b/tron/tron-ingest/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@subsquid/tron-ingest", "entries": [ + { + "version": "0.0.2", + "tag": "@subsquid/tron-ingest_v0.0.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/tron-data\" from `^0.0.1` to `0.0.2`" + }, + { + "comment": "Updating dependency \"@subsquid/tron-normalization\" from `^0.0.1` to `0.0.2`" + } + ] + } + }, { "version": "0.0.1", "tag": "@subsquid/tron-ingest_v0.0.1", diff --git a/tron/tron-ingest/CHANGELOG.md b/tron/tron-ingest/CHANGELOG.md index 2ccb95e3d..4f44d48b6 100644 --- a/tron/tron-ingest/CHANGELOG.md +++ b/tron/tron-ingest/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/tron-ingest -This log was last generated on Tue, 15 Oct 2024 07:22:30 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.2 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.1 Tue, 15 Oct 2024 07:22:30 GMT diff --git a/tron/tron-normalization/CHANGELOG.json b/tron/tron-normalization/CHANGELOG.json index e3d9ccc43..fb38e5fd4 100644 --- a/tron/tron-normalization/CHANGELOG.json +++ b/tron/tron-normalization/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/tron-normalization", "entries": [ + { + "version": "0.0.2", + "tag": "@subsquid/tron-normalization_v0.0.2", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/tron-data\" from `^0.0.1` to `0.0.2`" + } + ] + } + }, { "version": "0.0.1", "tag": "@subsquid/tron-normalization_v0.0.1", diff --git a/tron/tron-normalization/CHANGELOG.md b/tron/tron-normalization/CHANGELOG.md index 6629cf4bf..ef66cd41b 100644 --- a/tron/tron-normalization/CHANGELOG.md +++ b/tron/tron-normalization/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/tron-normalization -This log was last generated on Tue, 15 Oct 2024 07:22:30 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.2 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.1 Tue, 15 Oct 2024 07:22:30 GMT diff --git a/tron/tron-processor/CHANGELOG.json b/tron/tron-processor/CHANGELOG.json index b4cba9b64..82b08e6d8 100644 --- a/tron/tron-processor/CHANGELOG.json +++ b/tron/tron-processor/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@subsquid/tron-processor", "entries": [ + { + "version": "0.0.3", + "tag": "@subsquid/tron-processor_v0.0.3", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "dependency": [ + { + "comment": "Updating dependency \"@subsquid/tron-data\" from `^0.0.1` to `0.0.2`" + }, + { + "comment": "Updating dependency \"@subsquid/tron-normalization\" from `^0.0.1` to `0.0.2`" + }, + { + "comment": "Updating dependency \"@subsquid/util-internal-validation\" from `^0.6.0` to `0.7.0`" + } + ] + } + }, { "version": "0.0.2", "tag": "@subsquid/tron-processor_v0.0.2", diff --git a/tron/tron-processor/CHANGELOG.md b/tron/tron-processor/CHANGELOG.md index d9a54d610..964235bfc 100644 --- a/tron/tron-processor/CHANGELOG.md +++ b/tron/tron-processor/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @subsquid/tron-processor -This log was last generated on Fri, 18 Oct 2024 11:14:29 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.0.3 +Tue, 03 Dec 2024 11:47:42 GMT + +_Version update only_ ## 0.0.2 Fri, 18 Oct 2024 11:14:29 GMT diff --git a/util/util-internal-validation/CHANGELOG.json b/util/util-internal-validation/CHANGELOG.json index 02756490c..0d584aded 100644 --- a/util/util-internal-validation/CHANGELOG.json +++ b/util/util-internal-validation/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/util-internal-validation", "entries": [ + { + "version": "0.7.0", + "tag": "@subsquid/util-internal-validation_v0.7.0", + "date": "Tue, 03 Dec 2024 11:47:42 GMT", + "comments": { + "minor": [ + { + "comment": "add `ANY_INT` primitive" + } + ] + } + }, { "version": "0.6.0", "tag": "@subsquid/util-internal-validation_v0.6.0", diff --git a/util/util-internal-validation/CHANGELOG.md b/util/util-internal-validation/CHANGELOG.md index ce9034931..36ec6b3dd 100644 --- a/util/util-internal-validation/CHANGELOG.md +++ b/util/util-internal-validation/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/util-internal-validation -This log was last generated on Wed, 21 Aug 2024 09:10:53 GMT and should not be manually modified. +This log was last generated on Tue, 03 Dec 2024 11:47:42 GMT and should not be manually modified. + +## 0.7.0 +Tue, 03 Dec 2024 11:47:42 GMT + +### Minor changes + +- add `ANY_INT` primitive ## 0.6.0 Wed, 21 Aug 2024 09:10:53 GMT From 6497324f37b97c3564236841c0bd5243167cf4c8 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 3 Dec 2024 11:47:42 +0000 Subject: [PATCH 19/22] Bump versions [skip ci] --- evm/evm-processor/package.json | 4 ++-- fuel/fuel-data/package.json | 4 ++-- fuel/fuel-dump/package.json | 2 +- fuel/fuel-ingest/package.json | 4 ++-- fuel/fuel-normalization/package.json | 6 +++--- fuel/fuel-objects/package.json | 8 ++++---- fuel/fuel-stream/package.json | 8 ++++---- solana/solana-dump/package.json | 4 ++-- solana/solana-ingest/package.json | 8 ++++---- solana/solana-normalization/package.json | 6 +++--- solana/solana-objects/package.json | 4 ++-- solana/solana-rpc-data/package.json | 6 +++--- solana/solana-rpc/package.json | 6 +++--- solana/solana-stream/package.json | 10 +++++----- solana/solana-typegen/package.json | 2 +- starknet/starknet-data/package.json | 4 ++-- starknet/starknet-normalization/package.json | 6 +++--- starknet/starknet-objects/package.json | 8 ++++---- starknet/starknet-stream/package.json | 8 ++++---- substrate/substrate-processor/package.json | 4 ++-- test/astar-erc20/package.json | 2 +- test/balances/package.json | 2 +- test/erc20-transfers/package.json | 2 +- test/fuel-indexer/package.json | 2 +- test/shibuya-erc20/package.json | 2 +- test/shibuya-psp22/package.json | 2 +- test/solana-example/package.json | 2 +- test/starknet-indexer/package.json | 4 ++-- test/tron-usdt/package.json | 2 +- tron/tron-data/package.json | 4 ++-- tron/tron-dump/package.json | 4 ++-- tron/tron-ingest/package.json | 6 +++--- tron/tron-normalization/package.json | 4 ++-- tron/tron-processor/package.json | 8 ++++---- util/util-internal-validation/package.json | 2 +- 35 files changed, 80 insertions(+), 80 deletions(-) diff --git a/evm/evm-processor/package.json b/evm/evm-processor/package.json index 85c1b663f..c597ab08f 100644 --- a/evm/evm-processor/package.json +++ b/evm/evm-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/evm-processor", - "version": "1.26.0", + "version": "1.26.1", "description": "Data fetcher and mappings executor for EVM-based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -26,7 +26,7 @@ "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-processor-tools": "^4.1.1", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0", + "@subsquid/util-internal-validation": "^0.7.0", "@subsquid/util-timeout": "^2.3.2" }, "devDependencies": { diff --git a/fuel/fuel-data/package.json b/fuel/fuel-data/package.json index 035fb28cb..5c0b03910 100644 --- a/fuel/fuel-data/package.json +++ b/fuel/fuel-data/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/fuel-data", - "version": "1.1.2", + "version": "1.1.3", "description": "Fuel data definition and fetching", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -21,7 +21,7 @@ "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "peerDependencies": { "@subsquid/http-client": "^1.4.0" diff --git a/fuel/fuel-dump/package.json b/fuel/fuel-dump/package.json index 0100c0ac0..c9d5ae85f 100644 --- a/fuel/fuel-dump/package.json +++ b/fuel/fuel-dump/package.json @@ -19,7 +19,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/fuel-data": "^1.1.2", + "@subsquid/fuel-data": "^1.1.3", "@subsquid/http-client": "^1.5.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-dump-cli": "^1.0.0" diff --git a/fuel/fuel-ingest/package.json b/fuel/fuel-ingest/package.json index ebd8ca361..2e88f2302 100644 --- a/fuel/fuel-ingest/package.json +++ b/fuel/fuel-ingest/package.json @@ -19,8 +19,8 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/fuel-data": "^1.1.2", - "@subsquid/fuel-normalization": "^1.2.1", + "@subsquid/fuel-data": "^1.1.3", + "@subsquid/fuel-normalization": "^1.2.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-cli": "^0.1.1", "@subsquid/util-internal-json": "^1.2.3" diff --git a/fuel/fuel-normalization/package.json b/fuel/fuel-normalization/package.json index 39c3ea4c2..900707ead 100644 --- a/fuel/fuel-normalization/package.json +++ b/fuel/fuel-normalization/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/fuel-normalization", - "version": "1.2.1", + "version": "1.2.2", "description": "Fuel data model", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,12 +16,12 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/fuel-data": "^1.1.2", + "@subsquid/fuel-data": "^1.1.3", "@subsquid/logger": "^1.3.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/fuel/fuel-objects/package.json b/fuel/fuel-objects/package.json index 6e3c245d4..d17da1c5e 100644 --- a/fuel/fuel-objects/package.json +++ b/fuel/fuel-objects/package.json @@ -16,15 +16,15 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/fuel-data": "^1.1.2", - "@subsquid/fuel-normalization": "^1.2.1", + "@subsquid/fuel-data": "^1.1.3", + "@subsquid/fuel-normalization": "^1.2.2", "@subsquid/util-internal": "^3.2.0" }, "peerDependencies": { - "@subsquid/fuel-stream": "^1.0.2" + "@subsquid/fuel-stream": "^1.0.3" }, "devDependencies": { - "@subsquid/fuel-stream": "^1.0.2", + "@subsquid/fuel-stream": "^1.0.3", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/fuel/fuel-stream/package.json b/fuel/fuel-stream/package.json index 6ca675013..5994ac4b1 100644 --- a/fuel/fuel-stream/package.json +++ b/fuel/fuel-stream/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/fuel-stream", - "version": "1.0.2", + "version": "1.0.3", "description": "Fuel block data streamer", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -18,14 +18,14 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/fuel-normalization": "^1.2.1", - "@subsquid/fuel-data": "^1.1.2", + "@subsquid/fuel-normalization": "^1.2.2", + "@subsquid/fuel-data": "^1.1.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-processor-tools": "^4.1.1", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/solana/solana-dump/package.json b/solana/solana-dump/package.json index e100d1007..a562d2f89 100644 --- a/solana/solana-dump/package.json +++ b/solana/solana-dump/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-dump", - "version": "0.0.6", + "version": "0.0.7", "description": "Data archiving tool for Solana", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -20,7 +20,7 @@ }, "dependencies": { "@subsquid/rpc-client": "^4.11.0", - "@subsquid/solana-rpc": "^0.0.2", + "@subsquid/solana-rpc": "^0.0.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-dump-cli": "^1.0.0" }, diff --git a/solana/solana-ingest/package.json b/solana/solana-ingest/package.json index 3e8b6a2ad..5d80a83cc 100644 --- a/solana/solana-ingest/package.json +++ b/solana/solana-ingest/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-ingest", - "version": "0.0.5", + "version": "0.0.6", "description": "Data fetcher and normalizer for Solana", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -19,12 +19,12 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/solana-normalization": "^0.0.2", - "@subsquid/solana-rpc-data": "^0.0.2", + "@subsquid/solana-normalization": "^0.0.3", + "@subsquid/solana-rpc-data": "^0.0.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-cli": "^0.1.1", "@subsquid/util-internal-json": "^1.2.3", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/solana/solana-normalization/package.json b/solana/solana-normalization/package.json index c7593dbd0..7ca3307cb 100644 --- a/solana/solana-normalization/package.json +++ b/solana/solana-normalization/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-normalization", - "version": "0.0.2", + "version": "0.0.3", "description": "Solana data model", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,9 +16,9 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/solana-rpc-data": "^0.0.2", + "@subsquid/solana-rpc-data": "^0.0.3", "@subsquid/util-internal": "^3.2.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { diff --git a/solana/solana-objects/package.json b/solana/solana-objects/package.json index 84296c0a8..09b88d5f0 100644 --- a/solana/solana-objects/package.json +++ b/solana/solana-objects/package.json @@ -19,10 +19,10 @@ "@subsquid/util-internal": "^3.2.0" }, "peerDependencies": { - "@subsquid/solana-stream": "^0.1.1" + "@subsquid/solana-stream": "^0.1.2" }, "devDependencies": { - "@subsquid/solana-stream": "^0.1.1", + "@subsquid/solana-stream": "^0.1.2", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/solana/solana-rpc-data/package.json b/solana/solana-rpc-data/package.json index 72cde7094..0ec2a46f4 100644 --- a/solana/solana-rpc-data/package.json +++ b/solana/solana-rpc-data/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-rpc-data", - "version": "0.0.2", + "version": "0.0.3", "description": "Solana RPC data definitions", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,10 +16,10 @@ "build": "rm -rf lib && tsc" }, "peerDependencies": { - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { - "@subsquid/util-internal-validation": "^0.6.0", + "@subsquid/util-internal-validation": "^0.7.0", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/solana/solana-rpc/package.json b/solana/solana-rpc/package.json index 384732c60..56706ccfd 100644 --- a/solana/solana-rpc/package.json +++ b/solana/solana-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-rpc", - "version": "0.0.2", + "version": "0.0.3", "description": "Solana RPC data ingestion tools", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -17,10 +17,10 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/solana-rpc-data": "^0.0.2", + "@subsquid/solana-rpc-data": "^0.0.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "peerDependencies": { "@subsquid/rpc-client": "^4.11.0" diff --git a/solana/solana-stream/package.json b/solana/solana-stream/package.json index 2139399e6..42f8fde12 100644 --- a/solana/solana-stream/package.json +++ b/solana/solana-stream/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/solana-stream", - "version": "0.1.1", + "version": "0.1.2", "description": "Solana block data streamer", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -19,16 +19,16 @@ "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", "@subsquid/rpc-client": "^4.11.0", - "@subsquid/solana-normalization": "^0.0.2", - "@subsquid/solana-rpc": "^0.0.2", - "@subsquid/solana-rpc-data": "^0.0.2", + "@subsquid/solana-normalization": "^0.0.3", + "@subsquid/solana-rpc": "^0.0.3", + "@subsquid/solana-rpc-data": "^0.0.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-hex": "^1.2.2", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-processor-tools": "^4.1.1", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0", + "@subsquid/util-internal-validation": "^0.7.0", "bs58": "^5.0.0" }, "devDependencies": { diff --git a/solana/solana-typegen/package.json b/solana/solana-typegen/package.json index 83f2816f6..b15f07742 100644 --- a/solana/solana-typegen/package.json +++ b/solana/solana-typegen/package.json @@ -33,7 +33,7 @@ "@solanafm/explorer-kit-idls": "^1.1.3" }, "devDependencies": { - "@subsquid/solana-stream": "^0.1.1", + "@subsquid/solana-stream": "^0.1.2", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/starknet/starknet-data/package.json b/starknet/starknet-data/package.json index 084afd20b..8f8a66490 100644 --- a/starknet/starknet-data/package.json +++ b/starknet/starknet-data/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/starknet-data", - "version": "0.0.0", + "version": "0.0.1", "description": "Starknet data definition and fetching", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -17,7 +17,7 @@ }, "dependencies": { "@subsquid/logger": "^1.3.3", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/starknet/starknet-normalization/package.json b/starknet/starknet-normalization/package.json index 15a4bba84..8c2f30e29 100644 --- a/starknet/starknet-normalization/package.json +++ b/starknet/starknet-normalization/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/starknet-normalization", - "version": "0.0.0", + "version": "0.0.1", "description": "Starknet data model", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,12 +16,12 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/starknet-data": "^0.0.0", + "@subsquid/starknet-data": "^0.0.1", "@subsquid/logger": "^1.3.3", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/starknet/starknet-objects/package.json b/starknet/starknet-objects/package.json index 762cbb9b6..be2203b52 100644 --- a/starknet/starknet-objects/package.json +++ b/starknet/starknet-objects/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/starknet-objects", - "version": "0.0.0", + "version": "0.0.1", "description": "Augmented Starknet data model", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,14 +16,14 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/starknet-normalization": "^0.0.0", + "@subsquid/starknet-normalization": "^0.0.1", "@subsquid/util-internal": "^3.2.0" }, "peerDependencies": { - "@subsquid/starknet-stream": "^0.0.0" + "@subsquid/starknet-stream": "^0.0.1" }, "devDependencies": { - "@subsquid/starknet-stream": "^0.0.0", + "@subsquid/starknet-stream": "^0.0.1", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/starknet/starknet-stream/package.json b/starknet/starknet-stream/package.json index b92e888e5..af1001c45 100644 --- a/starknet/starknet-stream/package.json +++ b/starknet/starknet-stream/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/starknet-stream", - "version": "0.0.0", + "version": "0.0.1", "description": "Starknet block data streamer", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -18,14 +18,14 @@ "dependencies": { "@subsquid/http-client": "^1.4.0", "@subsquid/logger": "^1.3.3", - "@subsquid/starknet-normalization": "^0.0.0", - "@subsquid/starknet-data": "^0.0.0", + "@subsquid/starknet-normalization": "^0.0.1", + "@subsquid/starknet-data": "^0.0.1", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-processor-tools": "^4.1.1", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/substrate/substrate-processor/package.json b/substrate/substrate-processor/package.json index 80b99180d..151ef2e85 100644 --- a/substrate/substrate-processor/package.json +++ b/substrate/substrate-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/substrate-processor", - "version": "8.5.1", + "version": "8.5.2", "description": "Data fetcher and mappings executor for substrate chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -28,7 +28,7 @@ "@subsquid/util-internal-json": "^1.2.3", "@subsquid/util-internal-processor-tools": "^4.1.1", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0" + "@subsquid/util-internal-validation": "^0.7.0" }, "peerDependencies": { "@subsquid/substrate-runtime": "^2.0.0" diff --git a/test/astar-erc20/package.json b/test/astar-erc20/package.json index 404648398..3d0daacd8 100644 --- a/test/astar-erc20/package.json +++ b/test/astar-erc20/package.json @@ -10,7 +10,7 @@ "@subsquid/frontier": "^4.0.4", "@subsquid/graphql-server": "^4.9.0", "@subsquid/substrate-runtime": "^2.0.0", - "@subsquid/substrate-processor": "^8.5.1", + "@subsquid/substrate-processor": "^8.5.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "@subsquid/util-internal-json": "^1.2.3", diff --git a/test/balances/package.json b/test/balances/package.json index 79e4e5200..3efa473a8 100644 --- a/test/balances/package.json +++ b/test/balances/package.json @@ -8,7 +8,7 @@ "dependencies": { "@subsquid/graphql-server": "^4.9.0", "@subsquid/ss58": "^2.0.2", - "@subsquid/substrate-processor": "^8.5.1", + "@subsquid/substrate-processor": "^8.5.2", "@subsquid/substrate-runtime": "^2.0.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", diff --git a/test/erc20-transfers/package.json b/test/erc20-transfers/package.json index 14e98bb34..f5ed64c92 100644 --- a/test/erc20-transfers/package.json +++ b/test/erc20-transfers/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.9.0", - "@subsquid/evm-processor": "^1.26.0", + "@subsquid/evm-processor": "^1.26.1", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", diff --git a/test/fuel-indexer/package.json b/test/fuel-indexer/package.json index 423d14dd2..293edd952 100644 --- a/test/fuel-indexer/package.json +++ b/test/fuel-indexer/package.json @@ -6,7 +6,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/fuel-stream": "^1.0.2", + "@subsquid/fuel-stream": "^1.0.3", "@subsquid/fuel-objects": "^0.0.4", "@subsquid/batch-processor": "^0.0.0", "@subsquid/typeorm-migration": "^1.3.0", diff --git a/test/shibuya-erc20/package.json b/test/shibuya-erc20/package.json index 1d3516a2a..4c5b80fed 100644 --- a/test/shibuya-erc20/package.json +++ b/test/shibuya-erc20/package.json @@ -8,7 +8,7 @@ "dependencies": { "@subsquid/ss58": "^2.0.2", "@subsquid/graphql-server": "^4.9.0", - "@subsquid/substrate-processor": "^8.5.1", + "@subsquid/substrate-processor": "^8.5.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "@subsquid/ink-abi": "^3.1.2", diff --git a/test/shibuya-psp22/package.json b/test/shibuya-psp22/package.json index 03d9ca3f2..4dae028ce 100644 --- a/test/shibuya-psp22/package.json +++ b/test/shibuya-psp22/package.json @@ -9,7 +9,7 @@ "@subsquid/ss58": "^2.0.2", "@subsquid/graphql-server": "^4.9.0", "@subsquid/substrate-runtime": "^2.0.0", - "@subsquid/substrate-processor": "^8.5.1", + "@subsquid/substrate-processor": "^8.5.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "@subsquid/ink-abi": "^3.1.2", diff --git a/test/solana-example/package.json b/test/solana-example/package.json index 101484a68..e067a8e1b 100644 --- a/test/solana-example/package.json +++ b/test/solana-example/package.json @@ -10,7 +10,7 @@ "@subsquid/borsh": "^0.1.0", "@subsquid/logger": "^1.3.3", "@subsquid/solana-objects": "^0.0.2", - "@subsquid/solana-stream": "^0.1.1", + "@subsquid/solana-stream": "^0.1.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", diff --git a/test/starknet-indexer/package.json b/test/starknet-indexer/package.json index 06309ba86..4f35c68d2 100644 --- a/test/starknet-indexer/package.json +++ b/test/starknet-indexer/package.json @@ -6,8 +6,8 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/starknet-stream": "^0.0.0", - "@subsquid/starknet-objects": "^0.0.0", + "@subsquid/starknet-stream": "^0.0.1", + "@subsquid/starknet-objects": "^0.0.1", "@subsquid/batch-processor": "^0.0.0", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", diff --git a/test/tron-usdt/package.json b/test/tron-usdt/package.json index ca1c9a5ac..3da620215 100644 --- a/test/tron-usdt/package.json +++ b/test/tron-usdt/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@subsquid/graphql-server": "^4.7.0", - "@subsquid/tron-processor": "^0.0.2", + "@subsquid/tron-processor": "^0.0.3", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "dotenv": "^16.3.1", diff --git a/tron/tron-data/package.json b/tron/tron-data/package.json index 7fdad2b0b..8bad375e4 100644 --- a/tron/tron-data/package.json +++ b/tron/tron-data/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/tron-data", - "version": "0.0.1", + "version": "0.0.2", "description": "Data fetcher for tron based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -19,7 +19,7 @@ "@subsquid/http-client": "^1.5.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-tools": "^1.1.4", - "@subsquid/util-internal-validation": "^0.6.0", + "@subsquid/util-internal-validation": "^0.7.0", "@subsquid/util-internal-json-fix-unsafe-integers": "^0.0.0", "@subsquid/util-internal-range": "^0.3.0" }, diff --git a/tron/tron-dump/package.json b/tron/tron-dump/package.json index 2e9080095..582d54643 100644 --- a/tron/tron-dump/package.json +++ b/tron/tron-dump/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/tron-dump", - "version": "0.0.2", + "version": "0.0.3", "description": "Raw data archiving tool for tron based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -18,7 +18,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/tron-data": "^0.0.1", + "@subsquid/tron-data": "^0.0.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-dump-cli": "^1.0.0" }, diff --git a/tron/tron-ingest/package.json b/tron/tron-ingest/package.json index 281de676e..88eaa171a 100644 --- a/tron/tron-ingest/package.json +++ b/tron/tron-ingest/package.json @@ -1,7 +1,7 @@ { "name": "@subsquid/tron-ingest", "description": "Data fetcher for tron based chains", - "version": "0.0.1", + "version": "0.0.2", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", "publishConfig": { @@ -19,8 +19,8 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/tron-data": "^0.0.1", - "@subsquid/tron-normalization": "^0.0.1", + "@subsquid/tron-data": "^0.0.2", + "@subsquid/tron-normalization": "^0.0.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-json": "^1.2.3", "@subsquid/util-internal-ingest-cli": "^0.1.1" diff --git a/tron/tron-normalization/package.json b/tron/tron-normalization/package.json index 9331576d6..b4445cc5b 100644 --- a/tron/tron-normalization/package.json +++ b/tron/tron-normalization/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/tron-normalization", - "version": "0.0.1", + "version": "0.0.2", "description": "Tron data model", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -16,7 +16,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/tron-data": "^0.0.1" + "@subsquid/tron-data": "^0.0.2" }, "devDependencies": { "@types/node": "^18.18.14", diff --git a/tron/tron-processor/package.json b/tron/tron-processor/package.json index 9a2567f53..2d70cd8cd 100644 --- a/tron/tron-processor/package.json +++ b/tron/tron-processor/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/tron-processor", - "version": "0.0.2", + "version": "0.0.3", "description": "Data fetcher and mappings executor for tron chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", @@ -18,11 +18,11 @@ "dependencies": { "@subsquid/http-client": "^1.5.0", "@subsquid/logger": "^1.3.3", - "@subsquid/tron-data": "^0.0.1", - "@subsquid/tron-normalization": "^0.0.1", + "@subsquid/tron-data": "^0.0.2", + "@subsquid/tron-normalization": "^0.0.2", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-range": "^0.3.0", - "@subsquid/util-internal-validation": "^0.6.0", + "@subsquid/util-internal-validation": "^0.7.0", "@subsquid/util-internal-archive-client": "^0.1.2", "@subsquid/util-internal-ingest-tools": "^1.1.4", "@subsquid/util-internal-processor-tools": "^4.1.1" diff --git a/util/util-internal-validation/package.json b/util/util-internal-validation/package.json index 9c3aabea6..58351b6b7 100644 --- a/util/util-internal-validation/package.json +++ b/util/util-internal-validation/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/util-internal-validation", - "version": "0.6.0", + "version": "0.7.0", "description": "JSON data validation framework", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", From 61d03fedd9cf9dc432a323997dbc9f3091751205 Mon Sep 17 00:00:00 2001 From: Alexey Safonov Date: Fri, 6 Dec 2024 19:38:34 +0700 Subject: [PATCH 20/22] substrate: support bare v5 extrinsics (#359) --- .../master_2024-12-05-23-34.json | 10 +++++ .../src/runtime/extrinsic.ts | 40 +++++++++++-------- 2 files changed, 34 insertions(+), 16 deletions(-) create mode 100644 common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json diff --git a/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json b/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json new file mode 100644 index 000000000..e51408834 --- /dev/null +++ b/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/substrate-runtime", + "comment": "support bare v5 extrinsics", + "type": "patch" + } + ], + "packageName": "@subsquid/substrate-runtime" +} \ No newline at end of file diff --git a/substrate/substrate-runtime/src/runtime/extrinsic.ts b/substrate/substrate-runtime/src/runtime/extrinsic.ts index fe8b2ba3c..8b45f47cd 100644 --- a/substrate/substrate-runtime/src/runtime/extrinsic.ts +++ b/substrate/substrate-runtime/src/runtime/extrinsic.ts @@ -1,9 +1,16 @@ import {ByteSink, Codec, Sink, Src} from '@subsquid/scale-codec' +import {unexpectedCase} from '@subsquid/util-internal' import assert from 'assert' import type {RuntimeDescription} from '../metadata' import {Extrinsic} from './interfaces' +enum Preamble { + Bare = 0, + Signed = 128, +} + + export function decodeExtrinsic( rawExtrinsic: string | Uint8Array, runtimeDescription: RuntimeDescription, @@ -15,24 +22,25 @@ export function decodeExtrinsic( src.compact() let meta = src.u8() - let signed = meta & 0b10000000 let version = meta & 0b01111111 + assert([4, 5].includes(version), 'unsupported extrinsic version') - assert(version == 4, 'unsupported extrinsic version') - - if (signed) { - let signature = codec.decode(runtimeDescription.signature, src) - let call = codec.decode(runtimeDescription.call, src) - return { - version: 4, - signature, - call - } - } else { - return { - version: 4, - call: codec.decode(runtimeDescription.call, src) - } + let preamble = meta & 0b11000000 + switch (preamble) { + case Preamble.Bare: + return { + version, + call: codec.decode(runtimeDescription.call, src) + } + case Preamble.Signed: + assert(version == 4, 'signed extrinsics only supported for v4'); + return { + version, + signature: codec.decode(runtimeDescription.signature, src), + call: codec.decode(runtimeDescription.call, src) + } + default: + throw unexpectedCase(preamble) } } From e6ccd9b15a34086543702415d851ee66403ea937 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 6 Dec 2024 12:39:21 +0000 Subject: [PATCH 21/22] Update changelogs [skip ci] --- .../substrate-runtime/master_2024-12-05-23-34.json | 10 ---------- substrate/substrate-runtime/CHANGELOG.json | 12 ++++++++++++ substrate/substrate-runtime/CHANGELOG.md | 9 ++++++++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json diff --git a/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json b/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json deleted file mode 100644 index e51408834..000000000 --- a/common/changes/@subsquid/substrate-runtime/master_2024-12-05-23-34.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@subsquid/substrate-runtime", - "comment": "support bare v5 extrinsics", - "type": "patch" - } - ], - "packageName": "@subsquid/substrate-runtime" -} \ No newline at end of file diff --git a/substrate/substrate-runtime/CHANGELOG.json b/substrate/substrate-runtime/CHANGELOG.json index eed641852..b985be08e 100644 --- a/substrate/substrate-runtime/CHANGELOG.json +++ b/substrate/substrate-runtime/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@subsquid/substrate-runtime", "entries": [ + { + "version": "2.0.1", + "tag": "@subsquid/substrate-runtime_v2.0.1", + "date": "Fri, 06 Dec 2024 12:39:20 GMT", + "comments": { + "patch": [ + { + "comment": "support bare v5 extrinsics" + } + ] + } + }, { "version": "2.0.0", "tag": "@subsquid/substrate-runtime_v2.0.0", diff --git a/substrate/substrate-runtime/CHANGELOG.md b/substrate/substrate-runtime/CHANGELOG.md index baf153359..6eaa925b3 100644 --- a/substrate/substrate-runtime/CHANGELOG.md +++ b/substrate/substrate-runtime/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @subsquid/substrate-runtime -This log was last generated on Tue, 09 Apr 2024 17:45:37 GMT and should not be manually modified. +This log was last generated on Fri, 06 Dec 2024 12:39:20 GMT and should not be manually modified. + +## 2.0.1 +Fri, 06 Dec 2024 12:39:20 GMT + +### Patches + +- support bare v5 extrinsics ## 2.0.0 Tue, 09 Apr 2024 17:45:37 GMT From 209f88cf3b8f320dc62a3e44f713562e30283fdd Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 6 Dec 2024 12:39:21 +0000 Subject: [PATCH 22/22] Bump versions [skip ci] --- ops/xcm-typegen/package.json | 2 +- substrate/frontier/package.json | 4 ++-- substrate/ink-abi/package.json | 4 ++-- substrate/ink-typegen/package.json | 4 ++-- substrate/substrate-data/package.json | 4 ++-- substrate/substrate-ingest/package.json | 2 +- substrate/substrate-processor/package.json | 4 ++-- substrate/substrate-runtime/package.json | 2 +- substrate/substrate-typegen/package.json | 4 ++-- test/astar-erc20/package.json | 2 +- test/balances/package.json | 2 +- test/data/package.json | 2 +- test/shibuya-psp22/package.json | 2 +- test/types/package.json | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ops/xcm-typegen/package.json b/ops/xcm-typegen/package.json index 203615a19..c210af50d 100644 --- a/ops/xcm-typegen/package.json +++ b/ops/xcm-typegen/package.json @@ -7,7 +7,7 @@ "build": "rm -rf lib && tsc" }, "dependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/substrate-typegen": "^8.1.0", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-code-printer": "^1.2.2" diff --git a/substrate/frontier/package.json b/substrate/frontier/package.json index 8b815338d..747207356 100644 --- a/substrate/frontier/package.json +++ b/substrate/frontier/package.json @@ -22,11 +22,11 @@ "@subsquid/util-internal": "^3.2.0" }, "peerDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "ethers": "^6.9.0" }, "devDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/node": "^18.18.14", "@types/mocha": "^10.0.7", "@types/expect": "^24.3.0", diff --git a/substrate/ink-abi/package.json b/substrate/ink-abi/package.json index 8d66ce95c..3260a56be 100644 --- a/substrate/ink-abi/package.json +++ b/substrate/ink-abi/package.json @@ -23,10 +23,10 @@ "ajv": "^8.12.0" }, "peerDependencies": { - "@subsquid/substrate-runtime": "^2.0.0" + "@subsquid/substrate-runtime": "^2.0.1" }, "devDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/mocha": "^10.0.6", "@types/node": "^18.18.14", "expect": "^29.7.0", diff --git a/substrate/ink-typegen/package.json b/substrate/ink-typegen/package.json index bf510a898..f7d4ee830 100644 --- a/substrate/ink-typegen/package.json +++ b/substrate/ink-typegen/package.json @@ -21,10 +21,10 @@ "commander": "^11.1.0" }, "peerDependencies": { - "@subsquid/substrate-runtime": "^2.0.0" + "@subsquid/substrate-runtime": "^2.0.1" }, "devDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/substrate/substrate-data/package.json b/substrate/substrate-data/package.json index 1a14741db..e19abfc42 100644 --- a/substrate/substrate-data/package.json +++ b/substrate/substrate-data/package.json @@ -28,11 +28,11 @@ }, "peerDependencies": { "@subsquid/rpc-client": "^4.11.0", - "@subsquid/substrate-runtime": "^2.0.0" + "@subsquid/substrate-runtime": "^2.0.1" }, "devDependencies": { "@subsquid/rpc-client": "^4.11.0", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/substrate/substrate-ingest/package.json b/substrate/substrate-ingest/package.json index 54b5d0795..1c486e94c 100644 --- a/substrate/substrate-ingest/package.json +++ b/substrate/substrate-ingest/package.json @@ -22,7 +22,7 @@ "@subsquid/rpc-client": "^4.11.0", "@subsquid/substrate-data": "^4.2.1", "@subsquid/substrate-data-raw": "^1.2.0", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-ingest-cli": "^0.1.1", "@subsquid/util-internal-json": "^1.2.3" diff --git a/substrate/substrate-processor/package.json b/substrate/substrate-processor/package.json index 151ef2e85..cf0879206 100644 --- a/substrate/substrate-processor/package.json +++ b/substrate/substrate-processor/package.json @@ -31,10 +31,10 @@ "@subsquid/util-internal-validation": "^0.7.0" }, "peerDependencies": { - "@subsquid/substrate-runtime": "^2.0.0" + "@subsquid/substrate-runtime": "^2.0.1" }, "devDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/substrate/substrate-runtime/package.json b/substrate/substrate-runtime/package.json index 28b88fe82..20a2867b4 100644 --- a/substrate/substrate-runtime/package.json +++ b/substrate/substrate-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@subsquid/substrate-runtime", - "version": "2.0.0", + "version": "2.0.1", "description": "Encoding/decoding/metadata tools for Substrate based chains", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid.git", diff --git a/substrate/substrate-typegen/package.json b/substrate/substrate-typegen/package.json index b66244c80..a5b60773d 100644 --- a/substrate/substrate-typegen/package.json +++ b/substrate/substrate-typegen/package.json @@ -31,10 +31,10 @@ "commander": "^11.1.0" }, "peerDependencies": { - "@subsquid/substrate-runtime": "^2.0.0" + "@subsquid/substrate-runtime": "^2.0.1" }, "devDependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@types/node": "^18.18.14", "typescript": "~5.3.2" } diff --git a/test/astar-erc20/package.json b/test/astar-erc20/package.json index 3d0daacd8..37b054870 100644 --- a/test/astar-erc20/package.json +++ b/test/astar-erc20/package.json @@ -9,7 +9,7 @@ "dependencies": { "@subsquid/frontier": "^4.0.4", "@subsquid/graphql-server": "^4.9.0", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/substrate-processor": "^8.5.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", diff --git a/test/balances/package.json b/test/balances/package.json index 3efa473a8..a1b19896b 100644 --- a/test/balances/package.json +++ b/test/balances/package.json @@ -9,7 +9,7 @@ "@subsquid/graphql-server": "^4.9.0", "@subsquid/ss58": "^2.0.2", "@subsquid/substrate-processor": "^8.5.2", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", "@subsquid/big-decimal": "^1.0.0", diff --git a/test/data/package.json b/test/data/package.json index 33bc14ad7..573c2724a 100644 --- a/test/data/package.json +++ b/test/data/package.json @@ -10,7 +10,7 @@ "@subsquid/rpc-client": "^4.11.0", "@subsquid/scale-codec": "^4.0.1", "@subsquid/substrate-metadata-explorer": "^3.2.0", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/util-internal": "^3.2.0", "@subsquid/util-internal-counters": "^1.3.2", "@subsquid/util-internal-hex": "^1.2.2", diff --git a/test/shibuya-psp22/package.json b/test/shibuya-psp22/package.json index 4dae028ce..abf7c0718 100644 --- a/test/shibuya-psp22/package.json +++ b/test/shibuya-psp22/package.json @@ -8,7 +8,7 @@ "dependencies": { "@subsquid/ss58": "^2.0.2", "@subsquid/graphql-server": "^4.9.0", - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/substrate-processor": "^8.5.2", "@subsquid/typeorm-migration": "^1.3.0", "@subsquid/typeorm-store": "^1.5.1", diff --git a/test/types/package.json b/test/types/package.json index 80c73ecea..35881c751 100644 --- a/test/types/package.json +++ b/test/types/package.json @@ -7,7 +7,7 @@ "test": "./test.sh" }, "dependencies": { - "@subsquid/substrate-runtime": "^2.0.0", + "@subsquid/substrate-runtime": "^2.0.1", "@subsquid/substrate-typegen": "^8.1.0", "@types/node": "^18.18.14", "typescript": "~5.3.2"