Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Nov 28, 2024

Why this should be merged

Provides access to extra payloads registered on types.SlimAccount, not just on regular types.StateAccount. This is a breaking syntax change to have the method reflect the behaviour.

How this works

Modify existing method to accept the ExtraPayloadCarrier interface instead of *StateAccount. The interface is implemented by both *StateAccount and *SlimAccount.

How this was tested

Covered by existing testing.

@ARR4N ARR4N enabled auto-merge (squash) November 28, 2024 11:57
@ARR4N ARR4N requested review from a team, ceyonur, darioush and michaelkaplan13 and removed request for a team November 28, 2024 11:58
@ARR4N ARR4N merged commit c2f1269 into main Nov 29, 2024
3 checks passed
@ARR4N ARR4N deleted the arr4n/slimaccount-extras-getter branch November 29, 2024 16:02
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