0age pfp
0age
@0age
ordered nonces are clutch because you can invalidate any malicious payloads you may have signed (increment it by a large pseudorandom number) seaport has this with an incrementCounter() function but it doesn’t have bitpacking just implemented one that uses bitpacking, 1 SSTORE & to a dirty slot 254/256 writes
1 reply
2 recasts
37 reactions

0age pfp
0age
@0age
oooh, just realized that by using an inverted bitmap for odd words you could reuse the dirty slots for all but the initial two increments gonna have to file that optimization away for later or punt to @optimizoor
1 reply
0 recast
5 reactions

cqb pfp
cqb
@cqb
This kind of bit twiddling is what I'm here for
0 reply
0 recast
0 reaction