Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to @iota/sdk #7174

Merged
merged 54 commits into from
Aug 30, 2023
Merged

chore: migrate to @iota/sdk #7174

merged 54 commits into from
Aug 30, 2023

Conversation

msarcev
Copy link
Collaborator

@msarcev msarcev commented Jul 12, 2023

Summary

Migrate from @iota/wallet to @iota/sdk bindings (also remove need to @iota/types)

Resolves #7116

Changelog

  • Swapped dependency to "@iota/sdk" (kept naming to @iota/wallet temporarily to start fixing import errors quicker)
  • Fix all import errors
  • Remove @iota/types dependency
  • Fix issues with webpack (this thread help i think). Fixed by pointing all imports to (@iota/sdk/out/types). Importing types must not try to load bindings binary or else webpack throws error no loader for Index.node

Testing

Platforms

Please select any platforms where your changes have been tested.

  • Desktop
    • MacOS
    • Linux
    • Windows

Instructions

Relevant changelogs:
https://github.com/iotaledger/iota-sdk/blob/develop/sdk/src/wallet/bindings/nodejs/CHANGELOG.md
https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/CHANGELOG.md

  • Address all TODO-sdk comments
  • Swap "@iota/wallet" dependency name for "@iota/sdk"
  • Fix mentions of @iota/wallet in docs/standard-operating-procedures/development/releases
  • All wallet features work and tested

Checklist

Please tick the following boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or modified tests that prove my changes work as intended
  • I have verified that new and existing unit tests pass locally with my changes
  • I have verified that my latest changes pass CI workflows for testing and linting
  • I have made corresponding changes to the documentation

@msarcev msarcev marked this pull request as draft July 12, 2023 14:52
@brancoder brancoder self-requested a review August 18, 2023 12:11
Copy link
Collaborator

@brancoder brancoder left a comment

Choose a reason for hiding this comment

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

LGTM great work 🎊

@marc2332 marc2332 self-requested a review August 18, 2023 14:57
@brancoder brancoder self-requested a review August 18, 2023 15:23
Copy link
Collaborator

@brancoder brancoder left a comment

Choose a reason for hiding this comment

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

When consolidating outputs there is an error account.consolidate is not a functions

image
image

yarn.lock Outdated Show resolved Hide resolved
@brancoder brancoder self-requested a review August 21, 2023 14:43
Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

Wow such amazing work 💪🏼💪🏼 💪🏼 💪🏼 💪🏼
Added some mini comments but we are almost ready to go 🚀

I havent been able to test every single feature, will keep testing and leave a comment if there is anything that needs fix

Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

Ran a new test run and found that wallet finder is not working
nevermind, it was the node i was using

Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

💪🏼 🔥 amazing work

Copy link
Collaborator

@brancoder brancoder left a comment

Choose a reason for hiding this comment

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

LGTM 🌃

@begonaalvarezd begonaalvarezd changed the title Migrate to @iota/sdk chore: migrate to @iota/sdk Aug 30, 2023
@begonaalvarezd begonaalvarezd merged commit 40b6518 into develop Aug 30, 2023
4 checks passed
@begonaalvarezd begonaalvarezd deleted the migrate-to-iota-sdk branch August 30, 2023 08:22
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.

[Task]: Migrate to new bindings @iota/sdk
5 participants