Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Fix issue where tx hashes from older db versions were being recalculated #261

Merged
merged 13 commits into from
Dec 17, 2018

Conversation

davidmurdoch
Copy link
Member

Previously, ganache-core calculated transaction hashes differently (and at times incorrectly). This is no longer the case, but old dbs may use the old hashes so we need to always reference the stored hash instead of recalculating it when read a tx from the database.

Copy link
Contributor

@nicholasjpaterno nicholasjpaterno left a comment

Choose a reason for hiding this comment

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

LGTM

@nicholasjpaterno nicholasjpaterno merged commit 9af5493 into develop Dec 17, 2018
@davidmurdoch davidmurdoch deleted the more-db-fixes branch December 18, 2018 02:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants