Skip to content

Commit 2d0b22d

Browse files
committed
Bump xdrgen
1 parent 4f7ba18 commit 2d0b22d

File tree

5 files changed

+8603
-318
lines changed

5 files changed

+8603
-318
lines changed

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

3-
gem 'xdrgen', git:'https://github.com/stellar/xdrgen.git', ref: 'master'
3+
gem 'xdrgen', git:'https://github.com/stellar/xdrgen.git', ref: 'generate-decodefrom'
44
gem 'pry'
55
gem 'octokit'
66
gem 'netrc'

Diff for: Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GIT
22
remote: https://github.com/stellar/xdrgen.git
3-
revision: b960ce7a979bc64d11f7512962733ee88ea87a2b
4-
ref: master
3+
revision: c077a53d7c974a5a7cc6db2d8c7ee06ec5efefa2
4+
ref: generate-decodefrom
55
specs:
66
xdrgen (0.1.1)
77
activesupport (~> 6)

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)