Skip to content

Commit 70fa428

Browse files
tamirmsclaude
authored andcommitted
go.mod: bump github.com/stellar/go-xdr to a87d4d0 (#5938)
Picks up stellar/go-xdr#31, which enforces MaxInputLen at the io.Reader boundary via io.LimitedReader. Decode semantics are unchanged for the generated UnmarshalBinary path (bytes.Reader length already bounds reads to len(inp)); microbenchmarks show a ~3% unmarshal overhead from the added wrapping. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4988f6e commit 70fa428

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ require (
3535
github.com/spf13/cobra v1.7.0
3636
github.com/spf13/pflag v1.0.5
3737
github.com/spf13/viper v1.17.0
38-
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf
38+
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3
3939
github.com/stretchr/testify v1.10.0
4040
github.com/tyler-smith/go-bip39 v0.0.0-20180618194314-52158e4697b8
4141
github.com/xdrpp/goxdr v0.1.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
453453
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
454454
github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
455455
github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI=
456-
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf h1:GY1RVbX3Hg7poPXEf6yojjP0hyypvgUgZmCqQU9D0xg=
457-
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf/go.mod h1:If+U9Z1W5xU97VrOgJandQT+2dN7/iOpkCrxBJEyF80=
456+
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3 h1:/NnsQpfVYPFr5Xm/V7EOblI8P05zewwkJLOlLItsW7U=
457+
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3/go.mod h1:If+U9Z1W5xU97VrOgJandQT+2dN7/iOpkCrxBJEyF80=
458458
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
459459
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
460460
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=

0 commit comments

Comments
 (0)