HarryR / panautomata

Cross-chain proofs and atomic transactions
GNU General Public License v3.0
18 stars 2 forks source link

Fixes #4 - Duplicate merkle leafs #15

Closed HarryR closed 6 years ago

HarryR commented 6 years ago

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... :man_facepalming:

HarryR commented 6 years ago

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.