Development (#172)

* docs: Add CLAUDE_RULES.md with strict rebrand protection rules

- Define immutable rebrand rules that cannot be violated
- Prohibit reverting rebrand for cargo check convenience
- Establish checkpoint and audit trail requirements
- Document correct error handling approach

* refactor: Complete kurdistan-sdk to pezkuwi-sdk rebrand

- Update README.md with pezkuwi-sdk branding
- Replace all kurdistan-sdk URL references with pezkuwi-sdk
- Replace kurdistan-tech with pezkuwichain in workflows
- Update email domains from @kurdistan-tech.io to @pezkuwichain.io
- Rename tool references: kurdistan-tech-publish → pezkuwi-publish
- Update runner names: kurdistan-tech-* → pezkuwichain-*
- Update analytics/forum/matrix domains to pezkuwichain.io
- Keep 'Kurdistan Tech Institute' as organization name
- Keep tech@kurdistan.gov as official government contact
This commit is contained in:
2025-12-19 23:30:43 +03:00
committed by GitHub
parent 2093647fea
commit 3680848df2
209 changed files with 496 additions and 454 deletions
@@ -181,7 +181,7 @@ pub trait Backend<Block: BlockT>:
/// chain or descendants of it.
///
/// Returns `Ok(None)` if `base_hash` is not found in search space.
// TODO: document time complexity of this, see [#1444](https://github.com/pezkuwichain/kurdistan-sdk/issues/18)
// TODO: document time complexity of this, see [#1444](https://github.com/pezkuwichain/pezkuwi-sdk/issues/18)
fn longest_containing(
&self,
base_hash: Block::Hash,
@@ -43,7 +43,7 @@ impl AuraInherentData for InherentData {
}
/// Provides the slot duration inherent data for `Aura`.
// TODO: Remove in the future. https://github.com/pezkuwichain/kurdistan-sdk/issues/31
// TODO: Remove in the future. https://github.com/pezkuwichain/pezkuwi-sdk/issues/31
#[cfg(feature = "std")]
pub struct InherentDataProvider {
slot: InherentType,
@@ -54,7 +54,7 @@ impl BabeInherentData for InherentData {
}
/// Provides the slot duration inherent data for BABE.
// TODO: Remove in the future. https://github.com/pezkuwichain/kurdistan-sdk/issues/31
// TODO: Remove in the future. https://github.com/pezkuwichain/pezkuwi-sdk/issues/31
#[cfg(feature = "std")]
pub struct InherentDataProvider {
slot: InherentType,
@@ -95,7 +95,7 @@ fn unavailable_yet<R: Default>(name: &str) -> R {
tracing::error!(
target: LOG_TARGET,
"The {:?} API is not available for offchain workers yet. Follow \
https://github.com/pezkuwichain/kurdistan-sdk/issues/19 for details",
https://github.com/pezkuwichain/pezkuwi-sdk/issues/19 for details",
name
);
Default::default()
+1 -1
View File
@@ -47,7 +47,7 @@ pub type Page = u32;
/// Representation of a staking account, which may be a stash or controller account.
///
/// Note: once the controller is completely deprecated, this enum can also be deprecated in favor of
/// the stash account. Tracking issue: <https://github.com/pezkuwichain/kurdistan-sdk/issues/28>.
/// the stash account. Tracking issue: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/28>.
#[derive(Clone, Debug)]
pub enum StakingAccount<AccountId> {
Stash(AccountId),
+1 -1
View File
@@ -609,7 +609,7 @@ mod std_features {
);
// FIXME: this could be done a lot in 0.2 if they opt for using `Cow<str,'static>` instead
// https://github.com/pezkuwichain/kurdistan-sdk/issues/29
// https://github.com/pezkuwichain/pezkuwi-sdk/issues/29
impl From<&crate::WasmMetadata> for &'static tracing_core::Metadata<'static> {
fn from(wm: &crate::WasmMetadata) -> &'static tracing_core::Metadata<'static> {
match (&wm.level, wm.is_span) {
@@ -137,7 +137,7 @@ impl ParseRuntimeVersion {
let warning = Warning::new_deprecated("RuntimeVersion")
.old("state_version")
.new("system_version)")
.help_link("https://github.com/pezkuwichain/kurdistan-sdk/issues/118")
.help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/118")
.span(field_name.span())
.build_or_panic();
warnings.push(warning);