Skip to content

Commit d9d4986

Browse files
authored
xdr: update using xdrgen#71 (#4064)
1 parent 4f7ba18 commit d9d4986

File tree

4 files changed

+8601
-316
lines changed

4 files changed

+8601
-316
lines changed

Diff for: Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/stellar/xdrgen.git
3-
revision: b960ce7a979bc64d11f7512962733ee88ea87a2b
3+
revision: 7d53fb17bcb6155d916db09e48c880aae42f624d
44
ref: master
55
specs:
66
xdrgen (0.1.1)

Diff for: benchmarks/xdr_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func BenchmarkXDRUnmarshalWithReflection(b *testing.B) {
4343
)
4444
for i := 0; i < b.N; i++ {
4545
r.Reset(input)
46-
_, _ = xdr.Unmarshal(&r, &te)
46+
_, _ = xdr3.Unmarshal(&r, &te)
4747
}
4848
}
4949

Diff for: txnbuild/transaction_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ func TestReadChallengeTx_invalidCorrupted(t *testing.T) {
18791879
t,
18801880
err,
18811881
"could not parse challenge: unable to unmarshal transaction envelope: "+
1882-
"xdr:decode: switch '68174086' is not valid enum value for union",
1882+
"decoding EnvelopeType: '68174086' is not a valid EnvelopeType enum value",
18831883
)
18841884
}
18851885

0 commit comments

Comments
 (0)