Skip to content

Commit a474d45

Browse files
authored
feat: add ChainGetMessagesInTipset to Lotus Gateway (#12947)
* feat: add `ChainGetMessagesInTipset` to Lotus Gateway feat: add `ChainGetMessagesInTipset` to Lotus Gateway * chore: update changelog chore: update changelog
1 parent ec8ee40 commit a474d45

File tree

9 files changed

+588
-468
lines changed

9 files changed

+588
-468
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- feat: add `GenesisTimestamp` field to `StateGetNetworkParams` response ([filecoin-project/lotus#12925](https://github.com/filecoin-project/lotus/pull/12925))
2323
- chore: upgrade drand client
2424
- chore: upgrade go-state-types with big.Int{} change that means an empty big.Int is now treated as zero for all operations ([filecoin-project/lotus#12936](https://github.com/filecoin-project/lotus/pull/12936))
25+
- feat: expose `ChainGetMessagesInTipset` in the Lotus Gateway API ([filecoin-project/lotus#12947](https://github.com/filecoin-project/lotus/pull/12947))
2526

2627
# UNRELEASED v.1.32.0
2728

api/api_gateway.go

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type Gateway interface {
4646
ChainHead(ctx context.Context) (*types.TipSet, error)
4747
ChainGetParentMessages(context.Context, cid.Cid) ([]Message, error)
4848
ChainGetParentReceipts(context.Context, cid.Cid) ([]*types.MessageReceipt, error)
49+
ChainGetMessagesInTipset(context.Context, types.TipSetKey) ([]Message, error)
4950
ChainGetBlockMessages(context.Context, cid.Cid) (*BlockMessages, error)
5051
ChainGetMessage(ctx context.Context, mc cid.Cid) (*types.Message, error)
5152
ChainGetPath(ctx context.Context, from, to types.TipSetKey) ([]*HeadChange, error)

api/proxy_gen.go

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)