mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 11:11:17 +00:00
Complete rebrand: Polkadot→Pezkuwi, Substrate→Bizinikiwi
- Replace PolkadotConfig with PezkuwiConfig - Replace SubstrateConfig with BizinikiwConfig - Rename config module files (polkadot.rs→pezkuwi.rs, substrate.rs→bizinikiwi.rs) - Update all documentation and examples - All 165 files updated, cargo check passes
This commit is contained in:
@@ -20,7 +20,7 @@ mod runtime_apis;
|
||||
/// Show the pallets and runtime apis that are available:
|
||||
///
|
||||
/// ```text
|
||||
/// subxt explore --file=polkadot_metadata.scale
|
||||
/// subxt explore --file=pezkuwi_metadata.scale
|
||||
/// ```
|
||||
///
|
||||
/// ## Pallets
|
||||
@@ -290,7 +290,7 @@ pub mod tests {
|
||||
}
|
||||
|
||||
async fn run_against_file(cli_command: &str) -> color_eyre::Result<String> {
|
||||
run(&format!("--file=../artifacts/polkadot_metadata_small.scale {cli_command}")).await
|
||||
run(&format!("--file=../artifacts/pezkuwi_metadata_small.scale {cli_command}")).await
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
@@ -422,11 +422,11 @@ pub mod tests {
|
||||
#[tokio::test]
|
||||
async fn insecure_urls_get_denied() {
|
||||
// Connection should work fine:
|
||||
run("--url wss://rpc.polkadot.io:443").await.unwrap();
|
||||
run("--url wss://rpc.pezkuwi.io:443").await.unwrap();
|
||||
|
||||
// Errors, because the --allow-insecure is not set:
|
||||
assert!(
|
||||
run("--url ws://rpc.polkadot.io:443")
|
||||
run("--url ws://rpc.pezkuwi.io:443")
|
||||
.await
|
||||
.unwrap_err()
|
||||
.to_string()
|
||||
|
||||
Reference in New Issue
Block a user