-
Notifications
You must be signed in to change notification settings - Fork 93
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
base: main
Are you sure you want to change the base?
Conversation
This reverts commit d4e366c.
…to GH feature branch
identity_iota/Cargo.toml
Outdated
identity_iota_interaction = { version = "=1.6.0-alpha", path = "../identity_iota_interaction", default-features = false } | ||
identity_iota_move_calls = { version = "=1.6.0-alpha", path = "../identity_iota_move_calls", default-features = false } | ||
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", default-features = false } | ||
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false } |
identity_iota/src/lib.rs
Outdated
@@ -17,7 +17,7 @@ | |||
clippy::missing_errors_doc | |||
)] | |||
|
|||
pub use identity_iota_interaction as iota_interaction; | |||
pub use iota_interaction as iota_interaction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe?
pub use iota_interaction as iota_interaction; | |
pub use iota_interaction; |
identity_iota_core/Cargo.toml
Outdated
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", optional = true } | ||
#iota_interaction = { path = "../../product-core/iota_interaction", optional = true } | ||
iota_interaction_rust = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction_rust", optional = true } | ||
#iota_interaction_rust = { path = "../../product-core/iota_interaction_rust", optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction_rust = { path = "../../product-core/iota_interaction_rust", optional = true } |
identity_iota_core/Cargo.toml
Outdated
identity_iota_interaction = { version = "=1.6.0-alpha", path = "../identity_iota_interaction", default-features = false, optional = true } | ||
tokio = { version = "1.43", default-features = false, features = ["sync"] } | ||
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", default-features = false, optional = true } | ||
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false, optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false, optional = true } |
@@ -7,14 +7,14 @@ use std::ops::Deref; | |||
use std::pin::Pin; | |||
use std::str::FromStr; | |||
|
|||
use crate::rebased::iota; | |||
use crate::rebased::{iota, rebased_err}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something like this?
use crate::rebased::{iota, rebased_err}; | |
use crate::rebased::iota; | |
#[cfg(not(target_arch = "wasm32"))] | |
use crate::rebased::rebased_err; |
identity_iota_move_calls/Cargo.toml
Outdated
iota_interaction.workspace = true | ||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", default-features = false } | ||
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false } |
identity_storage/Cargo.toml
Outdated
@@ -37,10 +37,12 @@ tokio = { version = "1.43", default-features = false, features = ["macros", "syn | |||
zkryptium = { workspace = true, optional = true } | |||
|
|||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | |||
identity_iota_interaction = { version = "=1.6.0-alpha", path = "../identity_iota_interaction", optional = true } | |||
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", optional = true } | |||
#iota_interaction = { path = "../../product-core/iota_interaction", optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction = { path = "../../product-core/iota_interaction", optional = true } |
identity_storage/Cargo.toml
Outdated
|
||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
identity_iota_interaction = { version = "=1.6.0-alpha", path = "../identity_iota_interaction", default-features = false, optional = true } | ||
iota_interaction = { git = "https://github.com/iotaledger/product-core.git", branch = "feat/transaction-client-core-for-identity", package = "iota_interaction", default-features = false, optional = true } | ||
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false, optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed? ^^
#iota_interaction = { path = "../../product-core/iota_interaction", default-features = false, optional = true } |
… lines across codebase
Description of change
This PR is the counterpart to the
product_core
PRproduct_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.How the change has been tested
Local build with identity_iota_core e2e tests