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:
@@ -437,7 +437,7 @@ fn construct_runtime_final_expansion(
|
||||
"use `pezframe_system::Config` to set the `Block` type and delete this clause.
|
||||
It is planned to be removed in December 2023",
|
||||
)
|
||||
.help_links(&["https://github.com/pezkuwichain/kurdistan-sdk/issues/51"])
|
||||
.help_links(&["https://github.com/pezkuwichain/pezkuwi-sdk/issues/51"])
|
||||
.span(where_section.span)
|
||||
.build_or_panic(),
|
||||
)
|
||||
|
||||
@@ -106,8 +106,8 @@ pub fn expand_call(def: &mut Def) -> proc_macro2::TokenStream {
|
||||
.old("use implicit call indices")
|
||||
.new("ensure that all calls have a `pezpallet::call_index` attribute or put the pezpallet into `dev` mode")
|
||||
.help_links(&[
|
||||
"https://github.com/pezkuwichain/kurdistan-sdk/issues/39",
|
||||
"https://github.com/pezkuwichain/kurdistan-sdk/issues/36"
|
||||
"https://github.com/pezkuwichain/pezkuwi-sdk/issues/39",
|
||||
"https://github.com/pezkuwichain/pezkuwi-sdk/issues/36"
|
||||
])
|
||||
.span(method.name.span())
|
||||
.build_or_panic();
|
||||
|
||||
@@ -38,7 +38,7 @@ pub(crate) fn weight_witness_warning(
|
||||
let partial_warning = Warning::new_deprecated("UncheckedWeightWitness")
|
||||
.old("not check weight witness data")
|
||||
.new("ensure that all witness data for weight calculation is checked before usage")
|
||||
.help_link("https://github.com/pezkuwichain/kurdistan-sdk/issues/108");
|
||||
.help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/108");
|
||||
|
||||
for (_, arg_ident, _) in method.args.iter() {
|
||||
if !arg_ident.to_string().starts_with('_') || !contains_ident(w.clone(), &arg_ident) {
|
||||
@@ -70,7 +70,7 @@ pub(crate) fn weight_constant_warning(
|
||||
.index(warnings.len())
|
||||
.old("use hard-coded constant as call weight")
|
||||
.new("benchmark all calls or put the pezpallet into `dev` mode")
|
||||
.help_link("https://github.com/pezkuwichain/kurdistan-sdk/issues/48")
|
||||
.help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/48")
|
||||
.span(lit.span())
|
||||
.build_or_panic();
|
||||
|
||||
|
||||
@@ -436,7 +436,7 @@ impl ConfigDef {
|
||||
.old("have `RuntimeEvent` associated type in the pezpallet config")
|
||||
.new("remove it as it is redundant since associated bound gets appended automatically: \n
|
||||
pub trait Config: pezframe_system::Config<RuntimeEvent: From<Event<Self>>> { }")
|
||||
.help_link("https://github.com/pezkuwichain/kurdistan-sdk/issues/125")
|
||||
.help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/125")
|
||||
.span(type_event.ident.span())
|
||||
.build_or_panic();
|
||||
|
||||
|
||||
@@ -1926,7 +1926,7 @@ pub mod pezpallet_macros {
|
||||
///
|
||||
/// ## Former Usage
|
||||
///
|
||||
/// Prior to <https://github.com/pezkuwichain/kurdistan-sdk/issues/50>, the following syntax was used.
|
||||
/// Prior to <https://github.com/pezkuwichain/pezkuwi-sdk/issues/50>, the following syntax was used.
|
||||
/// This is deprecated and will soon be removed.
|
||||
///
|
||||
/// ```
|
||||
|
||||
@@ -310,7 +310,7 @@ pub fn migrate_from_pallet_version_to_storage_version<
|
||||
/// If your pezpallet has too many keys to be removed in a single block, it is advised to wait for
|
||||
/// a multi-block scheduler currently under development which will allow for removal of storage
|
||||
/// items (and performing other heavy migrations) over multiple blocks
|
||||
/// (see <https://github.com/pezkuwichain/kurdistan-sdk/issues/11>).
|
||||
/// (see <https://github.com/pezkuwichain/pezkuwi-sdk/issues/11>).
|
||||
pub struct RemovePallet<P: Get<&'static str>, DbWeight: Get<RuntimeDbWeight>>(
|
||||
PhantomData<(P, DbWeight)>,
|
||||
);
|
||||
@@ -417,7 +417,7 @@ impl<P: Get<&'static str>, DbWeight: Get<RuntimeDbWeight>>
|
||||
/// If your storage has too many keys to be removed in a single block, it is advised to wait for
|
||||
/// a multi-block scheduler currently under development which will allow for removal of storage
|
||||
/// items (and performing other heavy migrations) over multiple blocks
|
||||
/// (see <https://github.com/pezkuwichain/kurdistan-sdk/issues/11>).
|
||||
/// (see <https://github.com/pezkuwichain/pezkuwi-sdk/issues/11>).
|
||||
pub struct RemoveStorage<P: Get<&'static str>, S: Get<&'static str>, DbWeight: Get<RuntimeDbWeight>>(
|
||||
PhantomData<(P, S, DbWeight)>,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user