mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 19:41:05 +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:
+1
-1
@@ -11,7 +11,7 @@ license.workspace = true
|
||||
repository.workspace = true
|
||||
documentation.workspace = true
|
||||
homepage.workspace = true
|
||||
description = "Generate types and helpers for interacting with Substrate runtimes."
|
||||
description = "Generate types and helpers for interacting with Bizinikiwi runtimes."
|
||||
|
||||
[features]
|
||||
web = ["pezkuwi-subxt-codegen/web"]
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
|
||||
// see LICENSE for license details.
|
||||
|
||||
//! Subxt macro for generating Substrate runtime interfaces.
|
||||
//! Subxt macro for generating Bizinikiwi runtime interfaces.
|
||||
|
||||
use codec::Decode;
|
||||
use darling::{FromMeta, ast::NestedMeta};
|
||||
@@ -108,7 +108,7 @@ fn subxt_inner(args: TokenStream, item_mod: syn::ItemMod) -> Result<TokenStream,
|
||||
|
||||
// Run this first to ensure type paths are unique (which may result in 1,2,3 suffixes being
|
||||
// added to type paths), so that when we validate derives/substitutions below, they are
|
||||
// allowed for such types. See <https://github.com/paritytech/subxt/issues/2011>.
|
||||
// allowed for such types. See <https://github.com/pezkuwichain/subxt/issues/2011>.
|
||||
scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut())
|
||||
.expect("ensure_unique_type_paths should not fail; please report an issue.");
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ fn maybe_decompress(file_contents: Vec<u8>) -> WasmMetadataResult<Vec<u8>> {
|
||||
|
||||
struct Executor {
|
||||
runtime_blob: RuntimeBlob,
|
||||
executor: WasmExecutor<sp_io::SubstrateHostFunctions>,
|
||||
executor: WasmExecutor<sp_io::BizinikiwiHostFunctions>,
|
||||
externalities: sp_state_machine::BasicExternalities,
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ impl Executor {
|
||||
fn new(wasm_file: &[u8]) -> WasmMetadataResult<Self> {
|
||||
let externalities: sp_state_machine::BasicExternalities = Default::default();
|
||||
|
||||
let executor: WasmExecutor<sp_io::SubstrateHostFunctions> = WasmExecutor::builder()
|
||||
let executor: WasmExecutor<sp_io::BizinikiwiHostFunctions> = WasmExecutor::builder()
|
||||
.with_execution_method(WasmExecutionMethod::default())
|
||||
.with_offchain_heap_alloc_strategy(sc_executor::HeapAllocStrategy::Dynamic {
|
||||
maximum_pages: Some(64),
|
||||
|
||||
Reference in New Issue
Block a user