zcash / librustzcash

Rust-language assets for Zcash
Other
337 stars 251 forks source link

librustzcash fails to spend a note at the edge of a shard #1609

Open AArnott opened 1 week ago

AArnott commented 1 week ago

One of my eZcash users is getting an error from librustzcash:

"commitmenttree: unable to compute root; missing values for nodes [Address { level: Level(0), index: 73203711 }]"

This number is exactly -1 from a multiple of 2^16, suggesting the software has a bug in processing notes near the edge of a shard.

See discord discussion: https://discord.com/channels/809218587167293450/1300986651484360716

daira commented 14 hours ago

What commit of librustzcash is being used?

AArnott commented 13 hours ago

That was on 04478c791acfb4cb1015affd17f12565f88bcc43