Skip to content

Commit 7d9f97d

Browse files
committed
[release] 20250917-3
1 parent ff665bb commit 7d9f97d

4 files changed

Lines changed: 28 additions & 11 deletions

File tree

.yarn/versions/3ad11bcc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
undecided:
2+
- "@subql/datasource-processors"

packages/frontier-evm/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
87
## [Unreleased]
98

9+
## [1.0.3] - 2025-09-17
10+
### Fixed
11+
- SecondLayerHandlerProcessor type ambiguity
12+
1013
## [1.0.2] - 2025-09-17
1114
### Fixed
1215
- Parsing transactions with new chain runtimes (#58)
@@ -53,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5356
### Changed
5457
- update to datasource spec version 1.0.0
5558

56-
[Unreleased]: https://github.com/subquery/datasource-processors/compare/frontier-evm/1.0.2...HEAD
59+
[Unreleased]: https://github.com/subquery/datasource-processors/compare/frontier-evm/1.0.3...HEAD
60+
[1.0.3]: https://github.com/subquery/datasource-processors/compare/frontier-evm/1.0.2...frontier-evm/1.0.3
5761
[1.0.2]: https://github.com/subquery/datasource-processors/compare/frontier-evm/1.0.1...frontier-evm/1.0.2
5862
[1.0.1]: https://github.com/subquery/datasource-processors/compare/frontier-evm/1.0.0...frontier-evm/1.0.1
5963
[1.0.0]: https://github.com/subquery/datasource-processors/compare/frontier-evm-processor/0.1.4...frontier-evm-processor/1.0.0

packages/frontier-evm/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@subql/frontier-evm-processor",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "SubQuery datasource processor for Frontier EVM",
55
"main": "dist/index.js",
66
"author": "Subquery Pte Limited",
@@ -24,6 +24,5 @@
2424
},
2525
"peerDependencies": {
2626
"@polkadot/api": "~15.5"
27-
},
28-
"stableVersion": "1.0.1"
27+
}
2928
}

packages/frontier-evm/src/index.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ import {
2525
TypedEventRecord,
2626
SubstrateEvent,
2727
SecondLayerHandlerProcessor,
28+
RuntimeHandlerInputMap,
29+
SubstrateEventFilter,
30+
SubstrateCallFilter,
2831
} from '@subql/types';
29-
import {DsProcessor, DictionaryQueryEntry} from '@subql/types-core';
32+
import {DsProcessor, DictionaryQueryEntry, SecondLayerHandlerProcessor_1_0_0} from '@subql/types-core';
3033
import {plainToClass} from 'class-transformer';
3134
import {
3235
IsOptional,
@@ -231,12 +234,16 @@ function buildInterface(ds: FrontierEvmDatasource, assets?: Record<string, strin
231234
return contractInterfaces[abi];
232235
}
233236

234-
const EventProcessor: SecondLayerHandlerProcessor<
237+
const EventProcessor: SecondLayerHandlerProcessor_1_0_0<
235238
SubstrateHandlerKind.Event,
239+
RuntimeHandlerInputMap,
240+
{
241+
[SubstrateHandlerKind.Event]: SubstrateEventFilter;
242+
},
236243
FrontierEvmEventFilter,
237244
FrontierEvmEvent,
238-
// [EvmLog],
239-
FrontierEvmDatasource
245+
FrontierEvmDatasource,
246+
ApiPromise
240247
> = {
241248
specVersion: '1.0.0',
242249
baseFilter: [{module: 'evm', method: 'Log'}],
@@ -350,12 +357,17 @@ const EventProcessor: SecondLayerHandlerProcessor<
350357
},
351358
};
352359

353-
const CallProcessor: SecondLayerHandlerProcessor<
360+
const CallProcessor: SecondLayerHandlerProcessor_1_0_0<
354361
SubstrateHandlerKind.Call,
362+
RuntimeHandlerInputMap,
363+
{
364+
[SubstrateHandlerKind.Call]: SubstrateCallFilter;
365+
},
355366
FrontierEvmCallFilter,
356367
FrontierEvmCall,
357368
// [TransactionV3 | EthTransaction],
358-
FrontierEvmDatasource
369+
FrontierEvmDatasource,
370+
ApiPromise
359371
> = {
360372
specVersion: '1.0.0',
361373
baseFilter: [{module: 'ethereum', method: 'transact'}],

0 commit comments

Comments
 (0)