eureka-network / rs-eureka

Eureka sink
0 stars 0 forks source link

try: make Poseidon tree of all events in Block #82

Open benjaminbollen opened 1 year ago

benjaminbollen commented 1 year ago

this might still be too big a task for a single issue; so we can break down progress and follow up here

starting point:

benjaminbollen commented 1 year ago

we encode the event data in a p-adic representation (p = 2^64 - 2^32 + 1; Goldilocksfield)

maybe this can be done better with field extensions, but for now this was "straightforward"