Skip to content

Conversation

@greenhat
Copy link
Contributor

@greenhat greenhat commented Dec 1, 2025

Close #733
Close #788

This PR is stacked on #798 and should be merged after it.

This PR:

  • Adds NativeAccount and ActiveAccount traits wrapping functions from the corresponding tx kernel library modules;
  • #[component] macro implements these traits for the user account type;
  • #[note_script] macro implements ActiveAccount for the generated Account struct introduced in [1/x] Pass an account as a parameter to note and tx script #798

@greenhat greenhat marked this pull request as ready for review December 2, 2025 15:32
@greenhat greenhat requested a review from bitwalker December 2, 2025 15:32
Copy link
Collaborator

@bitwalker bitwalker left a comment

Choose a reason for hiding this comment

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

It looks like this implements passing accounts by reference (see my feedback from #798), which is awesome!

I mostly skimmed through this, but nothing caught my eye as an issue. Definitely like how this is shaping up! Nice work!

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.

3 participants