Skip to content

feat: add rpc endpoint eth_chainId + store chain id in db#216

Merged
fmoletta merged 9 commits into
mainfrom
eth_chainId
Aug 2, 2024
Merged

feat: add rpc endpoint eth_chainId + store chain id in db#216
fmoletta merged 9 commits into
mainfrom
eth_chainId

Conversation

@fmoletta

@fmoletta fmoletta commented Aug 1, 2024

Copy link
Copy Markdown
Contributor

Motivation

Support the eth_chainId rpc endpoint and store chain data in the DB

Description

  • Implement eth_chainId rpc endpoint
  • Add update_chain_id & get_chain_id methods to Store & StoreEngine
  • Libmdx: Add ChainData table used to store chain data (such as chain id, lates block number etc)

Closes #209

@fmoletta fmoletta changed the title feat: add rpc endpoint eth_chainId + store chain id in db feat: add rpc endpoint eth_chainId + store chain id in db (WIP) Aug 1, 2024
@fmoletta fmoletta changed the title feat: add rpc endpoint eth_chainId + store chain id in db (WIP) feat: add rpc endpoint eth_chainId + store chain id in db Aug 1, 2024
@fmoletta fmoletta marked this pull request as ready for review August 1, 2024 18:56
@fmoletta fmoletta requested a review from a team as a code owner August 1, 2024 18:56
@fmoletta fmoletta added this pull request to the merge queue Aug 2, 2024
Merged via the queue into main with commit ca92189 Aug 2, 2024
@fmoletta fmoletta deleted the eth_chainId branch August 2, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement eth_chainId RPC endpoint

2 participants