You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sRoot ./prysm --target http://localhost:4500
GET /eth/v1/beacon/genesis ❌
Expected response body:
{"data":{"genesis_fork_version":"0x00002009","genesis_time":"2020-11-18T12:00:07Z","genesis_validators_root":"0x9436e8a630e3162b7ed4f449b12b8a5a368a4b95bc46b941ae65c11613bfa4c1"}}
Received response body:
{"data":{"genesis_time":"1606824023","genesis_validators_root":"0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95","genesis_fork_version":"0x00000000"}}
It seems that only the expected JSON got canonicalized. I found information that struct field declaration order is preserved when marshalling into JSON, which may be the reason why field order is different between expected and actual.
The text was updated successfully, but these errors were encountered:
Hey there!
I would really like to use your tool, but I encountered an issue with comparing output.
This is the result I get from
/eth/v1/beacon/genesis
:This is my test:
This test fails
It seems that only the expected JSON got canonicalized. I found information that struct field declaration order is preserved when marshalling into JSON, which may be the reason why field order is different between expected and actual.
The text was updated successfully, but these errors were encountered: