Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
19 stars 10 forks source link

Indexer incorrectly claims a user command is part of a block #1409

Closed n1tranquilla closed 2 months ago

n1tranquilla commented 2 months ago

Our tests assert that mainnet-220897-3NL4HLb7MQrxmAqVw8D4vEXCj2tdT8zgP9DFWGRoDxP72b4wxyUw.json contains a user command whose recipient is B62qkCALyHkUGBTvLSc35GTmF5wzYEiXGLMDA2rBMDH2AruHxgcxSjg.

This assertion is coded into our tests here: https://github.com/Granola-Team/mina-indexer/blob/bbb4872b69509871dcac28a2d62d57eb202ab7bc/rust/tests/command/store.rs#L82

log out the Vec from the assertion and you will find that the indexer_store includes an extra user command that the block does not include.

robinbb commented 2 months ago

@n1tranquilla Good find. Are you working on a fix, too? Should you be assigned this issue?

n1tranquilla commented 2 months ago

not an issue on main