github codama-idl/codama @codama/nodes-from-anchor@1.5.6

latest release: codama@1.11.0
5 hours ago

Patch Changes

  • #1126 9a19abf Thanks @lorisleiva! - Fix Vec<u8> instruction arguments used as PDA seeds to derive from their raw bytes instead of the Borsh size-prefixed encoding. Anchor derives byte-array seeds from the unprefixed bytes, so the generated seed type previously produced a different PDA than the on-chain program for any program using a Vec<u8> seed.

  • #1127 3e5388a Thanks @lorisleiva! - Fix variable string and bytes PDA seeds from legacy Anchor IDLs to derive from their raw bytes instead of their Borsh size-prefixed encoding, matching the existing behaviour of constant seeds.

  • Updated dependencies [fa4a453, abefbeb, 362f618, 55b9ede, dabfe42, b418a9e]:

    • @codama/nodes@1.11.0
    • @codama/errors@1.11.0
    • @codama/visitors@1.11.0

Don't miss a new codama release

NewReleases is sending notifications on new releases.