Emit preimages #33

Closed
opened 2020-11-09 17:40:49 +00:00 by i-norden · 2 comments
Member
  • 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 #32, mode where we write addresshash=>address directly to Postgres during ongoing sync

- [ ] Add a new `AddressesAndAddressHashes` collection to the statediff payload that holds the addrHash=>addr pairs like the codehash=>code pairs [here](https://github.com/vulcanize/go-ethereum/blob/statediff_at_anyblock-1.9.11/statediff/types.go#L89) - [ ] Populate this collection with the address and address hash every time a new account is created in the trie e.g. [here](https://github.com/vulcanize/go-ethereum/blob/statediff_at_anyblock-1.9.11/statediff/builder.go#L492) - [ ] Extend this to the complete trie methods i.e. `BuildStateTrieObject` - [ ] Extend this to the direct indexing approach introduced in #32, mode where we write addresshash=>address directly to Postgres during ongoing sync
Author
Member
Related https://github.com/vulcanize/go-ethereum/pull/42
Author
Member

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

Closing, we can reopen if we want to add this feature in the future
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#33
No description provided.