feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
-- Useful commands:
|
||||
--
|
||||
-- Set DATABASE_URL environment variable.
|
||||
-- export DATABASE_URL=sqlite:///$HOME/eth_rpc.db
|
||||
--
|
||||
-- Create DB:
|
||||
-- cargo sqlx database create
|
||||
--
|
||||
-- Run migration manually:
|
||||
-- cargo sqlx migrate run
|
||||
--
|
||||
-- Update compile time artifacts:
|
||||
-- cargo sqlx prepare
|
||||
CREATE TABLE IF NOT EXISTS transaction_hashes (
|
||||
transaction_hash BLOB NOT NULL PRIMARY KEY,
|
||||
transaction_index INTEGER NOT NULL,
|
||||
block_hash BLOB NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_block_hash ON transaction_hashes (
|
||||
block_hash
|
||||
);
|
||||
@@ -0,0 +1,28 @@
|
||||
CREATE TABLE IF NOT EXISTS logs (
|
||||
block_hash BLOB NOT NULL,
|
||||
transaction_index INTEGER NOT NULL,
|
||||
log_index INTEGER NOT NULL,
|
||||
address BLOB NOT NULL,
|
||||
block_number INTEGER NOT NULL,
|
||||
transaction_hash BLOB NOT NULL,
|
||||
topic_0 BLOB,
|
||||
topic_1 BLOB,
|
||||
topic_2 BLOB,
|
||||
topic_3 BLOB,
|
||||
data BLOB,
|
||||
PRIMARY KEY (block_hash, transaction_index, log_index)
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_block_number_address_topics ON logs (
|
||||
block_number,
|
||||
address,
|
||||
topic_0,
|
||||
topic_1,
|
||||
topic_2,
|
||||
topic_3
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_block_hash ON logs (
|
||||
block_hash
|
||||
);
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS eth_to_substrate_blocks (
|
||||
ethereum_block_hash BLOB NOT NULL PRIMARY KEY,
|
||||
substrate_block_hash BLOB NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_substrate_block_hash ON eth_to_substrate_blocks (
|
||||
substrate_block_hash
|
||||
);
|
||||
Reference in New Issue
Block a user