blockparty
blockparty copied to clipboard
Optimize cost of marking attendance
Currently the cost of marking participants increase in O(n).
The potential solution would be.
- Only mark people who did not attend
- Track attendance as bitmap binary array which can be updated with one storage write
- Use Merkel airdrop logic to put the merkel hash of all the participants (this require to hold all attendees info off chain).