Skip to content

Integrate product core into identity.rs #1658

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 50 commits into from
May 22, 2025
Merged

Conversation

chrisgitiota
Copy link
Contributor

Description of change

This PR is the counterpart to the product_core PR
product_core to be used with identity.rs.
Please see there for more details.

This PR is in draft mode and shall facilitate discussing the code changes in identity.rs

Links to any relevant issues

Fixes issue #1636.

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
  • [ x] Architecture-change

How the change has been tested

Local build with identity_iota_core e2e tests

@chrisgitiota chrisgitiota added Wasm Related to Wasm bindings. Becomes part of the Wasm changelog Chore Tedious, typically non-functional change No changelog Excludes PR from becoming part of any changelog Rust Related to the core Rust code. Becomes part of the Rust changelog. labels Apr 29, 2025
@chrisgitiota chrisgitiota self-assigned this Apr 29, 2025
@chrisgitiota chrisgitiota requested a review from a team as a code owner April 29, 2025 07:48
itsyaasir and others added 28 commits May 7, 2025 21:04
…r/identity.rs into chore/product-core-integration
* Rename "product-core" dependency to "product-common" and introduce dependency patches for all product-core crates

* Remove core_client, transaction_internal and wasm_transaction_signer code provided now by product-core repository

* Update use statements according to new core_client location

* Remove redundant code and update use statements according to new core_client location

* Update examples to latest TransactionBuilder interface

* Update examples to latest TransactionBuilder interface

* Set @iota/iota-interaction-ts dependency to "^0.4.3"

* Introduce paths in tsconfig.json files for @iota/iota-interaction-ts

* Remove cargo dependency patch for local product-core files and switch product-core branch to 'chore/extend-tx-client-core'

* Remove cargo dependency patch for local product-core files in identity_wasm/Cargo.toml

* fix bindings build

* test ts-config

* clean up tsconfig

* Removed unnecessary use statement

* Limited visibility of core_client use to pub(crate) to avoid compiler warning

* Add iota-interaction-ts/transaction_internal TS type re-export

* Remove unnecessary type inference regression because TS's typesystem can infer the type now

---------

Co-authored-by: Eike Haß <[email protected]>
@eike-hass eike-hass merged commit ca421d6 into main May 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore Tedious, typically non-functional change No changelog Excludes PR from becoming part of any changelog Rust Related to the core Rust code. Becomes part of the Rust changelog. Wasm Related to Wasm bindings. Becomes part of the Wasm changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants