fix: correct domain from pezkuwi.io to pezkuwichain.io
The pezkuwi.io domain does not exist. All references have been updated to the correct pezkuwichain.io domain. Fixed files: - subxt examples (rpc.pezkuwichain.io) - subxt lib.rs documentation - contracts fixtures (homepage, authors email) - CHANGELOG.md (zagros-rpc.pezkuwichain.io)
This commit is contained in:
@@ -127,8 +127,8 @@ version = "0.6.3"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Pezkuwi SDK component: contracts"
|
description = "Pezkuwi SDK component: contracts"
|
||||||
repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
|
repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
|
||||||
homepage = "https://pezkuwi.io"
|
homepage = "https://pezkuwichain.io"
|
||||||
authors = ["Pezkuwi Chain <admin@pezkuwi.io>"]
|
authors = ["Pezkuwi Chain <admin@pezkuwichain.io>"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ edition = "2021"
|
|||||||
description = "Pezkuwi SDK component: contracts"
|
description = "Pezkuwi SDK component: contracts"
|
||||||
documentation.workspace = true
|
documentation.workspace = true
|
||||||
repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
|
repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
|
||||||
homepage = "https://pezkuwi.io"
|
homepage = "https://pezkuwichain.io"
|
||||||
authors = ["Pezkuwi Chain <admin@pezkuwi.io>"]
|
authors = ["Pezkuwi Chain <admin@pezkuwichain.io>"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-3
@@ -723,11 +723,11 @@ Our CLI tool now allows you to explore runtime APIs and events ([#1290](https://
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Show details about a runtime API call:
|
# Show details about a runtime API call:
|
||||||
subxt explore --url wss://zagros-rpc.pezkuwi.io api StakingAPI nominations_quota
|
subxt explore --url wss://zagros-rpc.pezkuwichain.io api StakingAPI nominations_quota
|
||||||
# Execute a runtime API call from the CLI:
|
# Execute a runtime API call from the CLI:
|
||||||
subxt explore --url wss://zagros-rpc.pezkuwi.io api core version -e
|
subxt explore --url wss://zagros-rpc.pezkuwichain.io api core version -e
|
||||||
# Discover what events a pallet can emit:
|
# Discover what events a pallet can emit:
|
||||||
subxt explore --url wss://zagros-rpc.pezkuwi.io pallet Balances events
|
subxt explore --url wss://zagros-rpc.pezkuwichain.io pallet Balances events
|
||||||
```
|
```
|
||||||
|
|
||||||
All CLI commands that take some metadata via `--file` or `--url`, can now also read the metadata directly from `stdin` with `--file -` ([#1336](https://github.com/pezkuwichain/subxt/pull/1336)).
|
All CLI commands that take some metadata via `--file` or `--url`, can now also read the metadata directly from `stdin` with `--file -` ([#1336](https://github.com/pezkuwichain/subxt/pull/1336)).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use pezkuwi_subxt::{OnlineClient, PezkuwiConfig};
|
|||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
// Create a client that subscribes to blocks of the Pezkuwi network.
|
// Create a client that subscribes to blocks of the Pezkuwi network.
|
||||||
let api = OnlineClient::<PezkuwiConfig>::from_url("wss://rpc.pezkuwi.io:443").await?;
|
let api = OnlineClient::<PezkuwiConfig>::from_url("wss://rpc.pezkuwichain.io:443").await?;
|
||||||
|
|
||||||
// Subscribe to all finalized blocks:
|
// Subscribe to all finalized blocks:
|
||||||
let mut blocks_sub = api.blocks().subscribe_finalized().await?;
|
let mut blocks_sub = api.blocks().subscribe_finalized().await?;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ use pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress;
|
|||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
// Create a client that subscribes to blocks of the Pezkuwi network.
|
// Create a client that subscribes to blocks of the Pezkuwi network.
|
||||||
let api = OnlineClient::<PezkuwiConfig>::from_url("wss://rpc.pezkuwi.io:443").await?;
|
let api = OnlineClient::<PezkuwiConfig>::from_url("wss://rpc.pezkuwichain.io:443").await?;
|
||||||
|
|
||||||
// Subscribe to all finalized blocks:
|
// Subscribe to all finalized blocks:
|
||||||
let mut blocks_sub = api.blocks().subscribe_finalized().await?;
|
let mut blocks_sub = api.blocks().subscribe_finalized().await?;
|
||||||
|
|||||||
+2
-2
@@ -198,7 +198,7 @@ pub mod ext {
|
|||||||
///
|
///
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
/// #[pezkuwi_subxt::subxt(
|
/// #[pezkuwi_subxt::subxt(
|
||||||
/// runtime_metadata_insecure_url = "wss://rpc.pezkuwi.io:443"
|
/// runtime_metadata_insecure_url = "wss://rpc.pezkuwichain.io:443"
|
||||||
/// )]
|
/// )]
|
||||||
/// mod pezkuwi {}
|
/// mod pezkuwi {}
|
||||||
/// ```
|
/// ```
|
||||||
@@ -374,7 +374,7 @@ pub mod ext {
|
|||||||
///
|
///
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
/// #[pezkuwi_subxt::subxt(
|
/// #[pezkuwi_subxt::subxt(
|
||||||
/// runtime_metadata_insecure_url = "wss://rpc.pezkuwi.io:443",
|
/// runtime_metadata_insecure_url = "wss://rpc.pezkuwichain.io:443",
|
||||||
/// unstable_metadata
|
/// unstable_metadata
|
||||||
/// )]
|
/// )]
|
||||||
/// mod pezkuwi {}
|
/// mod pezkuwi {}
|
||||||
|
|||||||
Reference in New Issue
Block a user