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

Fixes #4 - Duplicate merkle leafs #15

Merged
merged 2 commits into from
Jul 8, 2018
Merged

Fixes #4 - Duplicate merkle leafs #15

merged 2 commits into from
Jul 8, 2018

Conversation

HarryR
Copy link
Owner

@HarryR HarryR commented Jul 8, 2018

This implements the fixes from #4 - the block height, transaction index and log index are included in the merkle leaves.

Annoyingly more than half the time in Travis CI is spent with truffle re-compiling the same source code again and again because it's not as smart / simple as make... 🤦‍♂️

@HarryR
Copy link
Owner Author

HarryR commented Jul 8, 2018

The network ID isn't included in the leaves though.

Which means it the same event occurs at the same block height at the same transaction index then the proof will be valid in more than one location.

@HarryR HarryR merged commit ebed1f3 into master Jul 8, 2018
@HarryR HarryR mentioned this pull request Jul 9, 2018
@HarryR HarryR deleted the unique-tx-events branch July 9, 2018 14:41
@HarryR HarryR added the bug Something isn't working label Jul 10, 2018
@HarryR HarryR added this to the Initial Release milestone Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant