Skip to content

Fix error handler, move api/solana=>api/spl, add lookup table support, rewardmanagerstate support#43

Merged
rickyrombo merged 4 commits intomainfrom
mjp-rewards-3
Apr 24, 2025
Merged

Fix error handler, move api/solana=>api/spl, add lookup table support, rewardmanagerstate support#43
rickyrombo merged 4 commits intomainfrom
mjp-rewards-3

Conversation

@rickyrombo
Copy link
Copy Markdown
Contributor

  • Fixes error handler to have proper status codes
  • moves api/solana to api/spl (should this be top level package, actually?) to prevent annoying name conflict
  • add support for lookup table unmarshalling (annoyingly not in solana-go)
  • add support for unmarshalling RewardManagerState

Copy link
Copy Markdown
Member

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd agree with moving it up to a higher level, but i also think we can wait till some spl code is needed in indexing to make that move

)

type AddressLookupTableMeta struct {
DeactivationSlot uint64
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just int?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rickyrombo rickyrombo merged commit 06bf76d into main Apr 24, 2025
2 checks passed
@raymondjacobson raymondjacobson deleted the mjp-rewards-3 branch April 24, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants