Skip to content

Emit preimages #33

New issue

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

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

Already on GitHub? # to your account

Closed
4 tasks
i-norden opened this issue Nov 9, 2020 · 2 comments
Closed
4 tasks

Emit preimages #33

i-norden opened this issue Nov 9, 2020 · 2 comments
Assignees
Milestone

Comments

@i-norden
Copy link
Collaborator

i-norden commented Nov 9, 2020

  • Add a new AddressesAndAddressHashes collection to the statediff payload that holds the addrHash=>addr pairs like the codehash=>code pairs here

  • Populate this collection with the address and address hash every time a new account is created in the trie e.g. here

  • Extend this to the complete trie methods i.e. BuildStateTrieObject

  • Extend this to the direct indexing approach introduced in Write IPLD secondary indexes directly to Postgres #32, mode where we write addresshash=>address directly to Postgres during ongoing sync

@i-norden
Copy link
Collaborator Author

i-norden commented Jun 4, 2021

Related #42

@AFDudley AFDudley added this to the test milestone Jul 8, 2021
@i-norden
Copy link
Collaborator Author

Closing, we can reopen if we want to add this feature in the future

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants