ethereum / portal-network-specs

Official repository for specifications for the Portal Network
316 stars 85 forks source link

Make Nibbles encoding more compact #275

Closed morph-dev closed 9 months ago

morph-dev commented 9 months ago

Instead of storing nibbles and length separately, this proposal is to store encode them together.

Benefits are:

mynameisdaniil commented 9 months ago

@morph-dev Sorry I didn't see this PR. I'll check test vectors later and we can merge it afterwards.

morph-dev commented 9 months ago

@morph-dev Sorry I didn't see this PR. I'll check test vectors later and we can merge it afterwards.

@mynameisdaniil did you have time to check them?

@pipermerriam Can you review this PR and merge it if there are no concerns?

mynameisdaniil commented 9 months ago

@morph-dev I'll do it right now and merge this branch once I'm done