Skip to content

Conversation

@murisi
Copy link
Collaborator

@murisi murisi commented Nov 28, 2023

Describe your changes

Modified the Namada trait and implementation to own its their clients, streams, wallet, and shielded utilities. Then removed all the redundant lifetimes. This was relatively straightforward because it was rare that after a NamadaImpl has been instantiated that any other object would want to own the client, streams, wallet, or shielded utilities.

Indicate on which release or other PRs this topic is based on

Namada 0.27.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@murisi murisi force-pushed the murisi/remove-sdk-lifetimes branch from 441db2c to 7a7d771 Compare November 28, 2023 17:58
sug0
sug0 previously approved these changes Nov 28, 2023
Copy link
Collaborator

@sug0 sug0 left a comment

Choose a reason for hiding this comment

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

Nice, this is a big improvement. It should solve many lifetime related annoyances in the SDK.

@murisi murisi mentioned this pull request Nov 28, 2023
@sug0
Copy link
Collaborator

sug0 commented Nov 28, 2023

don't forget to add an sdk changelog

tzemanovic
tzemanovic previously approved these changes Nov 28, 2023
@murisi murisi force-pushed the murisi/remove-sdk-lifetimes branch from b096e77 to 8afe908 Compare November 28, 2023 20:07
@murisi murisi mentioned this pull request Nov 30, 2023
2 tasks
@tzemanovic tzemanovic merged commit 88229c0 into main Dec 7, 2023
@tzemanovic tzemanovic deleted the murisi/remove-sdk-lifetimes branch December 7, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants