Skip to content

(VDB-1424) Remove hashed addresses#276

Merged
rmulhol merged 1 commit intostagingfrom
vdb-1424-remove-hashed-addresses
Aug 26, 2020
Merged

(VDB-1424) Remove hashed addresses#276
rmulhol merged 1 commit intostagingfrom
vdb-1424-remove-hashed-addresses

Conversation

@rmulhol
Copy link
Copy Markdown
Contributor

@rmulhol rmulhol commented Aug 21, 2020

Copy link
Copy Markdown
Contributor

@yaoandrew yaoandrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🚢 . Just had a non-blocking question on some type conversions.

repository := cat.StorageRepository{ContractAddress: contractAddress.Hex()}
transformer = storage.Transformer{
Address: common.HexToAddress(contractAddress),
Address: common.HexToAddress(contractAddress.Hex()),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What type is contractAddress? I'm not sure I follow all the converting here. Isn't it already an address?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, nice catch!

@rmulhol rmulhol force-pushed the vdb-1424-remove-hashed-addresses branch from 8a81a9a to 80fffb3 Compare August 26, 2020 19:22
- companion PR for changes to vulcanizedb
- don't need hashed addresses with Geth version that emits raw address
@rmulhol rmulhol force-pushed the vdb-1424-remove-hashed-addresses branch from 80fffb3 to 3255917 Compare August 26, 2020 20:51
@rmulhol rmulhol merged commit 442505c into staging Aug 26, 2020
@rmulhol rmulhol deleted the vdb-1424-remove-hashed-addresses branch August 26, 2020 21:08
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.

2 participants