mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-23 17:28:23 +00:00
This PR adds Ethereum RPC API support to the node, enabling the interaction with the node using standard Ethereum tools. 1. Integration of Frontier's Ethereum RPC modules (eth, net, web3, txpool) 2. Added RPC configurations necessary for Ethereum compatibility 3. Implemented a BABE consensus data provider for handling pending blocks 4. Added required dependencies and configurations in the node's service 5. Created necessary filter pools, block data caches, and notification systems 6. Configured the RPC system to handle Ethereum API calls 7. Changed the transaction pool implementation to be compatible with the fork-aware transaction pool (https://github.com/paritytech/polkadot-sdk/pull/4639) EDIT: The new `transaction_pool` in `polkadot-stable2412` that comes with a `fork-aware` feature, allowing different views of the transaction pool, is not compatible with the current state in Frontier. In Frontier the only supported pool is the `BasicPool`, that maintains a similar behaviour to the one in `polkadot-stable2409`. I used this pool directly. --------- Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Co-authored-by: Facundo Farall <37149322+ffarall@users.noreply.github.com>
36 B
36 B
Release
Polkadot SDK stable2412