Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdr: update using xdrgen#71 #4064

Merged
merged 2 commits into from
Nov 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/stellar/xdrgen.git
revision: b960ce7a979bc64d11f7512962733ee88ea87a2b
revision: 7d53fb17bcb6155d916db09e48c880aae42f624d
ref: master
specs:
xdrgen (0.1.1)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/xdr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func BenchmarkXDRUnmarshalWithReflection(b *testing.B) {
)
for i := 0; i < b.N; i++ {
r.Reset(input)
_, _ = xdr.Unmarshal(&r, &te)
_, _ = xdr3.Unmarshal(&r, &te)
}
}

Expand Down
2 changes: 1 addition & 1 deletion txnbuild/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ func TestReadChallengeTx_invalidCorrupted(t *testing.T) {
t,
err,
"could not parse challenge: unable to unmarshal transaction envelope: "+
"xdr:decode: switch '68174086' is not valid enum value for union",
"decoding EnvelopeType: '68174086' is not a valid EnvelopeType enum value",
)
}

Expand Down
Loading