Complete rebrand from Polkadot SDK to Pezkuwi SDK
This commit is contained in:
+19
-7
@@ -1,10 +1,10 @@
|
||||
[workspace.package]
|
||||
authors = [
|
||||
"Kurdistan Tech Institute <info@pezkuwichain.io>",
|
||||
"Kurdistan Tech Institute <admin@pezkuwichain.io>",
|
||||
"Parity Technologies <admin@parity.io>",
|
||||
]
|
||||
edition = "2021"
|
||||
homepage = "https://docs.pezkuwichain.io/sdk/"
|
||||
homepage = "https://pezkuwichain.io/"
|
||||
license = "GPL-3.0-only"
|
||||
repository = "https://github.com/pezkuwichain/pezkuwi-sdk.git"
|
||||
|
||||
@@ -1446,11 +1446,23 @@ ssz_rs_derive = { version = "0.9.0", default-features = false }
|
||||
static_assertions = { version = "1.1.0", default-features = false }
|
||||
static_init = { version = "1.0.3" }
|
||||
strum = { version = "0.26.3", default-features = false }
|
||||
subxt = { version = "0.43", default-features = false }
|
||||
subxt-core = { version = "0.43", default-features = false }
|
||||
subxt-metadata = { version = "0.43", default-features = false }
|
||||
subxt-rpcs = { version = "0.43", default-features = false }
|
||||
subxt-signer = { version = "0.43" }
|
||||
# Pezkuwi-subxt (forked from subxt with pezsp_runtime support)
|
||||
subxt = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", package = "pezkuwi-subxt", default-features = false }
|
||||
subxt-core = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", package = "pezkuwi-subxt-core", default-features = false }
|
||||
subxt-metadata = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", package = "pezkuwi-subxt-metadata", default-features = false }
|
||||
subxt-rpcs = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", package = "pezkuwi-subxt-rpcs", default-features = false }
|
||||
subxt-signer = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", package = "pezkuwi-subxt-signer" }
|
||||
# Internal pezkuwi-subxt dependencies (same crates with pezkuwi- prefixed keys)
|
||||
pezkuwi-subxt = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-core = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-codegen = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master" }
|
||||
pezkuwi-subxt-metadata = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-macro = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master" }
|
||||
pezkuwi-subxt-rpcs = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-signer = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-lightclient = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-utils-fetchmetadata = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master", default-features = false }
|
||||
pezkuwi-subxt-utils-stripmetadata = { git = "https://github.com/pezkuwichain/pezkuwi-subxt.git", branch = "master" }
|
||||
syn = { version = "2.0.87" }
|
||||
sysinfo = { version = "0.30" }
|
||||
tar = { version = "0.4" }
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,13 +21,15 @@ pub use subxt::config::PolkadotConfig as SrcChainConfig;
|
||||
|
||||
#[subxt::subxt(
|
||||
runtime_metadata_path = "revive_chain.scale",
|
||||
// Note: subxt hardcodes sp_runtime paths internally but our metadata uses pezsp_runtime
|
||||
// This requires either forking subxt or using compatible metadata
|
||||
// TODO remove once subxt use the same U256 type
|
||||
substitute_type(
|
||||
path = "primitive_types::U256",
|
||||
with = "::subxt::utils::Static<::pezsp_core::U256>"
|
||||
),
|
||||
|
||||
// The metadata is generated from our rebranded runtime, so paths already use pezsp_* names
|
||||
// pezsp_runtime substitutions (rebranded paths from Pezkuwi SDK)
|
||||
substitute_type(
|
||||
path = "pezsp_runtime::DispatchError",
|
||||
with = "::subxt::utils::Static<::pezsp_runtime::DispatchError>"
|
||||
@@ -52,7 +54,6 @@ pub use subxt::config::PolkadotConfig as SrcChainConfig;
|
||||
path = "pezsp_runtime::MultiSignature",
|
||||
with = "::subxt::utils::Static<::pezsp_runtime::MultiSignature>"
|
||||
),
|
||||
|
||||
substitute_type(
|
||||
path = "pezsp_runtime::generic::block::Block<A, B, C, D, E>",
|
||||
with = "::subxt::utils::Static<::pezsp_runtime::generic::Block<
|
||||
@@ -60,6 +61,14 @@ pub use subxt::config::PolkadotConfig as SrcChainConfig;
|
||||
::pezsp_runtime::OpaqueExtrinsic
|
||||
>>"
|
||||
),
|
||||
|
||||
// pezsp_weights substitutions
|
||||
substitute_type(
|
||||
path = "pezsp_weights::weight_v2::Weight",
|
||||
with = "::subxt::utils::Static<::pezsp_weights::Weight>"
|
||||
),
|
||||
|
||||
// pezpallet_revive substitutions (rebranded paths)
|
||||
substitute_type(
|
||||
path = "pezpallet_revive::evm::api::debug_rpc_types::Trace",
|
||||
with = "::subxt::utils::Static<::pezpallet_revive::evm::Trace>"
|
||||
@@ -68,7 +77,6 @@ pub use subxt::config::PolkadotConfig as SrcChainConfig;
|
||||
path = "pezpallet_revive::evm::api::debug_rpc_types::TracerType",
|
||||
with = "::subxt::utils::Static<::pezpallet_revive::evm::TracerType>"
|
||||
),
|
||||
|
||||
substitute_type(
|
||||
path = "pezpallet_revive::evm::api::rpc_types_gen::GenericTransaction",
|
||||
with = "::subxt::utils::Static<::pezpallet_revive::evm::GenericTransaction>"
|
||||
@@ -89,10 +97,6 @@ pub use subxt::config::PolkadotConfig as SrcChainConfig;
|
||||
path = "pezpallet_revive::primitives::ExecReturnValue",
|
||||
with = "::subxt::utils::Static<::pezpallet_revive::ExecReturnValue>"
|
||||
),
|
||||
substitute_type(
|
||||
path = "pezsp_weights::weight_v2::Weight",
|
||||
with = "::subxt::utils::Static<::pezsp_weights::Weight>"
|
||||
),
|
||||
substitute_type(
|
||||
path = "pezpallet_revive::evm::api::rpc_types_gen::Block",
|
||||
with = "::subxt::utils::Static<::pezpallet_revive::evm::Block>"
|
||||
|
||||
+1
Submodule vendor/pezkuwi-subxt added at 545b8ae818
Reference in New Issue
Block a user