Skip to content

@latticexyz/protocol-parser@2.0.0-next.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 11:49
· 1167 commits to main since this release
b04639b

Major Changes

  • #1231 433078c5 Thanks @dk1a! - Reverse PackedCounter encoding, to optimize gas for bitshifts.
    Ints are right-aligned, shifting using an index is straightforward if they are indexed right-to-left.

    • Previous encoding: (7 bytes | accumulator),(5 bytes | counter 1),...,(5 bytes | counter 5)
    • New encoding: (5 bytes | counter 5),...,(5 bytes | counter 1),(7 bytes | accumulator)

Patch Changes

  • Updated dependencies [bb6ada74, 331f0d63]:
    • @latticexyz/common@2.0.0-next.3
    • @latticexyz/schema-type@2.0.0-next.3