w3f / jamtestvectors

The latest test vectors for JAM.
Creative Commons Zero v1.0 Universal
42 stars 19 forks source link

Recent History STF Test Vectors (GP Section 7) #11

Open davxy opened 3 months ago

davxy commented 3 months ago

README

xlc commented 3 months ago

I am not getting the same MMR hash. Can you clarify how it is calculated? For progress_blocks_history-2, the payload is 0x8720b97ddd6acc0f6eb66e095524038675a4e4067adc10ec39939eaefc47d842 ++ 0x7507515a48439dc58bc318c48a120b656136699f42bfd2bd45473becba53462d and the hash I am getting is 0x 7076c31882a5953e097aef8378969945e72807c4705e53a0c5aacc9176f0d56b

The same hash can be reproduced with https://emn178.github.io/online-tools/keccak_256.html using input of 8720b97ddd6acc0f6eb66e095524038675a4e4067adc10ec39939eaefc47d8427507515a48439dc58bc318c48a120b656136699f42bfd2bd45473becba53462d

Could you share the preimage of the hashed value 0x0df4132e2561139036349d9f883109d15cabdba60a27d93d8b434302282cb9ca?

davxy commented 3 months ago

@xlc there was a deviation from the spec in our implementation. Thank you

xlc commented 3 months ago

the values are matching with our implementation now 👍