Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about archive mode and getting Proof #2852

Closed
junichi-tanaka opened this issue Jan 14, 2025 · 2 comments
Closed

Question about archive mode and getting Proof #2852

junichi-tanaka opened this issue Jan 14, 2025 · 2 comments

Comments

@junichi-tanaka
Copy link

Hi team,

We are currently developing a Token Bridge application called Toki on Testnet.
Toki uses an architecture that verifies messages on the inter-chain using LightClient, and it uses eth_getProof to obtain the Proof required for LightClient verification.
Therefore, it requires a Client that can execute eth_getProof in Archive Mode.
In addition, it's necessary to get proof(s) which older than 128blocks.

We are getting ready for Pascal HF and have some concerns.

  1. Erigon3 doesn't support eth_getProof right now. ref: E3: not implemented eth_getProof node-real/bsc-erigon#578
  2. As for Reth, we faced a couple of issues during evaluation
  3. Geth with PBSS&Pebble mode only supports to provide Proof within the recent 128blocks. (Please correct me if my understanding is wrong)

We know BSC-Geth doesn't support HashSchema&LevelDB anymore but it seems that it still works.
(I just tried bsc-geth 1.53-beta with options --state.scheme=hash --syncmode=snap --gcmode=archive)

So I have some questions.

Q1. Could you explain more details about the following announcement?

Q2. Do you have a plan to remove codes related to HashSchema&LevelDB, in the near future?

Q3. Do you have any recommendations or alternative ideas regarding our situation?

Thanks in advance.

@zzzckck
Copy link
Collaborator

zzzckck commented Jan 14, 2025

Q1. Could you explain more details about the following announcement?
A1: there is no official support for Hash&LevelDB mode now, but it is not broken yet, which means it still can work, but the core team would not give support and its quality are not guaranteed.

Q2.Do you have a plan to remove codes related to HashSchema&LevelDB, in the near future
A2: no plan yet, we don't have the motivation to remove the code at the moment

Q3.Do you have any recommendations or alternative ideas regarding our situation
A3: Erigon team is working on supporting this API, refer: erigontech/erigon#13345 & erigontech/erigon#13291 for the progress.

@junichi-tanaka
Copy link
Author

@zzzckck
Thank you for your answer and sharing the information.
I understand the status of bsc-geth with Hash&LevelDB.

A3: Erigon team is working on supporting this API, refer: erigontech/erigon#13345 & erigontech/erigon#13291 for the progress.

Actually, I knew those PRs. I appreciate their efforts and will observe their progress.

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

No branches or pull requests

2 participants