Skip to content

Commit

Permalink
Correct serializer for bytes
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
  • Loading branch information
peterbroadhurst committed Oct 27, 2024
1 parent 13d52d4 commit 6789f16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ func FormatErrorStringCtx(ctx context.Context, e *Entry, cv *ComponentValue) str
if res, err := NewSerializer().
SetFormattingMode(FormatAsFlatArrays).
SetIntSerializer(Base10StringIntSerializer).
SetByteSerializer(HexByteSerializer0xPrefix).
SetAddressSerializer(HexAddrSerializer0xPrefix).
SerializeInterfaceCtx(ctx, cv); err == nil {
parsed, ok = res.([]interface{})
Expand Down

0 comments on commit 6789f16

Please sign in to comment.