Closed telezhnaya closed 1 year ago
@telezhnaya Sounds good to me. As far as I remember, we have plenty of digits at our disposal, right? If so, sure, go ahead with whatever you know will work the best.
Yeah, we have some digits for such cases :)
We also can't cut timestamp to millis because of https://github.com/near/near-explorer/issues/1110 Just found this issue https://github.com/near/near-indexer-balances/issues/7
Now we suppose we may have max 10k events per shard; sweatcoin produced 2700 events in this block: https://explorer.near.org/blocks/DjMc3wUuNazky2VHRB8stTSpV7hReENqYjK7GJhFhQ1N. It's only one contract, and I feel scared we can potentially overflow. My suggestion: we should have 100k or even 1M events as the upper bound just to be sure we do not reach the overflow with our enumeration.
@frol what do you think?