Skip to content

v2.0.0

Latest

Choose a tag to compare

@hhl42 hhl42 released this 01 May 00:07
235ba3b
  • Modernize generator output to Solidity ≥0.8.0 with a hardened shared
    Pb.sol runtime: deterministic reverts on malformed inputs,

  • proto3-spec skip of unknown Fixed32 / Fixed64 fields.
    Gas-optimized decoder: hardened-fast decVarint, fixed-width readers
    (decAddress / decBytes32 / decUint256), unchecked loop
    counters, single-pass scratch arrays for repeated fields, cntTags
    removed.

  • Foundry test suite (replaces Truffle) + paired pb / abi.decode
    decode-gas bench on the AgentPay schemas. CI runs Go tests, regen
    drift check on test/lib/, Foundry fmt/build/test.

  • Reorganized test/: proto/{unit,bench}/, textpb/{unit,bench}/,
    lib/ (generated decoders, Foundry src), sol/ (Foundry test
    root; sol/bench/ holds Bench.t.sol + benchmark.md).