mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-11-15 23:07:05 +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
@@ -463,7 +463,14 @@ pub fn run() -> Result<()> {
|
||||
// cmd.run(config, client.clone(), db, storage, shared_trie_cache).map_err(Error::BizinikiwiCli)
|
||||
// }),
|
||||
BenchmarkCmd::Block(cmd) => runner.sync_run(|mut config| {
|
||||
let (client, _, _, _) = pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
// Keep `_import_queue`/`_task_manager` bound (not `_`) so they — and the
|
||||
// babe-worker/transaction-pool essential tasks `_task_manager` anchors via
|
||||
// `keep_alive` in `new_partial`, plus the import queue's own
|
||||
// `basic-block-import-worker` — stay alive for the whole closure, not just
|
||||
// until this statement ends. See the comment on `task_manager.keep_alive(...)`
|
||||
// in node/service/src/builder/partial.rs.
|
||||
let (client, _, _import_queue, _task_manager) =
|
||||
pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
|
||||
cmd.run(client.clone()).map_err(Error::BizinikiwiCli)
|
||||
}),
|
||||
@@ -482,7 +489,17 @@ pub fn run() -> Result<()> {
|
||||
.map_err(Error::BizinikiwiCli)
|
||||
}),
|
||||
BenchmarkCmd::Extrinsic(cmd) => runner.sync_run(|mut config| {
|
||||
let (client, _, _, _) = pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
// Keep `_import_queue`/`_task_manager` bound (not `_`) so they stay alive for
|
||||
// the whole closure, not just until this statement ends. Without this, the
|
||||
// import queue's `basic-block-import-worker` task (from the discarded
|
||||
// `_import_queue`) and the babe-worker/transaction-pool essential tasks
|
||||
// `task_manager` anchors via `keep_alive` in `new_partial` all complete early
|
||||
// (their last live handle drops right here) and get logged+treated as
|
||||
// essential-task failures, which fails the whole `benchmark extrinsic`
|
||||
// command even though the benchmark itself succeeds. See the comment on
|
||||
// `task_manager.keep_alive(...)` in node/service/src/builder/partial.rs.
|
||||
let (client, _, _import_queue, _task_manager) =
|
||||
pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
let header = client.header(client.info().genesis_hash).unwrap().unwrap();
|
||||
let inherent_data = benchmark_inherent_data(header)
|
||||
.map_err(|e| format!("generating inherent data: {:?}", e))?;
|
||||
|
||||
Reference in new issue
Block a user