Skip to content

Add core client traits for read-only and read-write IOTA operations #1640

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

Merged
merged 41 commits into from
May 5, 2025

Conversation

itsyaasir
Copy link
Contributor

Description of change

This PR is for adding the client interfaces as we discussed yesterday. This PR won't be merged in as the client traits will be transferred to products-core but I decided to do the leg work so it will be easy to transfer.

After the transfer, I will open an issue for the Identity clients to implements the traits as required.

All comments are welcome.

Links to any relevant issues

Be sure to reference any related issues by adding fixes issue #.

Type of change

Add an x to the boxes that are relevant to your changes.

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Fix

How the change has been tested

Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Add an x to the 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 made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@itsyaasir itsyaasir self-assigned this Apr 15, 2025
@itsyaasir itsyaasir requested a review from a team as a code owner April 15, 2025 12:29
@itsyaasir itsyaasir marked this pull request as draft April 15, 2025 12:34
@itsyaasir itsyaasir requested a review from UMR1352 April 15, 2025 13:14
@itsyaasir itsyaasir requested review from chrisgitiota and a team April 16, 2025 07:44
@eike-hass eike-hass changed the base branch from feat/identity-rebased-alpha to main April 17, 2025 13:37
@eike-hass eike-hass force-pushed the main branch 2 times, most recently from bb21207 to 42fc734 Compare April 22, 2025 16:04
@itsyaasir itsyaasir added Breaking change A change to the API that requires a major release. Part of "Changed" section in changelog Rust Related to the core Rust code. Becomes part of the Rust changelog. labels Apr 29, 2025
@itsyaasir itsyaasir marked this pull request as ready for review April 29, 2025 05:43
UMR1352 and others added 26 commits April 29, 2025 19:51
* bump version

* add toml-cli CI artifacts to gitignore

* remove toml-cli CI artifacts

---------

Co-authored-by: Identity Bot <identity-bot@iota.org>
Co-authored-by: umr1352 <enrico.marconi@iota.org>
* bump version

* update well_known_networks

---------

Co-authored-by: Identity Bot <identity-bot@iota.org>
Co-authored-by: umr1352 <enrico.marconi@iota.org>
Co-authored-by: Enrico Marconi <31142849+UMR1352@users.noreply.github.com>
* identity_iota:
  * "send-sync" is now handed over as "send-sync" to identity_iota_core
  * "send-sync-storage" is now handed over as "send-sync-storage" to identity_iota_core
* examples crate does now use "identity_iota/send-sync" instead of "identity_iota/send-sync-storage"
* identity-grpc crate does now use "identity_iota/send-sync" instead of "identity_iota/send-sync-storage"
…" in IdentityClientReadOnly::get_identity() to control Send constraint
…ntityClientReadOnly::get_identity() to control Send constraint + identity_resolver uses "identity_iota_core?/send-sync" now if FF "send-sync-client" is used
Copy link
Contributor

Choose a reason for hiding this comment

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

This is an implementation detail that I rather not let users be aware of. Let's keep iota_interaction_rust private

@UMR1352 UMR1352 merged commit df7b4e6 into main May 5, 2025
13 checks passed
@UMR1352 UMR1352 deleted the feat/client-interface branch May 5, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking change A change to the API that requires a major release. Part of "Changed" section in changelog Rust Related to the core Rust code. Becomes part of the Rust changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants