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,153 @@
|
||||
# Docker compose file to start a multi node local test network.
|
||||
#
|
||||
# # Nodes
|
||||
#
|
||||
# - Validator node A
|
||||
# - Validator node B
|
||||
# - Light client C
|
||||
#
|
||||
# # Auxiliary nodes
|
||||
#
|
||||
# - Prometheus monitoring each node.
|
||||
# - Grafana pointed at the Prometheus node, configured with all dashboards.
|
||||
#
|
||||
# # Usage
|
||||
#
|
||||
# 1. Build `target/release/bizinikiwi` binary: `cargo build --release`
|
||||
# 2. Start networks and containers:
|
||||
# `sudo docker-compose -f .maintain/sentry-node/docker-compose.yml up`
|
||||
# 3. Connect to nodes:
|
||||
# - validator-a: localhost:9944
|
||||
# - validator-b: localhost:9945
|
||||
# - light-c: localhost:9946
|
||||
# - via polkadot.js/apps: https://pezkuwichain.io/?rpc=ws%3A%2F%2Flocalhost%3A<NODE_PORT>#/explorer
|
||||
# - grafana: localhost:3001
|
||||
# - prometheus: localhost:9090
|
||||
|
||||
|
||||
version: "3.7"
|
||||
services:
|
||||
|
||||
validator-a:
|
||||
ports:
|
||||
- "9944:9944"
|
||||
- "9615:9615"
|
||||
volumes:
|
||||
- ../../target/release/bizinikiwi:/usr/local/bin/bizinikiwi
|
||||
image: pezkuwichain/bizinikiwi
|
||||
networks:
|
||||
- internet
|
||||
command:
|
||||
- "--node-key"
|
||||
- "0000000000000000000000000000000000000000000000000000000000000001"
|
||||
- "--base-path"
|
||||
- "/tmp/alice"
|
||||
- "--chain=local"
|
||||
- "--port"
|
||||
- "30333"
|
||||
- "--validator"
|
||||
- "--alice"
|
||||
- "--bootnodes"
|
||||
- "/dns/validator-b/tcp/30333/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD"
|
||||
# Not only bind to localhost.
|
||||
- "--unsafe-ws-external"
|
||||
- "--unsafe-rpc-external"
|
||||
- "--log"
|
||||
- "sub-libp2p=trace"
|
||||
- "--no-telemetry"
|
||||
- "--rpc-cors"
|
||||
- "all"
|
||||
- "--prometheus-external"
|
||||
|
||||
validator-b:
|
||||
image: pezkuwichain/bizinikiwi
|
||||
ports:
|
||||
- "9945:9944"
|
||||
volumes:
|
||||
- ../../target/release/bizinikiwi:/usr/local/bin/bizinikiwi
|
||||
networks:
|
||||
- internet
|
||||
command:
|
||||
- "--node-key"
|
||||
- "0000000000000000000000000000000000000000000000000000000000000002"
|
||||
- "--base-path"
|
||||
- "/tmp/bob"
|
||||
- "--chain=local"
|
||||
- "--port"
|
||||
- "30333"
|
||||
- "--validator"
|
||||
- "--bob"
|
||||
- "--bootnodes"
|
||||
- "/dns/validator-a/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp"
|
||||
- "--no-telemetry"
|
||||
- "--rpc-cors"
|
||||
- "all"
|
||||
# Not only bind to localhost.
|
||||
- "--unsafe-ws-external"
|
||||
- "--unsafe-rpc-external"
|
||||
- "--log"
|
||||
- "sub-libp2p=trace"
|
||||
- "--prometheus-external"
|
||||
|
||||
light-c:
|
||||
image: pezkuwichain/bizinikiwi
|
||||
ports:
|
||||
- "9946:9944"
|
||||
volumes:
|
||||
- ../../target/release/bizinikiwi:/usr/local/bin/bizinikiwi
|
||||
networks:
|
||||
- internet
|
||||
command:
|
||||
- "--node-key"
|
||||
- "0000000000000000000000000000000000000000000000000000000000000003"
|
||||
- "--base-path"
|
||||
- "/tmp/light"
|
||||
- "--chain=local"
|
||||
- "--port"
|
||||
- "30333"
|
||||
- "--light"
|
||||
- "--bootnodes"
|
||||
- "/dns/validator-a/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp"
|
||||
- "--bootnodes"
|
||||
- "/dns/validator-b/tcp/30333/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD"
|
||||
- "--no-telemetry"
|
||||
- "--rpc-cors"
|
||||
- "all"
|
||||
# Not only bind to localhost.
|
||||
- "--unsafe-ws-external"
|
||||
- "--unsafe-rpc-external"
|
||||
- "--log"
|
||||
- "sub-libp2p=trace"
|
||||
- "--prometheus-external"
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
networks:
|
||||
- internet
|
||||
ports:
|
||||
- "9090:9090"
|
||||
links:
|
||||
- validator-a:validator-a
|
||||
- validator-b:validator-b
|
||||
- light-c:light-c
|
||||
volumes:
|
||||
- ./prometheus/:/etc/prometheus/
|
||||
restart: always
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
user: "104"
|
||||
depends_on:
|
||||
- prometheus
|
||||
networks:
|
||||
- internet
|
||||
ports:
|
||||
- 3001:3000
|
||||
volumes:
|
||||
- ./grafana/provisioning/:/etc/grafana/provisioning
|
||||
- ../monitoring/grafana-dashboards/:/etc/grafana/provisioning/dashboard-definitions
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
network-a:
|
||||
internet:
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'Prometheus'
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: file
|
||||
disableDeletion: false
|
||||
editable: false
|
||||
options:
|
||||
path: /etc/grafana/provisioning/dashboard-definitions
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
# config file version
|
||||
apiVersion: 1
|
||||
|
||||
# list of datasources that should be deleted from the database
|
||||
deleteDatasources:
|
||||
- name: Prometheus
|
||||
orgId: 1
|
||||
|
||||
# list of datasources to insert/update depending
|
||||
# whats available in the database
|
||||
datasources:
|
||||
# <string, required> name of the datasource. Required
|
||||
- name: Prometheus
|
||||
# <string, required> datasource type. Required
|
||||
type: prometheus
|
||||
# <string, required> access mode. direct or proxy. Required
|
||||
access: proxy
|
||||
# <int> org id. will default to orgId 1 if not specified
|
||||
orgId: 1
|
||||
# <string> url
|
||||
url: http://prometheus:9090
|
||||
# <string> database password, if used
|
||||
password:
|
||||
# <string> database user, if used
|
||||
user:
|
||||
# <string> database name, if used
|
||||
database:
|
||||
# <bool> enable/disable basic auth
|
||||
basicAuth: false
|
||||
# <string> basic auth username, if used
|
||||
basicAuthUser:
|
||||
# <string> basic auth password, if used
|
||||
basicAuthPassword:
|
||||
# <bool> enable/disable with credentials headers
|
||||
withCredentials:
|
||||
# <bool> mark as default datasource. Max one per org
|
||||
isDefault: true
|
||||
# <map> fields that will be converted to json and stored in json_data
|
||||
jsonData:
|
||||
graphiteVersion: "1.1"
|
||||
tlsAuth: false
|
||||
tlsAuthWithCACert: false
|
||||
# <string> json object of data that will be encrypted.
|
||||
secureJsonData:
|
||||
tlsCACert: "..."
|
||||
tlsClientCert: "..."
|
||||
tlsClientKey: "..."
|
||||
version: 1
|
||||
# <bool> allow users to edit datasources from the UI.
|
||||
editable: true
|
||||
@@ -0,0 +1,15 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'bizinikiwi-nodes'
|
||||
static_configs:
|
||||
- targets: ['validator-a:9615']
|
||||
labels:
|
||||
network: dev
|
||||
- targets: ['validator-b:9615']
|
||||
labels:
|
||||
network: dev
|
||||
- targets: ['light-c:9615']
|
||||
labels:
|
||||
network: dev
|
||||
Reference in New Issue
Block a user