cspr-rad / kairos

Apache License 2.0
2 stars 0 forks source link

Fixup deposit counter type #139

Closed marijanp closed 2 months ago

marijanp commented 2 months ago

u64 is not compatible with the casper-event-standard: https://github.com/make-software/casper-event-standard/blob/ad942762a099fc29c0df4cbd3604da8201704195/casper-event-standard/src/contract.rs#L21 We us the last_processed_deposit_index for our deposit window, and we could end up with a much bigger index there than the events length