Skip to content

Commit

Permalink
Bump xdrgen
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Nov 12, 2021
1 parent 4b5a7c3 commit 19e1fdb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
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: ef85eca56328043c2035d6ef366b852e347d1100
revision: 7a45c677d7223d6fb60bc4d45ce2185a2735c579
ref: generate-decodefrom
specs:
xdrgen (0.1.1)
Expand Down
32 changes: 16 additions & 16 deletions xdr/xdr_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -3270,7 +3270,7 @@ func (s *AccountEntryExtensionV2) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 20 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (20)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (20) of SponsorshipDescriptor", l)
}
s.SignerSponsoringIDs = nil
if l > 0 {
Expand Down Expand Up @@ -3861,7 +3861,7 @@ func (s *AccountEntry) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 20 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (20)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (20) of Signer", l)
}
s.Signers = nil
if l > 0 {
Expand Down Expand Up @@ -5965,7 +5965,7 @@ func (u *ClaimPredicate) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 2 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (2)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (2) of ClaimPredicate", l)
}
(*u.AndPredicates) = nil
if l > 0 {
Expand All @@ -5989,7 +5989,7 @@ func (u *ClaimPredicate) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 2 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (2)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (2) of ClaimPredicate", l)
}
(*u.OrPredicates) = nil
if l > 0 {
Expand Down Expand Up @@ -7063,7 +7063,7 @@ func (s *ClaimableBalanceEntry) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 10 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (10)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (10) of Claimant", l)
}
s.Claimants = nil
if l > 0 {
Expand Down Expand Up @@ -9711,7 +9711,7 @@ func (s *StellarValue) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 6 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (6)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (6) of UpgradeType", l)
}
s.Upgrades = nil
if l > 0 {
Expand Down Expand Up @@ -15657,7 +15657,7 @@ func (s *PeerStatList) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 25 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (25)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (25) of PeerStats", l)
}
(*s) = nil
if l > 0 {
Expand Down Expand Up @@ -16638,7 +16638,7 @@ func (u *StellarMessage) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 100 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (100)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (100) of PeerAddress", l)
}
(*u.Peers) = nil
if l > 0 {
Expand Down Expand Up @@ -17850,7 +17850,7 @@ func (s *PathPaymentStrictReceiveOp) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 5 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (5)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (5) of Asset", l)
}
s.Path = nil
if l > 0 {
Expand Down Expand Up @@ -17993,7 +17993,7 @@ func (s *PathPaymentStrictSendOp) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 5 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (5)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (5) of Asset", l)
}
s.Path = nil
if l > 0 {
Expand Down Expand Up @@ -19251,7 +19251,7 @@ func (s *CreateClaimableBalanceOp) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 10 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (10)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (10) of Claimant", l)
}
s.Claimants = nil
if l > 0 {
Expand Down Expand Up @@ -22629,7 +22629,7 @@ func (s *TransactionV0) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 100 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (100)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (100) of Operation", l)
}
s.Operations = nil
if l > 0 {
Expand Down Expand Up @@ -22731,7 +22731,7 @@ func (s *TransactionV0Envelope) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 20 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (20)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (20) of DecoratedSignature", l)
}
s.Signatures = nil
if l > 0 {
Expand Down Expand Up @@ -23001,7 +23001,7 @@ func (s *Transaction) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 100 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (100)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (100) of Operation", l)
}
s.Operations = nil
if l > 0 {
Expand Down Expand Up @@ -23103,7 +23103,7 @@ func (s *TransactionV1Envelope) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 20 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (20)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (20) of DecoratedSignature", l)
}
s.Signatures = nil
if l > 0 {
Expand Down Expand Up @@ -23529,7 +23529,7 @@ func (s *FeeBumpTransactionEnvelope) DecodeFrom(d *xdr.Decoder) (int, error) {
return n, err
}
if l > 20 {
return n, fmt.Errorf("data size (%d) exceeds max slice limit (20)", l)
return n, fmt.Errorf("data size (%d) exceeds size limit (20) of DecoratedSignature", l)
}
s.Signatures = nil
if l > 0 {
Expand Down

0 comments on commit 19e1fdb

Please sign in to comment.