Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6ef5d57
Bump soroban-env to next protocol version (#595)
Shaptic Feb 19, 2026
2392886
Bump soroban-env SHA to latest (#611)
sisuresh Feb 23, 2026
f863019
Update XDR and Core runs to test P26 integration (#629)
Shaptic Mar 17, 2026
4f51943
Bump crate dependencies to latest Protocol 26 versions (#640)
Shaptic Mar 24, 2026
92a7537
Merge branch 'main' into protocol-next
Shaptic Mar 25, 2026
9719222
Remove unimplemented GitHub Action (#643)
Shaptic Mar 25, 2026
93402ad
Merge branch 'main' into protocol-next
Shaptic Mar 25, 2026
a703508
Bump Core to Protocol 26 release candidate (#642)
Shaptic Mar 27, 2026
742673c
Merge branch 'main' into protocol-next
Shaptic Mar 27, 2026
265d700
Ensure we strip NUL bytes before `CString::new` (#632)
Shaptic Mar 30, 2026
4963a29
Fix deluge of linter complaints on branch merge (#646)
Shaptic Mar 30, 2026
92a3b6f
Merge branch 'main' into protocol-next
Shaptic Mar 30, 2026
d75888b
Add support for Protocol 26 (#623)
Shaptic Mar 31, 2026
0113958
Release v26.0.0 (#647)
Shaptic Apr 3, 2026
d74a1cc
Add GHA to automatically update soroban-env on protocol-next (#645)
Shaptic Apr 7, 2026
bbbb65f
Preserve version string in Cargo.toml on automatic dependency bump (#…
Shaptic Apr 7, 2026
99a61f3
Bump to soroban-env to latest version (#673)
Shaptic Apr 8, 2026
982a772
Merge remote-tracking branch 'origin/main' into feature/full-history
karthikiyer56 May 12, 2026
82a135f
Pulling in latest commit from go-stellar-sdk to get the updates to Le…
karthikiyer56 May 12, 2026
045f8b9
Add GetLedgerRaw to mockLedgerBackend
karthikiyer56 May 12, 2026
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
12 changes: 12 additions & 0 deletions cmd/stellar-rpc/internal/rpcdatastore/ledger_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ func (m *mockLedgerBackend) GetLedger(ctx context.Context, seq uint32) (xdr.Ledg
return args.Get(0).(xdr.LedgerCloseMeta), args.Error(1) //nolint:forcetypeassert
}

// GetLedgerRaw satisfies the ledgerbackend.LedgerBackend interface. The
// interface adds this method for callers that want the raw XDR wire bytes for
// a ledger without paying the XDR-decoding cost (used by forwarding/replication
// paths in go-stellar-sdk). This mock is only used by ledger_reader tests that
// exercise the decoded GetLedger path, so we provide a passthrough that lets
// individual tests stub it via testify when they need it; tests that don't call
// GetLedgerRaw won't trigger this body.
func (m *mockLedgerBackend) GetLedgerRaw(ctx context.Context, seq uint32) ([]byte, error) {
args := m.Called(ctx, seq)
return args.Get(0).([]byte), args.Error(1) //nolint:forcetypeassert
}

func (m *mockLedgerBackend) PrepareRange(ctx context.Context, r ledgerbackend.Range) error {
args := m.Called(ctx, r)
return args.Error(0)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/stellar/go-stellar-sdk v0.4.0
github.com/stellar/go-stellar-sdk v0.5.1-0.20260512162508-8d3416569d39
github.com/stretchr/testify v1.11.1
github.com/zeebo/xxh3 v1.1.0
)
Expand Down Expand Up @@ -124,7 +124,7 @@ require (
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/viper v1.17.0 // indirect
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf // indirect
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3 // indirect
github.com/stretchr/objx v0.5.3 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.opencensus.io v0.24.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI=
github.com/spiffe/go-spiffe/v2 v2.6.0 h1:l+DolpxNWYgruGQVV0xsfeya3CsC7m8iBzDnMpsbLuo=
github.com/spiffe/go-spiffe/v2 v2.6.0/go.mod h1:gm2SeUoMZEtpnzPNs2Csc0D/gX33k1xIx7lEzqblHEs=
github.com/stellar/go-stellar-sdk v0.4.0 h1:WBLeJk7EllU7WhwrTH1L5Mu2EhZor/xy5sVi/82JzNQ=
github.com/stellar/go-stellar-sdk v0.4.0/go.mod h1:tLKAQPxa2I5UvGMabBbUXcY3fmgYnfDudrMeK7CDX4w=
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf h1:GY1RVbX3Hg7poPXEf6yojjP0hyypvgUgZmCqQU9D0xg=
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf/go.mod h1:If+U9Z1W5xU97VrOgJandQT+2dN7/iOpkCrxBJEyF80=
github.com/stellar/go-stellar-sdk v0.5.1-0.20260512162508-8d3416569d39 h1:6bs7K4wk+wzfpCf2SLdalD21oWscHoxtqvyf800ccns=
github.com/stellar/go-stellar-sdk v0.5.1-0.20260512162508-8d3416569d39/go.mod h1:wH+L/1lnWZYUJQei6HF0QhIvs7chSHOapizIJDp66SE=
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3 h1:/NnsQpfVYPFr5Xm/V7EOblI8P05zewwkJLOlLItsW7U=
github.com/stellar/go-xdr v0.0.0-20260423131911-a87d4d0789c3/go.mod h1:If+U9Z1W5xU97VrOgJandQT+2dN7/iOpkCrxBJEyF80=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
Expand Down
Loading