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

enable txid hash map by default if service ethAPIs #10067

Closed
jennijuju opened this issue Jan 19, 2023 · 0 comments
Closed

enable txid hash map by default if service ethAPIs #10067

jennijuju opened this issue Jan 19, 2023 · 0 comments
Assignees
Labels
P1 P1: Must be resolved

Comments

@jennijuju
Copy link
Member

many Eth APIs are uses eth tx hash CIDs, and for them to get translated in filecoin we'd need the filecoin cids for them. so here is the proposed solution:

  • create a new configuration variable for node operators to opt-in/out serving Eth APIs
  • if opt-in, LOTUS_FEVM_ENABLEETHHASHTOFILECOINCIDMAPPING will be set to true, which creates a txhash.db and storing tx id <> msg cid maps.
  • if opt-out, LOTUS_FEVM_ENABLEETHHASHTOFILECOINCIDMAPPING=false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 P1: Must be resolved
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants