mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-11-29 18:49:55 +00:00
sync: mirror deployed github repo (chains + sanitized bridge), keep GitLab CI
Make this monorepo's tracked tree identical to the deployed github repo (github.com/pezkuwichain/pezkuwi-DKS): all RC/AH/People runtimes and framework carry the mainnet fixes (incl. U128CurrencyToVote everywhere, so the staking election stall cannot recur), and tools/usdt-bridge matches the current, public-safe custody tooling (real config/deploy units gitignored, secret-file locations and server IPs stripped, sanitized *.example templates committed). Only exception to the mirror: GitLab-native CI is preserved (.gitlab-ci.yml and .gitlab/), to be rebuilt to match the github CI pipeline in a follow-up.
This commit is contained in:
1 parent
82543bdfab
commit
d285d59108
736 files changed
+15082
-16359
No files matched your search
@@ -17,11 +17,11 @@ fn main() -> Result<()> {
|
||||
"scheme": "sr25519",
|
||||
"mnemonic": phrase,
|
||||
});
|
||||
std::fs::write("/home/myhez/res/bridge_automation_key.json", serde_json::to_string_pretty(&out)?)?;
|
||||
std::fs::write("bridge_automation_key.json", serde_json::to_string_pretty(&out)?)?;
|
||||
|
||||
println!("Generated automation key.");
|
||||
println!("Address (never the mnemonic): {}", ss58);
|
||||
println!("Saved to /home/myhez/res/bridge_automation_key.json");
|
||||
println!("Saved to bridge_automation_key.json");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
@@ -105,7 +105,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("=== GRANT XEZINEDAR + BERDEVK TIKI ===\n");
|
||||
|
||||
let relay_url =
|
||||
std::env::var("RPC_URL").unwrap_or_else(|_| "ws://217.77.6.126:9944".to_string());
|
||||
std::env::var("RPC_URL").unwrap_or_else(|_| "ws://127.0.0.1:9944".to_string());
|
||||
|
||||
let validator_01: AccountId32 = "5GipBJs2uNWTCazyZQ2vG3DEqLz4tXNmNZtBAT1Mtm1orZ5i".parse()?;
|
||||
let validator_02: AccountId32 = "5HWFZbhkZuTUySXu6ZXYKrTHBnWXHvWRKLozE22zhnwXGGxk".parse()?;
|
||||
@@ -121,7 +121,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let api = OnlineClient::<PezkuwiConfig>::from_insecure_url(&relay_url).await?;
|
||||
println!("Connected to {}! specVersion: {}\n", relay_url, api.runtime_version().spec_version);
|
||||
|
||||
let seed_content = std::fs::read_to_string("/home/myhez/res/sudo.json")?;
|
||||
let seed_content = std::fs::read_to_string("sudo.json")?;
|
||||
let seed_json: serde_json::Value = serde_json::from_str(&seed_content)?;
|
||||
let mnemonic_str = seed_json["mnemonic"].as_str().expect("mnemonic field present");
|
||||
let mnemonic = Mnemonic::from_str(mnemonic_str)?;
|
||||
|
||||
@@ -35,7 +35,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let api = OnlineClient::<PezkuwiConfig>::from_insecure_url(&rpc_url).await?;
|
||||
println!("Connected to {}! specVersion: {}\n", rpc_url, api.runtime_version().spec_version);
|
||||
|
||||
let seed_content = std::fs::read_to_string("/home/myhez/res/treasury.json")?;
|
||||
let seed_content = std::fs::read_to_string("treasury.json")?;
|
||||
let seed_json: serde_json::Value = serde_json::from_str(&seed_content)?;
|
||||
let mnemonic_str = seed_json["mnemonic"].as_str().expect("mnemonic field present");
|
||||
let mnemonic = Mnemonic::from_str(mnemonic_str)?;
|
||||
|
||||
Reference in new issue
Block a user