diff --git a/.config/lychee.toml b/.config/lychee.toml index 0d173c37..f6963233 100644 --- a/.config/lychee.toml +++ b/.config/lychee.toml @@ -72,4 +72,51 @@ exclude = [ # Exclude strings which contain templates like {} and {:?} "%7B%7D", "%7B:\\?}", + # ============================================ + # Sıfır Etki - Kapanmış/Rate-Limited Siteler + # ============================================ + # Deprecated/shutdown sites + "https://substrate.io/", + "https://invarch.network/", + # Rate limited (403) + "https://aventus.io/", + "https://efinity.io/", + "https://fragnova.com/", + "https://gmordie.com/", + "https://parachain.capitaldex.exchange/", + "https://stackoverflow.com/.*", + # Server errors (5xx) + "https://impactprotocol.network/", + "http://laminar.network/", + "https://neatcoin.org/", + # Network/DNS errors (defunct chains) + "https://allfeat.network/", + "https://clover.finance/", + "https://composable.finance/", + "https://edgewa.re/", + "https://geek.gl/", + "https://ggxchain.io/", + "https://goro.network/", + "https://icenetwork.io/", + "https://jupiter.patract.io/", + "https://kabocha.network/", + "https://karmaco.in/", + "https://krigan.network/", + "https://luhn.network/", + "https://parachain.origintrail.io/", + "https://picasso.composable.finance/", + "https://polkadex.trade/", + "https://synesthesia.network/", + "https://uniarts.me/", + "https://www.sctl.xyz/", + # ============================================ + # GitHub commit-specific URLs (cannot migrate) + # ============================================ + "https://github.com/pezkuwichain/pezkuwi-sdk/issues/.*/commits/.*", + "https://github.com/pezkuwichain/pezkuwi-sdk/issues/.*/files.*", + "https://github.com/pezkuwichain/pezkuwi-sdk/blob/[a-f0-9]+/.*", + "https://github.com/pezkuwichain/pezkuwi-sdk/tree/[a-f0-9]+/.*", + "https://github.com/paritytech/polkadot-sdk/blob/.*/bizinikiwi/.*", + # Migrated bizinikiwi references + "https://github.com/pezkuwichain/bizinikiwi.*", ] diff --git a/bizinikiwi/client/api/src/client.rs b/bizinikiwi/client/api/src/client.rs index eb8617f1..942c5953 100644 --- a/bizinikiwi/client/api/src/client.rs +++ b/bizinikiwi/client/api/src/client.rs @@ -73,7 +73,7 @@ pub trait BlockchainEvents { /// /// The events for this notification stream are emitted: /// - During initial sync process: if there is a re-org while importing blocks. See - /// [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/60#issuecomment-694091901) for the + /// [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/222#issuecomment-694091901) for the /// rationale behind this. /// - After initial sync process: on every imported block, regardless of whether it is /// the new best block or not, causes a re-org or not. diff --git a/bizinikiwi/client/consensus/aura/src/lib.rs b/bizinikiwi/client/consensus/aura/src/lib.rs index f251667f..35b76ff5 100644 --- a/bizinikiwi/client/consensus/aura/src/lib.rs +++ b/bizinikiwi/client/consensus/aura/src/lib.rs @@ -85,7 +85,7 @@ pub enum CompatibilityMode { /// Call `initialize_block` before doing any runtime calls. /// /// Previously the node would execute `initialize_block` before fetching the authorities - /// from the runtime. This behaviour changed in: + /// from the runtime. This behaviour changed in: /// /// By calling `initialize_block` before fetching the authorities, on a block that /// would enact a new validator set, the block would already be build/sealed by an diff --git a/bizinikiwi/client/db/src/lib.rs b/bizinikiwi/client/db/src/lib.rs index e64a37e5..96c9102c 100644 --- a/bizinikiwi/client/db/src/lib.rs +++ b/bizinikiwi/client/db/src/lib.rs @@ -381,7 +381,7 @@ impl DatabaseSource { /// Return path for databases that are stored on disk. pub fn path(&self) -> Option<&Path> { match self { - // as per https://github.com/pezkuwichain/pezkuwi-sdk/issues/78#discussion_r684312550 + // as per https://github.com/pezkuwichain/pezkuwi-sdk/issues/226#discussion_r684312550 // // IIUC this is needed for pezkuwi to create its own dbs, so until it can use parity db // I would think rocksdb, but later parity-db. diff --git a/bizinikiwi/client/executor/src/integration_tests/mod.rs b/bizinikiwi/client/executor/src/integration_tests/mod.rs index 0684fdb9..dd6cac95 100644 --- a/bizinikiwi/client/executor/src/integration_tests/mod.rs +++ b/bizinikiwi/client/executor/src/integration_tests/mod.rs @@ -494,7 +494,7 @@ fn returns_mutable_static_bss(wasm_method: WasmExecutionMethod) { // If we didn't restore the wasm instance properly, on a trap the stack pointer would not be // returned to its initial value and thus the stack space is going to be leaked. // -// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/23 for details +// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/193 for details test_wasm_execution!(restoration_of_globals); fn restoration_of_globals(wasm_method: WasmExecutionMethod) { // Allocate 32 pages (of 65536 bytes) which gives the runtime 2048KB of heap to operate on diff --git a/bizinikiwi/client/network-gossip/src/bridge.rs b/bizinikiwi/client/network-gossip/src/bridge.rs index af89db10..7562e40b 100644 --- a/bizinikiwi/client/network-gossip/src/bridge.rs +++ b/bizinikiwi/client/network-gossip/src/bridge.rs @@ -580,7 +580,7 @@ mod tests { /// Regression test for the case where the `GossipEngine.network_event_stream` closes. One /// should not ignore a `Poll::Ready(None)` as `poll_next_unpin` will panic on subsequent calls. /// - /// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/25 for details. + /// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/195 for details. #[test] fn returns_when_network_event_stream_closes() { let network = TestNetwork::default(); diff --git a/bizinikiwi/client/network/src/discovery.rs b/bizinikiwi/client/network/src/discovery.rs index 6c3c6a75..69d885de 100644 --- a/bizinikiwi/client/network/src/discovery.rs +++ b/bizinikiwi/client/network/src/discovery.rs @@ -350,7 +350,7 @@ pub struct DiscoveryBehaviour { /// The chain based kademlia protocol name (including genesis hash and fork id). /// /// Remove when all nodes are upgraded to genesis hash and fork ID-based Kademlia: - /// . + /// . kademlia_protocol: Option, /// Provider keys requested with `GET_PROVIDERS` queries. provider_keys_requested: HashMap, @@ -415,7 +415,7 @@ impl DiscoveryBehaviour { // // Extract the chain-based Kademlia protocol from `kademlia.protocol_name()` // when all nodes are upgraded to genesis hash and fork ID-based Kademlia: - // https://github.com/pezkuwichain/pezkuwi-sdk/issues/104. + // https://github.com/pezkuwichain/pezkuwi-sdk/issues/250. if !supported_protocols.iter().any(|p| { p == self .kademlia_protocol diff --git a/bizinikiwi/client/network/src/litep2p/service.rs b/bizinikiwi/client/network/src/litep2p/service.rs index 7f327f97..fa3c14ec 100644 --- a/bizinikiwi/client/network/src/litep2p/service.rs +++ b/bizinikiwi/client/network/src/litep2p/service.rs @@ -360,9 +360,9 @@ impl NetworkStatusProvider for Litep2pNetworkService { connected_peers: HashMap::new(), not_connected_peers: HashMap::new(), // TODO: Check what info we can include here. - // Issue reference: https://github.com/pezkuwichain/pezkuwi-sdk/issues/15. + // Issue reference: https://github.com/pezkuwichain/pezkuwi-sdk/issues/328. peerset: serde_json::json!( - "Unimplemented. See https://github.com/pezkuwichain/pezkuwi-sdk/issues/15." + "Unimplemented. See https://github.com/pezkuwichain/pezkuwi-sdk/issues/328." ), }) } diff --git a/bizinikiwi/client/network/src/protocol/message.rs b/bizinikiwi/client/network/src/protocol/message.rs index 27c1c9a2..2508fea0 100644 --- a/bizinikiwi/client/network/src/protocol/message.rs +++ b/bizinikiwi/client/network/src/protocol/message.rs @@ -61,9 +61,9 @@ pub mod generic { } /// Status sent on connection. - // TODO https://github.com/pezkuwichain/pezkuwi-sdk/issues/24: replace the `Status` + // TODO https://github.com/pezkuwichain/pezkuwi-sdk/issues/194: replace the `Status` // struct with this one, after waiting a few releases beyond `NetworkSpecialization`'s - // removal (https://github.com/pezkuwichain/pezkuwi-sdk/issues/55) + // removal (https://github.com/pezkuwichain/pezkuwi-sdk/issues/220) // // and set MIN_VERSION to 6. #[derive(Debug, PartialEq, Eq, Clone, Encode, Decode)] diff --git a/bizinikiwi/client/network/src/protocol/notifications/tests/conformance.rs b/bizinikiwi/client/network/src/protocol/notifications/tests/conformance.rs index d714a804..03cc981b 100644 --- a/bizinikiwi/client/network/src/protocol/notifications/tests/conformance.rs +++ b/bizinikiwi/client/network/src/protocol/notifications/tests/conformance.rs @@ -106,7 +106,7 @@ fn setup_libp2p( .with_substream_upgrade_protocol_override(upgrade::Version::V1) .with_notify_handler_buffer_size(NonZeroUsize::new(32).expect("32 != 0; qed")) // NOTE: 24 is somewhat arbitrary and should be tuned in the future if - // necessary. See + // necessary. See .with_per_connection_event_buffer_size(24) .with_max_negotiating_inbound_streams(2048) .with_idle_connection_timeout(Duration::from_secs(5)); diff --git a/bizinikiwi/client/network/src/protocol/notifications/tests/mod.rs b/bizinikiwi/client/network/src/protocol/notifications/tests/mod.rs index 00105ef2..34c629c7 100644 --- a/bizinikiwi/client/network/src/protocol/notifications/tests/mod.rs +++ b/bizinikiwi/client/network/src/protocol/notifications/tests/mod.rs @@ -350,7 +350,7 @@ async fn reconnect_after_disconnect() { // Due to the bug in `Notifications`, the disconnected node does not always detect that // it was disconnected. The closed inbound substream is tolerated by design, and the // closed outbound substream is not detected until something is sent into it. - // See [PR #13396](https://github.com/pezkuwichain/pezkuwi-sdk/issues/45). + // See [PR #13396](https://github.com/pezkuwichain/pezkuwi-sdk/issues/213). // This happens if the disconnecting node reconnects to it fast enough. // In this case the disconnected node does not transit via `ServiceState::NotConnected` // and stays in `ServiceState::FirstConnec`. diff --git a/bizinikiwi/client/network/src/request_responses.rs b/bizinikiwi/client/network/src/request_responses.rs index 2a41cfea..a9afdcc4 100644 --- a/bizinikiwi/client/network/src/request_responses.rs +++ b/bizinikiwi/client/network/src/request_responses.rs @@ -390,7 +390,7 @@ pub struct RequestResponsesBehaviour { /// We had issues in the past where libp2p did not produce a timeout event in due time. /// /// For more details, see: - /// - + /// - periodic_request_check: tokio::time::Interval, } diff --git a/bizinikiwi/client/network/src/service.rs b/bizinikiwi/client/network/src/service.rs index 090754ee..b475b1f4 100644 --- a/bizinikiwi/client/network/src/service.rs +++ b/bizinikiwi/client/network/src/service.rs @@ -547,7 +547,7 @@ where .with_substream_upgrade_protocol_override(upgrade::Version::V1) .with_notify_handler_buffer_size(NonZeroUsize::new(32).expect("32 != 0; qed")) // NOTE: 24 is somewhat arbitrary and should be tuned in the future if - // necessary. See + // necessary. See .with_per_connection_event_buffer_size(24) .with_max_negotiating_inbound_streams(2048) .with_idle_connection_timeout(network_config.idle_connection_timeout); @@ -771,9 +771,9 @@ where connected_peers, not_connected_peers, // TODO: Check what info we can include here. - // Issue reference: https://github.com/pezkuwichain/pezkuwi-sdk/issues/15. + // Issue reference: https://github.com/pezkuwichain/pezkuwi-sdk/issues/328. peerset: serde_json::json!( - "Unimplemented. See https://github.com/pezkuwichain/pezkuwi-sdk/issues/15." + "Unimplemented. See https://github.com/pezkuwichain/pezkuwi-sdk/issues/328." ), } } @@ -1658,11 +1658,11 @@ where // reopened. // The code below doesn't compile because `role` is unknown. Propagating the // handshake of the secondary connections is quite an invasive change and - // would conflict with https://github.com/pezkuwichain/pezkuwi-sdk/issues/27. + // would conflict with https://github.com/pezkuwichain/pezkuwi-sdk/issues/197. // Considering that dropping notifications is generally regarded as // acceptable, this bug is at the moment intentionally left there and is // intended to be fixed at the same time as - // https://github.com/pezkuwichain/pezkuwi-sdk/issues/27. + // https://github.com/pezkuwichain/pezkuwi-sdk/issues/197. // self.event_streams.send(Event::NotificationStreamClosed { // remote, // protocol, diff --git a/bizinikiwi/client/network/sync/src/strategy/chain_sync/test.rs b/bizinikiwi/client/network/sync/src/strategy/chain_sync/test.rs index bda04947..66cc92de 100644 --- a/bizinikiwi/client/network/sync/src/strategy/chain_sync/test.rs +++ b/bizinikiwi/client/network/sync/src/strategy/chain_sync/test.rs @@ -994,7 +994,7 @@ fn sync_restart_removes_block_but_not_justification_requests() { assert_eq!(pending_responses.len(), 0); } -/// The test demonstrates https://github.com/pezkuwichain/pezkuwi-sdk/issues/117. +/// The test demonstrates https://github.com/pezkuwichain/pezkuwi-sdk/issues/262. /// TODO: convert it into desired behavior test once the issue is fixed (see inline comments). /// The issue: we currently rely on block numbers instead of block hash /// to download blocks from peers. As a result, we can end up with blocks diff --git a/bizinikiwi/client/network/test/src/sync.rs b/bizinikiwi/client/network/test/src/sync.rs index 5bb37557..6e9cac37 100644 --- a/bizinikiwi/client/network/test/src/sync.rs +++ b/bizinikiwi/client/network/test/src/sync.rs @@ -549,7 +549,7 @@ async fn can_sync_explicit_forks() { // TODO: for unknown reason, this test is flaky on a multithreaded runtime, so we run it // in a single-threaded mode. -// See issue https://github.com/pezkuwichain/pezkuwi-sdk/issues/20. +// See issue https://github.com/pezkuwichain/pezkuwi-sdk/issues/333. #[tokio::test] async fn syncs_header_only_forks() { pezsp_tracing::try_init_simple(); diff --git a/bizinikiwi/client/rpc-api/src/state/mod.rs b/bizinikiwi/client/rpc-api/src/state/mod.rs index a725723f..fc9c1da4 100644 --- a/bizinikiwi/client/rpc-api/src/state/mod.rs +++ b/bizinikiwi/client/rpc-api/src/state/mod.rs @@ -187,8 +187,8 @@ pub trait StateApi { /// [Source.][3] /// /// [1]: https://crates.io/crates/diener - /// [2]: https://github.com/paritytech/bizinikiwi-archive/tree/master/wasm-tracing - /// [3]: https://github.com/paritytech/bizinikiwi-archive/wiki + /// [2]: https://github.com/paritytech/substrate-archive/tree/master/wasm-tracing + /// [3]: https://github.com/paritytech/substrate-archive/wiki /// /// ## RPC Usage /// @@ -281,8 +281,8 @@ pub trait StateApi { /// [querying bizinikiwi storage via rpc][3]. /// /// [1]: https://docs.pezkuwichain.io/main-docs/fundamentals/state-transitions-and-storage/ - /// [2]: https://www.shawntabrizi.com/blog/bizinikiwi/transparent-keys-in-bizinikiwi/ - /// [3]: https://www.shawntabrizi.com/blog/bizinikiwi/querying-bizinikiwi-storage-via-rpc/ + /// [2]: https://www.shawntabrizi.com/blog/substrate/transparent-keys-in-substrate/ + /// [3]: https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/ /// /// ### Maximum payload size /// diff --git a/bizinikiwi/client/rpc-spec-v2/src/chain_head/tests.rs b/bizinikiwi/client/rpc-spec-v2/src/chain_head/tests.rs index 459e31ee..f530245a 100644 --- a/bizinikiwi/client/rpc-spec-v2/src/chain_head/tests.rs +++ b/bizinikiwi/client/rpc-spec-v2/src/chain_head/tests.rs @@ -4033,7 +4033,7 @@ async fn follow_report_best_block_of_a_known_block() { // // This happened because the chainHead was using the `client.info()` without verifying // if the block was announced or not. This was fixed by using the latest finalized - // block instead as fallback. For more info see: https://github.com/pezkuwichain/pezkuwi-sdk/issues/142. + // block instead as fallback. For more info see: https://github.com/pezkuwichain/pezkuwi-sdk/issues/285. client_mock.set_best_block(block_3_hash, 3); // Finalize the block 2 from the fork. diff --git a/bizinikiwi/client/service/src/lib.rs b/bizinikiwi/client/service/src/lib.rs index 87f52687..f3b7d5fd 100644 --- a/bizinikiwi/client/service/src/lib.rs +++ b/bizinikiwi/client/service/src/lib.rs @@ -108,7 +108,7 @@ const DEFAULT_PROTOCOL_ID: &str = "sup"; #[derive(Clone)] pub struct RpcHandlers { // This is legacy and may be removed at some point, it was for WASM stuff before smoldot was a - // thing. https://github.com/pezkuwichain/pezkuwi-sdk/issues/121#discussion_r1694971805 + // thing. https://github.com/pezkuwichain/pezkuwi-sdk/issues/266#discussion_r1694971805 rpc_module: Arc>, // This can be used to introspect the port the RPC server is listening on. SDK consumers are diff --git a/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/mod.rs b/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/mod.rs index 55be7739..57bb3696 100644 --- a/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/mod.rs +++ b/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/mod.rs @@ -307,7 +307,7 @@ //! //! //! ## API Considerations -//! Refer to github issue: +//! Refer to github issue: //! //! [`View`]: crate::fork_aware_txpool::view::View //! [`view::revalidate`]: crate::fork_aware_txpool::view::View::revalidate diff --git a/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs b/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs index 64d3c163..d168cee3 100644 --- a/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs +++ b/bizinikiwi/client/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs @@ -28,7 +28,7 @@ //! //! Sync methods (with `_sync` suffix) are also exposed, and it should be safe to call them from //! sync or non-tokio contenxt. These methods are required for implementing some non-async methods. -//! See for some more information. The implementation of the +//! See for some more information. The implementation of the //! bridging is based on passing messages from sync context to tokio thread. use futures::{future::join_all, FutureExt}; diff --git a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs index fc54118f..d924578a 100644 --- a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs +++ b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs @@ -19,7 +19,7 @@ // Test inspired (copied) from: // https://github.com/pezkuwichain/pezkuwi-sdk/blob/85b71daf7aac59da4d2186b45d589c7c619f0981/polkadot/zombienet-sdk-tests/tests/elastic_scaling/slot_based_3cores.rs#L21 // and patched as in: -// https://github.com/pezkuwichain/pezkuwi-sdk/issues/124#issuecomment-2808830472 +// https://github.com/pezkuwichain/pezkuwi-sdk/issues/269#issuecomment-2808830472 use crate::zombienet::{BlockSubscriptionType, NetworkSpawner, ScenarioBuilderSharedParams}; use pezcumulus_zombienet_sdk_helpers::create_assign_core_call; diff --git a/bizinikiwi/pezframe/assets/src/mock.rs b/bizinikiwi/pezframe/assets/src/mock.rs index 774bf4c1..21896e14 100644 --- a/bizinikiwi/pezframe/assets/src/mock.rs +++ b/bizinikiwi/pezframe/assets/src/mock.rs @@ -238,7 +238,7 @@ pub(crate) fn new_test_ext() -> pezsp_io::TestExternalities { config.assimilate_storage(&mut storage).unwrap(); let mut ext: pezsp_io::TestExternalities = storage.into(); - // Clear thread local vars for https://github.com/pezkuwichain/pezkuwi-sdk/issues/2. + // Clear thread local vars for https://github.com/pezkuwichain/pezkuwi-sdk/issues/317. ext.execute_with(|| take_hooks()); ext.execute_with(|| System::set_block_number(1)); ext diff --git a/bizinikiwi/pezframe/assets/src/tests.rs b/bizinikiwi/pezframe/assets/src/tests.rs index 22cbeae9..1a3849cc 100644 --- a/bizinikiwi/pezframe/assets/src/tests.rs +++ b/bizinikiwi/pezframe/assets/src/tests.rs @@ -1547,7 +1547,7 @@ fn freezer_should_work() { set_frozen_balance(0, 1, 50); // Note: The amount to be transferred in this step changed deliberately from 20 to 30 - // (https://github.com/pezkuwichain/pezkuwi-sdk/issues/119/commits/2ab35354d86904c035b21a2229452841b79b0457) + // (https://github.com/pezkuwichain/pezkuwi-sdk/issues/264/commits/2ab35354d86904c035b21a2229452841b79b0457) // to reflect the change in how `reducible_balance` is calculated: from untouchable = ed + // frozen, to untouchalbe = max(ed, frozen) // diff --git a/bizinikiwi/pezframe/balances/src/lib.rs b/bizinikiwi/pezframe/balances/src/lib.rs index 998ce184..0b0e8a48 100644 --- a/bizinikiwi/pezframe/balances/src/lib.rs +++ b/bizinikiwi/pezframe/balances/src/lib.rs @@ -303,7 +303,7 @@ pub mod pezpallet { /// The ID type for reserves. /// - /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/40/` + /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/209/` type ReserveIdentifier: Parameter + Member + MaxEncodedLen + Ord + Copy; /// The ID type for freezes. @@ -312,13 +312,13 @@ pub mod pezpallet { /// The maximum number of locks that should exist on an account. /// Not strictly enforced, but used for weight estimation. /// - /// Use of locks is deprecated in favour of freezes. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/40/` + /// Use of locks is deprecated in favour of freezes. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/209/` #[pezpallet::constant] type MaxLocks: Get; /// The maximum number of named reserves that can exist on an account. /// - /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/40/` + /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/209/` #[pezpallet::constant] type MaxReserves: Get; @@ -507,7 +507,7 @@ pub mod pezpallet { /// Any liquidity locks on some account balances. /// NOTE: Should only be accessed when setting, changing and freeing a lock. /// - /// Use of locks is deprecated in favour of freezes. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/40/` + /// Use of locks is deprecated in favour of freezes. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/209/` #[pezpallet::storage] pub type Locks, I: 'static = ()> = StorageMap< _, @@ -519,7 +519,7 @@ pub mod pezpallet { /// Named reserves on some account balances. /// - /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/40/` + /// Use of reserves is deprecated in favour of holds. See `https://github.com/pezkuwichain/pezkuwi-sdk/issues/209/` #[pezpallet::storage] pub type Reserves, I: 'static = ()> = StorageMap< _, diff --git a/bizinikiwi/pezframe/child-bounties/src/lib.rs b/bizinikiwi/pezframe/child-bounties/src/lib.rs index 15a6f888..80d068e0 100644 --- a/bizinikiwi/pezframe/child-bounties/src/lib.rs +++ b/bizinikiwi/pezframe/child-bounties/src/lib.rs @@ -46,7 +46,7 @@ // Most of the business logic in this pezpallet has been // originally contributed by "https://github.com/shamb0", -// as part of the PR - https://github.com/pezkuwichain/pezkuwi-sdk/issues/74. +// as part of the PR - https://github.com/pezkuwichain/pezkuwi-sdk/issues/223. // The code has been moved here and then refactored in order to // extract child bounties as a separate pezpallet. diff --git a/bizinikiwi/pezframe/contracts/src/chain_extension.rs b/bizinikiwi/pezframe/contracts/src/chain_extension.rs index 79fc2e0a..78bea0bd 100644 --- a/bizinikiwi/pezframe/contracts/src/chain_extension.rs +++ b/bizinikiwi/pezframe/contracts/src/chain_extension.rs @@ -39,7 +39,7 @@ //! However, only extensions implementing [`RegisteredChainExtension`] can be put into a tuple. //! This is because the [`RegisteredChainExtension::ID`] is used to decide which of those extensions //! should be used when the contract calls a chain extensions. Extensions which are generally -//! useful should claim their `ID` with [the registry](https://github.com/pezkuwichain/chainextension-registry) +//! useful should claim their `ID` with [the registry](https://github.com/paritytech/chainextension-registry) //! so that no collisions with other vendors will occur. //! //! **Chain specific extensions must use the reserved `ID = 0` so that they can't be registered with @@ -140,7 +140,7 @@ pub trait ChainExtension { /// most significant bytes of the `id` passed to `call`. /// /// If this extensions is to be used by multiple runtimes consider -/// [registering it](https://github.com/pezkuwichain/chainextension-registry) to ensure that there +/// [registering it](https://github.com/paritytech/chainextension-registry) to ensure that there /// are no collisions with other vendors. /// /// # Note diff --git a/bizinikiwi/pezframe/contracts/src/migration/v10.rs b/bizinikiwi/pezframe/contracts/src/migration/v10.rs index 0dcc329a..d494fb52 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v10.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v10.rs @@ -16,7 +16,7 @@ // limitations under the License. //! Don't rely on reserved balances keeping an account alive -//! See . +//! See . use crate::{ exec::AccountIdOf, diff --git a/bizinikiwi/pezframe/contracts/src/migration/v11.rs b/bizinikiwi/pezframe/contracts/src/migration/v11.rs index 44c2b7ff..473f990d 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v11.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v11.rs @@ -16,7 +16,7 @@ // limitations under the License. //! Overflowing bounded DeletionQueue. -//! See . +//! See . use crate::{ migration::{IsFinished, MigrationStep}, @@ -74,7 +74,7 @@ pub struct Migration { impl MigrationStep for Migration { const VERSION: u16 = 11; - // It would be more correct to make our use the now removed [DeletionQueueDepth](https://github.com/pezkuwichain/pezkuwi-sdk/issues/47/files#diff-70e9723e9db62816e35f6f885b6770a8449c75a6c2733e9fa7a245fe52c4656c) + // It would be more correct to make our use the now removed [DeletionQueueDepth](https://github.com/pezkuwichain/pezkuwi-sdk/issues/214/files#diff-70e9723e9db62816e35f6f885b6770a8449c75a6c2733e9fa7a245fe52c4656c) // but in practice the queue is always empty, so 128 is a good enough approximation for not // underestimating the weight of our migration. fn max_step_weight() -> Weight { diff --git a/bizinikiwi/pezframe/contracts/src/migration/v13.rs b/bizinikiwi/pezframe/contracts/src/migration/v13.rs index fac2ac35..10136ce6 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v13.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v13.rs @@ -16,7 +16,7 @@ // limitations under the License. //! Add `delegate_dependencies` to `ContractInfo`. -//! See . +//! See . use crate::{ migration::{IsFinished, MigrationStep}, diff --git a/bizinikiwi/pezframe/contracts/src/migration/v14.rs b/bizinikiwi/pezframe/contracts/src/migration/v14.rs index 869c80f0..27d56bc0 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v14.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v14.rs @@ -17,7 +17,7 @@ //! Update the code owner balance, make the code upload deposit balance to be held instead of //! reserved. Since [`Currency`](pezframe_support::traits::Currency) has been -//! [deprecated](https://github.com/pezkuwichain/pezkuwi-sdk/issues/40), we need the deposits to be +//! [deprecated](https://github.com/pezkuwichain/pezkuwi-sdk/issues/209), we need the deposits to be //! handled by the [`pezframe_support::traits::fungible`] traits. use crate::{ diff --git a/bizinikiwi/pezframe/contracts/src/migration/v15.rs b/bizinikiwi/pezframe/contracts/src/migration/v15.rs index cda7bf4f..7de73391 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v15.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v15.rs @@ -17,7 +17,7 @@ //! Move contracts' _reserved_ balance from the `deposit_account` to be _held_ in the contract's //! account instead. Since [`Currency`](pezframe_support::traits::Currency) has been -//! [deprecated](https://github.com/pezkuwichain/pezkuwi-sdk/issues/40), we need the deposits to be +//! [deprecated](https://github.com/pezkuwichain/pezkuwi-sdk/issues/209), we need the deposits to be //! handled by the [`pezframe_support::traits::fungible`] traits instead. For this transfer the //! balance from the deposit account to the contract's account and hold it in there. //! Then the deposit account is not needed anymore and we can get rid of it. diff --git a/bizinikiwi/pezframe/contracts/src/migration/v16.rs b/bizinikiwi/pezframe/contracts/src/migration/v16.rs index e6618166..afc65bf4 100644 --- a/bizinikiwi/pezframe/contracts/src/migration/v16.rs +++ b/bizinikiwi/pezframe/contracts/src/migration/v16.rs @@ -16,7 +16,7 @@ // limitations under the License. //! Remove ED from storage base deposit. -//! See . +//! See . use crate::{ migration::{IsFinished, MigrationStep}, diff --git a/bizinikiwi/pezframe/election-provider-multi-phase/src/lib.rs b/bizinikiwi/pezframe/election-provider-multi-phase/src/lib.rs index 7ae52815..41bd7e20 100644 --- a/bizinikiwi/pezframe/election-provider-multi-phase/src/lib.rs +++ b/bizinikiwi/pezframe/election-provider-multi-phase/src/lib.rs @@ -1371,7 +1371,7 @@ pub mod pezpallet { /// The in-code storage version. /// - /// v1: https://github.com/pezkuwichain/pezkuwi-sdk/issues/38/ + /// v1: https://github.com/pezkuwichain/pezkuwi-sdk/issues/207/ const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pezpallet::pezpallet] diff --git a/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/src/lib.rs b/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/src/lib.rs index cdef483a..0526eeec 100644 --- a/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/src/lib.rs +++ b/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/src/lib.rs @@ -250,7 +250,7 @@ fn continuous_slashes_below_offending_threshold() { /// be below ED. In that case, only the stash (or root) can kill the ledger entry by calling /// `withdraw_unbonded` after the bonding period has passed. /// -/// Related to . +/// Related to . fn ledger_consistency_active_balance_below_ed() { use pezpallet_staking::{Error, Event}; diff --git a/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs b/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs index 4d142062..64b5c92b 100644 --- a/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs +++ b/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs @@ -49,7 +49,7 @@ pub(crate) fn syn_err(message: &'static str) -> syn::Error { /// compact encoding. /// - The accuracy of the ratios. This must be one of the `PerThing` types defined in /// `sp-arithmetic`. -/// - The maximum number of voters. This must be of type `Get`. Check +/// - The maximum number of voters. This must be of type `Get`. Check /// for more details. This is used to bound the struct, by leveraging the fact that `votes1.len() /// < votes2.len() < ... < votesn.len()` (the details of the struct is explained further below). /// We know that `sum_i votes_i.len() <= MaxVoters`, and we know that the maximum size of the diff --git a/bizinikiwi/pezframe/election-provider-support/src/lib.rs b/bizinikiwi/pezframe/election-provider-support/src/lib.rs index 408311a3..d847a8db 100644 --- a/bizinikiwi/pezframe/election-provider-support/src/lib.rs +++ b/bizinikiwi/pezframe/election-provider-support/src/lib.rs @@ -379,7 +379,7 @@ pub trait ElectionDataProvider { /// [`Self::targets().len()`], since desiring a winner set larger than candidates is not /// feasible. /// - /// This is documented further in issue: + /// This is documented further in issue: fn desired_targets() -> data_provider::Result; /// Provide a best effort prediction about when the next election is about to happen. diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs index cf9e96fa..56ae2924 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs @@ -64,7 +64,7 @@ //! preferred tool to test migrations is //! [`try-runtime-cli`](https://github.com/paritytech/try-runtime-cli). Support will be added to //! dry-run MBMs once they are stable -//! (tracked: ). +//! (tracked: ). pub mod migrations; mod mock; diff --git a/bizinikiwi/pezframe/message-queue/src/tests.rs b/bizinikiwi/pezframe/message-queue/src/tests.rs index 6f1e6846..d3edc7fb 100644 --- a/bizinikiwi/pezframe/message-queue/src/tests.rs +++ b/bizinikiwi/pezframe/message-queue/src/tests.rs @@ -285,7 +285,7 @@ fn service_queues_low_weight_defensive() { }); } -/// Regression test for . +/// Regression test for . #[test] fn service_queues_regression_1873() { use MessageOrigin::*; @@ -1675,7 +1675,7 @@ fn integrity_test_checks_service_weight() { }); } -/// Test for . +/// Test for . #[test] fn regression_issue_2319() { build_and_execute::(|| { diff --git a/bizinikiwi/pezframe/nomination-pools/src/lib.rs b/bizinikiwi/pezframe/nomination-pools/src/lib.rs index 2516ebb5..c2dead2e 100644 --- a/bizinikiwi/pezframe/nomination-pools/src/lib.rs +++ b/bizinikiwi/pezframe/nomination-pools/src/lib.rs @@ -339,7 +339,7 @@ //! //! To be fair to joiners, this implementation also need joining pools, which are actively staking, //! in addition to the unbonding pools. For maintenance simplicity these are not implemented. -//! Related: +//! Related: //! //! ### Limitations //! diff --git a/bizinikiwi/pezframe/nomination-pools/src/migration.rs b/bizinikiwi/pezframe/nomination-pools/src/migration.rs index 7224626b..9f0ac057 100644 --- a/bizinikiwi/pezframe/nomination-pools/src/migration.rs +++ b/bizinikiwi/pezframe/nomination-pools/src/migration.rs @@ -840,7 +840,7 @@ pub mod v2 { } /// Migrate the pool reward scheme to the new version, as per - /// . + /// . pub struct MigrateToV2(core::marker::PhantomData); impl MigrateToV2 { fn run(current: StorageVersion) -> Weight { diff --git a/bizinikiwi/pezframe/referenda/src/types.rs b/bizinikiwi/pezframe/referenda/src/types.rs index f88c4da7..b4f934a9 100644 --- a/bizinikiwi/pezframe/referenda/src/types.rs +++ b/bizinikiwi/pezframe/referenda/src/types.rs @@ -140,7 +140,7 @@ pub const DEFAULT_MAX_TRACK_NAME_LEN: usize = 25; /// Helper structure to treat a `[u8; N]` array as a string. /// -/// This is a temporary fix (see [#7671](https://github.com/pezkuwichain/pezkuwi-sdk/issues/126)) in +/// This is a temporary fix (see [#7671](https://github.com/pezkuwichain/pezkuwi-sdk/issues/271)) in /// order to stop `pezkuwi.js` apps to fail when trying to decode the `name` field in `TrackInfo`. #[derive(Clone, Eq, DecodeWithMemTracking, PartialEq, Debug)] pub struct StringLike(pub [u8; N]); diff --git a/bizinikiwi/pezframe/revive/rpc/src/receipt_provider.rs b/bizinikiwi/pezframe/revive/rpc/src/receipt_provider.rs index dfcd1896..917be7c8 100644 --- a/bizinikiwi/pezframe/revive/rpc/src/receipt_provider.rs +++ b/bizinikiwi/pezframe/revive/rpc/src/receipt_provider.rs @@ -60,7 +60,7 @@ impl BlockHashMap { /// Provides information about a block, /// This is an abstratction on top of [`BizinikiwiBlock`] that can't be mocked in tests. -/// Can be removed once is fixed. +/// Can be removed once is fixed. pub trait BlockInfo { /// Returns the block hash. fn hash(&self) -> H256; @@ -300,7 +300,7 @@ impl ReceiptProvider { /// Insert receipts into the provider. /// - /// Note: Can be merged into `insert_block_receipts` once is fixed and subxt let + /// Note: Can be merged into `insert_block_receipts` once is fixed and subxt let /// us create Mock `BizinikiwiBlock` async fn insert( &self, diff --git a/bizinikiwi/pezframe/revive/src/tests/pvm.rs b/bizinikiwi/pezframe/revive/src/tests/pvm.rs index 3be9b24b..80421189 100644 --- a/bizinikiwi/pezframe/revive/src/tests/pvm.rs +++ b/bizinikiwi/pezframe/revive/src/tests/pvm.rs @@ -4043,7 +4043,7 @@ fn call_tracing_works() { ]; // Verify that the first trace report the same weight reported by bare_call - // TODO: fix tracing ( https://github.com/pezkuwichain/pezkuwi-sdk/issues/153 ) + // TODO: fix tracing ( https://github.com/pezkuwichain/pezkuwi-sdk/issues/296 ) /* let mut tracer = CallTracer::new(false, |w| w); let gas_used = trace(&mut tracer, || { diff --git a/bizinikiwi/pezframe/scheduler/src/migration.rs b/bizinikiwi/pezframe/scheduler/src/migration.rs index 7eaf7967..69ce6430 100644 --- a/bizinikiwi/pezframe/scheduler/src/migration.rs +++ b/bizinikiwi/pezframe/scheduler/src/migration.rs @@ -192,7 +192,7 @@ pub mod v4 { /// This migration cleans up empty agendas of the V4 scheduler. /// /// This should be run on a scheduler that does not have - /// since it piles up `None`-only agendas. This does not modify the pezpallet version. + /// since it piles up `None`-only agendas. This does not modify the pezpallet version. pub struct CleanupAgendas(core::marker::PhantomData); impl OnRuntimeUpgrade for CleanupAgendas { diff --git a/bizinikiwi/pezframe/src/lib.rs b/bizinikiwi/pezframe/src/lib.rs index ec31f5f9..64a3732f 100644 --- a/bizinikiwi/pezframe/src/lib.rs +++ b/bizinikiwi/pezframe/src/lib.rs @@ -273,7 +273,7 @@ pub mod benchmarking { } #[deprecated( - note = "'The V1 benchmarking syntax is deprecated. Please use the V2 syntax. This warning may become a hard error any time after April 2025. For more info, see: https://github.com/pezkuwichain/pezkuwi-sdk/issues/123" + note = "'The V1 benchmarking syntax is deprecated. Please use the V2 syntax. This warning may become a hard error any time after April 2025. For more info, see: https://github.com/pezkuwichain/pezkuwi-sdk/issues/268" )] pub mod v1 { pub use super::shared::*; diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/staking.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/staking.rs index f46e9c9c..c200cc04 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/staking.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/staking.rs @@ -72,7 +72,7 @@ parameter_types! { /// * Kusama: 16 (1.6m snapshot) /// /// Reasoning: Both leads to around 700 nominators per-page, yielding the weights in - /// https://github.com/pezkuwichain/pezkuwi-sdk/issues/128, the maximum of which being around 1mb + /// https://github.com/pezkuwichain/pezkuwi-sdk/issues/273, the maximum of which being around 1mb /// compressed PoV and 2mb uncompressed. /// /// NOTE: in principle, there is nothing preventing us from stretching these values further, it diff --git a/bizinikiwi/pezframe/staking-async/src/ledger.rs b/bizinikiwi/pezframe/staking-async/src/ledger.rs index 3b7f79a8..203aebd6 100644 --- a/bizinikiwi/pezframe/staking-async/src/ledger.rs +++ b/bizinikiwi/pezframe/staking-async/src/ledger.rs @@ -67,7 +67,7 @@ pub struct UnlockChunk { /// /// TODO: move struct definition and full implementation into `/src/ledger.rs`. Currently /// leaving here to enforce a clean PR diff, given how critical this logic is. Tracking issue -/// . +/// . #[derive( PartialEqNoBound, EqNoBound, @@ -194,7 +194,7 @@ impl StakingLedger { // further spoil the ledger's state. A bond is in bad state when the bonded controller is // associated with a different ledger (i.e. a ledger with a different stash). // - // See for more details. + // See for more details. ensure!( Bonded::::get(&stash) == Some(controller) && ledger.stash == stash, Error::::BadState @@ -303,7 +303,7 @@ impl StakingLedger { if let Some(bonded_ledger) = Ledger::::get(&self.stash) { // there is a ledger bonded by the stash. In this case, the stash of the bonded ledger // should be the same as the ledger's stash. Otherwise fail to prevent data - // inconsistencies. See for more + // inconsistencies. See for more // details. ensure!(bonded_ledger.stash == self.stash, Error::::BadState); } diff --git a/bizinikiwi/pezframe/staking-async/src/pezpallet/impls.rs b/bizinikiwi/pezframe/staking-async/src/pezpallet/impls.rs index 46e862a7..367af5ef 100644 --- a/bizinikiwi/pezframe/staking-async/src/pezpallet/impls.rs +++ b/bizinikiwi/pezframe/staking-async/src/pezpallet/impls.rs @@ -1795,7 +1795,7 @@ impl Pezpallet { /// * A bonded (stash, controller) pair must have an associated ledger. /// /// NOTE: these checks result in warnings only. Once - /// is resolved, turn warns into check + /// is resolved, turn warns into check /// failures. fn check_bonded_consistency() -> Result<(), TryRuntimeError> { use alloc::collections::btree_set::BTreeSet; diff --git a/bizinikiwi/pezframe/staking/src/ledger.rs b/bizinikiwi/pezframe/staking/src/ledger.rs index 6c51207d..132232e2 100644 --- a/bizinikiwi/pezframe/staking/src/ledger.rs +++ b/bizinikiwi/pezframe/staking/src/ledger.rs @@ -132,7 +132,7 @@ impl StakingLedger { // further spoil the ledger's state. A bond is in bad state when the bonded controller is // associated with a different ledger (i.e. a ledger with a different stash). // - // See for more details. + // See for more details. ensure!( Bonded::::get(&stash) == Some(controller) && ledger.stash == stash, Error::::BadState @@ -241,7 +241,7 @@ impl StakingLedger { if let Some(bonded_ledger) = Ledger::::get(&self.stash) { // there is a ledger bonded by the stash. In this case, the stash of the bonded ledger // should be the same as the ledger's stash. Otherwise fail to prevent data - // inconsistencies. See for more + // inconsistencies. See for more // details. ensure!(bonded_ledger.stash == self.stash, Error::::BadState); } diff --git a/bizinikiwi/pezframe/staking/src/lib.rs b/bizinikiwi/pezframe/staking/src/lib.rs index e86516e7..20c151a2 100644 --- a/bizinikiwi/pezframe/staking/src/lib.rs +++ b/bizinikiwi/pezframe/staking/src/lib.rs @@ -495,7 +495,7 @@ pub struct UnlockChunk { /// /// TODO: move struct definition and full implementation into `/src/ledger.rs`. Currently /// leaving here to enforce a clean PR diff, given how critical this logic is. Tracking issue -/// . +/// . #[derive( PartialEqNoBound, EqNoBound, @@ -531,7 +531,7 @@ pub struct StakingLedger { /// for validators. /// /// This is deprecated as of V14 in favor of `T::ClaimedRewards` and will be removed in future. - /// Refer to issue + /// Refer to issue pub legacy_claimed_rewards: BoundedVec, /// The controller associated with this ledger's stash. @@ -1213,7 +1213,7 @@ impl EraInfo { /// non-paged rewards, and (2) `T::ClaimedRewards` for paged rewards. This function can be /// removed once `T::HistoryDepth` eras have passed and none of the older non-paged rewards /// are relevant/claimable. - // Refer tracker issue for cleanup: https://github.com/pezkuwichain/pezkuwi-sdk/issues/103 + // Refer tracker issue for cleanup: https://github.com/pezkuwichain/pezkuwi-sdk/issues/249 pub(crate) fn is_rewards_claimed_with_legacy_fallback( era: EraIndex, ledger: &StakingLedger, diff --git a/bizinikiwi/pezframe/staking/src/pezpallet/impls.rs b/bizinikiwi/pezframe/staking/src/pezpallet/impls.rs index b1b5dff7..e0e3d0cd 100644 --- a/bizinikiwi/pezframe/staking/src/pezpallet/impls.rs +++ b/bizinikiwi/pezframe/staking/src/pezpallet/impls.rs @@ -1527,7 +1527,7 @@ impl ElectionDataProvider for Pezpallet { let targets = Self::get_npos_targets(bounds); // We can't handle this case yet -- return an error. WIP to improve handling this case in - // . + // . if bounds.exhausted(None, CountBound(T::TargetList::count()).into()) { return Err("Target snapshot too big"); } @@ -2082,7 +2082,7 @@ impl StakingInterface for Pezpallet { fn is_exposed_in_era(who: &Self::AccountId, era: &EraIndex) -> bool { // look in the non paged exposures - // FIXME: Can be cleaned up once non paged exposures are cleared (https://github.com/pezkuwichain/pezkuwi-sdk/issues/103) + // FIXME: Can be cleaned up once non paged exposures are cleared (https://github.com/pezkuwichain/pezkuwi-sdk/issues/249) ErasStakers::::iter_prefix(era).any(|(validator, exposures)| { validator == *who || exposures.others.iter().any(|i| i.who == *who) }) @@ -2237,7 +2237,7 @@ impl Pezpallet { /// * A bonded (stash, controller) pair must have an associated ledger. /// /// NOTE: these checks result in warnings only. Once - /// is resolved, turn warns into check + /// is resolved, turn warns into check /// failures. fn check_bonded_consistency() -> Result<(), TryRuntimeError> { use alloc::collections::btree_set::BTreeSet; diff --git a/bizinikiwi/pezframe/staking/src/slashing.rs b/bizinikiwi/pezframe/staking/src/slashing.rs index 8ff18aca..3fc1b9fd 100644 --- a/bizinikiwi/pezframe/staking/src/slashing.rs +++ b/bizinikiwi/pezframe/staking/src/slashing.rs @@ -289,7 +289,7 @@ pub(crate) fn compute_slash( if target_span == Some(spans.span_index()) { // misbehavior occurred within the current slashing span - end current span. - // Check for details. + // Check for details. spans.end_span(params.now); } } @@ -321,7 +321,7 @@ fn kick_out_if_recent(params: SlashParams) { ); if spans.era_span(params.slash_era).map(|s| s.index) == Some(spans.span_index()) { - // Check https://github.com/pezkuwichain/pezkuwi-sdk/issues/124 for details + // Check https://github.com/pezkuwichain/pezkuwi-sdk/issues/269 for details spans.end_span(params.now); } } diff --git a/bizinikiwi/pezframe/state-trie-migration/src/lib.rs b/bizinikiwi/pezframe/state-trie-migration/src/lib.rs index adb43e85..8c50f050 100644 --- a/bizinikiwi/pezframe/state-trie-migration/src/lib.rs +++ b/bizinikiwi/pezframe/state-trie-migration/src/lib.rs @@ -530,7 +530,7 @@ pub mod pezpallet { /// keys which are then hashed and concatenated, resulting in arbitrarily long keys. /// /// Use the *state migration RPC* to retrieve the length of the longest key in your - /// storage: + /// storage: /// /// The migration will halt with a `Halted` event if this value is too small. /// Since there is no real penalty from over-estimating, it is advised to use a large @@ -542,7 +542,7 @@ pub mod pezpallet { /// - [`pezframe_support::storage::StorageDoubleMap`]: 96 byte /// /// For more info see - /// + /// #[pezpallet::constant] #[pezpallet::no_default] diff --git a/bizinikiwi/pezframe/support/procedural/src/construct_runtime/mod.rs b/bizinikiwi/pezframe/support/procedural/src/construct_runtime/mod.rs index c3b9a06d..08a9c636 100644 --- a/bizinikiwi/pezframe/support/procedural/src/construct_runtime/mod.rs +++ b/bizinikiwi/pezframe/support/procedural/src/construct_runtime/mod.rs @@ -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/pezkuwi-sdk/issues/51"]) + .help_links(&["https://github.com/pezkuwichain/pezkuwi-sdk/issues/218"]) .span(where_section.span) .build_or_panic(), ) diff --git a/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/call.rs b/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/call.rs index 09ff1b8d..02832d20 100644 --- a/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/call.rs +++ b/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/call.rs @@ -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/pezkuwi-sdk/issues/39", - "https://github.com/pezkuwichain/pezkuwi-sdk/issues/36" + "https://github.com/pezkuwichain/pezkuwi-sdk/issues/208", + "https://github.com/pezkuwichain/pezkuwi-sdk/issues/205" ]) .span(method.name.span()) .build_or_panic(); diff --git a/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/warnings.rs b/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/warnings.rs index 124be049..9ad72ec4 100644 --- a/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/warnings.rs +++ b/bizinikiwi/pezframe/support/procedural/src/pezpallet/expand/warnings.rs @@ -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/pezkuwi-sdk/issues/108"); + .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/254"); 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/pezkuwi-sdk/issues/48") + .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/215") .span(lit.span()) .build_or_panic(); diff --git a/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs b/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs index c15b2ef4..24dfb831 100644 --- a/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs +++ b/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs @@ -444,7 +444,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>> { }") - .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/125") + .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/270") .span(type_event.ident.span()) .build_or_panic(); diff --git a/bizinikiwi/pezframe/support/src/lib.rs b/bizinikiwi/pezframe/support/src/lib.rs index a9c1291a..a3424d1f 100644 --- a/bizinikiwi/pezframe/support/src/lib.rs +++ b/bizinikiwi/pezframe/support/src/lib.rs @@ -1926,7 +1926,7 @@ pub mod pezpallet_macros { /// /// ## Former Usage /// - /// Prior to , the following syntax was used. + /// Prior to , the following syntax was used. /// This is deprecated and will soon be removed. /// /// ``` diff --git a/bizinikiwi/pezframe/support/src/migrations.rs b/bizinikiwi/pezframe/support/src/migrations.rs index 096de020..b3a99553 100644 --- a/bizinikiwi/pezframe/support/src/migrations.rs +++ b/bizinikiwi/pezframe/support/src/migrations.rs @@ -311,7 +311,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 ). +/// (see ). pub struct RemovePallet, DbWeight: Get>( PhantomData<(P, DbWeight)>, ); @@ -418,7 +418,7 @@ impl, DbWeight: Get> /// 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 ). +/// (see ). pub struct RemoveStorage, S: Get<&'static str>, DbWeight: Get>( PhantomData<(P, S, DbWeight)>, ); diff --git a/bizinikiwi/pezframe/transaction-storage/src/lib.rs b/bizinikiwi/pezframe/transaction-storage/src/lib.rs index 885e712f..f75b4dfb 100644 --- a/bizinikiwi/pezframe/transaction-storage/src/lib.rs +++ b/bizinikiwi/pezframe/transaction-storage/src/lib.rs @@ -170,7 +170,7 @@ pub mod pezpallet { #[pezpallet::hooks] impl Hooks> for Pezpallet { fn on_initialize(n: BlockNumberFor) -> Weight { - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/160 - Replace this with benchmarked weights. + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/303 - Replace this with benchmarked weights. let mut weight = Weight::zero(); let db_weight = T::DbWeight::get(); diff --git a/bizinikiwi/pezframe/treasury/src/lib.rs b/bizinikiwi/pezframe/treasury/src/lib.rs index ae8d5918..cfe70d91 100644 --- a/bizinikiwi/pezframe/treasury/src/lib.rs +++ b/bizinikiwi/pezframe/treasury/src/lib.rs @@ -274,7 +274,7 @@ pub mod pezpallet { type SpendFunds: SpendFunds; /// DEPRECATED: associated with `spend_local` call and will be removed in May 2025. - /// Refer to for migration to `spend`. + /// Refer to for migration to `spend`. /// /// The maximum number of approvals that can wait in the spending queue. /// @@ -329,14 +329,14 @@ pub mod pezpallet { } /// DEPRECATED: associated with `spend_local` call and will be removed in May 2025. - /// Refer to for migration to `spend`. + /// Refer to for migration to `spend`. /// /// Number of proposals that have been made. #[pezpallet::storage] pub type ProposalCount = StorageValue<_, ProposalIndex, ValueQuery>; /// DEPRECATED: associated with `spend_local` call and will be removed in May 2025. - /// Refer to for migration to `spend`. + /// Refer to for migration to `spend`. /// /// Proposals that have been made. #[pezpallet::storage] @@ -354,7 +354,7 @@ pub mod pezpallet { StorageValue<_, BalanceOf, ValueQuery>; /// DEPRECATED: associated with `spend_local` call and will be removed in May 2025. - /// Refer to for migration to `spend`. + /// Refer to for migration to `spend`. /// /// Proposal indices that have been approved but not yet awarded. #[pezpallet::storage] diff --git a/bizinikiwi/primitives/blockchain/src/backend.rs b/bizinikiwi/primitives/blockchain/src/backend.rs index 4fdbda06..0efeeff8 100644 --- a/bizinikiwi/primitives/blockchain/src/backend.rs +++ b/bizinikiwi/primitives/blockchain/src/backend.rs @@ -181,7 +181,7 @@ pub trait Backend: /// 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/pezkuwi-sdk/issues/18) + // TODO: document time complexity of this, see [#1444](https://github.com/pezkuwichain/pezkuwi-sdk/issues/331) fn longest_containing( &self, base_hash: Block::Hash, diff --git a/bizinikiwi/primitives/core/src/offchain/storage.rs b/bizinikiwi/primitives/core/src/offchain/storage.rs index 0f8b40a1..fff1fcf6 100644 --- a/bizinikiwi/primitives/core/src/offchain/storage.rs +++ b/bizinikiwi/primitives/core/src/offchain/storage.rs @@ -96,7 +96,7 @@ fn unavailable_yet(name: &str) -> R { tracing::error!( target: LOG_TARGET, "The {:?} API is not available for offchain workers yet. Follow \ - https://github.com/pezkuwichain/pezkuwi-sdk/issues/19 for details", + https://github.com/pezkuwichain/pezkuwi-sdk/issues/332 for details", name ); Default::default() diff --git a/bizinikiwi/primitives/crypto/ec-utils/src/lib.rs b/bizinikiwi/primitives/crypto/ec-utils/src/lib.rs index 5ddc778d..27fd102c 100644 --- a/bizinikiwi/primitives/crypto/ec-utils/src/lib.rs +++ b/bizinikiwi/primitives/crypto/ec-utils/src/lib.rs @@ -21,7 +21,7 @@ //! The implementation has been primarily designed to be used in slow hosted //! targets (e.g. wasm32) and offloads the most computationally expensive //! operations to the host by leveraging the -//! [arkworks-extensions](https://github.com/pezkuwichain/arkworks-extensions) +//! [arkworks-extensions](https://github.com/paritytech/arkworks-extensions) //! library and Bizinikiwi's host functions. //! //! The exported types are organized and named in a way that mirrors the structure diff --git a/bizinikiwi/primitives/metadata-ir/src/types.rs b/bizinikiwi/primitives/metadata-ir/src/types.rs index 88ac1783..c51d5fa8 100644 --- a/bizinikiwi/primitives/metadata-ir/src/types.rs +++ b/bizinikiwi/primitives/metadata-ir/src/types.rs @@ -524,7 +524,7 @@ pub struct OuterEnumsIR { /// The type of the outer `RuntimeEvent` enum. pub event_enum_ty: T::Type, /// The module error type of the - /// [`DispatchError::Module`](https://docs.rs/sp-runtime/24.0.0/pezsp_runtime/enum.DispatchError.html#variant.Module) variant. + /// [`DispatchError::Module`](https://docs.rs/sp-runtime/24.0.0/sp_runtime/enum.DispatchError.html#variant.Module) variant. /// /// The `Module` variant will be 5 scale encoded bytes which are normally decoded into /// an `{ index: u8, error: [u8; 4] }` struct. This type ID points to an enum type which diff --git a/bizinikiwi/primitives/staking/src/lib.rs b/bizinikiwi/primitives/staking/src/lib.rs index 7a437d86..b04c63c0 100644 --- a/bizinikiwi/primitives/staking/src/lib.rs +++ b/bizinikiwi/primitives/staking/src/lib.rs @@ -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: . +/// the stash account. Tracking issue: . #[derive(Clone, Debug)] pub enum StakingAccount { Stash(AccountId), diff --git a/bizinikiwi/primitives/version/proc-macro/src/decl_runtime_version.rs b/bizinikiwi/primitives/version/proc-macro/src/decl_runtime_version.rs index 26f2ff61..b04d17e9 100644 --- a/bizinikiwi/primitives/version/proc-macro/src/decl_runtime_version.rs +++ b/bizinikiwi/primitives/version/proc-macro/src/decl_runtime_version.rs @@ -142,7 +142,7 @@ impl ParseRuntimeVersion { let warning = Warning::new_deprecated("RuntimeVersion") .old("state_version") .new("system_version)") - .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/118") + .help_link("https://github.com/pezkuwichain/pezkuwi-sdk/issues/263") .span(field_name.span()) .build_or_panic(); warnings.push(warning); diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/genesis_state.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/genesis_state.rs index 37a2fb64..460aad18 100644 --- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/genesis_state.rs +++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/genesis_state.rs @@ -27,7 +27,7 @@ use std::{borrow::Cow, path::PathBuf}; const ERROR_CANNOT_BUILD_GENESIS: &str = "The runtime returned \ an error when trying to build the genesis storage. Please ensure that all pallets \ define a genesis config that can be built. This can be tested with: \ -https://github.com/pezkuwichain/pezkuwi-sdk/issues/115"; +https://github.com/pezkuwichain/pezkuwi-sdk/issues/260"; /// Warn when using the chain spec to generate the genesis state. pub const WARN_SPEC_GENESIS_CTOR: &'static str = "Using the chain spec instead of the runtime to \ diff --git a/bizinikiwi/utils/pezframe/remote-externalities/src/lib.rs b/bizinikiwi/utils/pezframe/remote-externalities/src/lib.rs index d82c9424..e0d5d5e6 100644 --- a/bizinikiwi/utils/pezframe/remote-externalities/src/lib.rs +++ b/bizinikiwi/utils/pezframe/remote-externalities/src/lib.rs @@ -485,7 +485,7 @@ where loop { // This loop can hit the node with very rapid requests, occasionally causing it to - // error out in CI (https://github.com/pezkuwichain/pezkuwi-sdk/issues/14), so we retry. + // error out in CI (https://github.com/pezkuwichain/pezkuwi-sdk/issues/327), so we retry. let retry_strategy = FixedInterval::new(Self::KEYS_PAGE_RETRY_INTERVAL).take(Self::MAX_RETRIES); let get_page_closure = diff --git a/bizinikiwi/utils/wasm-builder/src/prerequisites.rs b/bizinikiwi/utils/wasm-builder/src/prerequisites.rs index 86f1df41..9b637e75 100644 --- a/bizinikiwi/utils/wasm-builder/src/prerequisites.rs +++ b/bizinikiwi/utils/wasm-builder/src/prerequisites.rs @@ -64,7 +64,7 @@ pub(crate) fn check(target: RuntimeTarget) -> Result The Pezkuwi Blockchain Academy's Rust entrance exam has a -//! > [section](https://github.com/pezkuwichain/pezkuwi_blockchain-academy/blob/main/src/m_builder.rs) +//! > [section](https://github.com/pezkuwichain/kurdistan_blockchain-akademy/blob/main/src/m_builder.rs) //! > on this that you can use to learn the Builder Pattern. //! //! Let's see how we can implement a better test setup using this pattern. First, we define a diff --git a/docs/sdk/src/meta_contributing.rs b/docs/sdk/src/meta_contributing.rs index 66c6fb3a..8fe7dded 100644 --- a/docs/sdk/src/meta_contributing.rs +++ b/docs/sdk/src/meta_contributing.rs @@ -29,7 +29,7 @@ //! > To achieve this, we often use [`docify`](https://github.com/sam0x17/docify), a nifty invention //! > of `@sam0x17`. //! -//! Also see: . +//! Also see: . //! //! ## Scope //! @@ -132,7 +132,7 @@ //! So long as not deployed in `crates.io`, please notice that all of the information in this crate, //! namely in [`crate::guides`] and such are compatible with the master branch of `pezkuwi-sdk`. A //! few solutions have been proposed to improve this, please see -//! [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/146). +//! [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/289). //! //! ## How to Develop Locally //! diff --git a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs index dc77f1b3..d18d0561 100644 --- a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs +++ b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs @@ -89,7 +89,7 @@ //! build their WASM files as a part of normal build command (e.g. `cargo build`). Once built, the //! wasm file is placed in `./target/{debug|release}/wbuild/{runtime_name}/{runtime_name}.wasm`. //! -//! In order to ensure that the WASM build is **deterministic**, the [Bizinikiwi Runtime Toolbox (srtool)](https://github.com/pezkuwichain/srtool) can be used. +//! In order to ensure that the WASM build is **deterministic**, the [Bizinikiwi Runtime Toolbox (srtool)](https://github.com/paritytech/srtool) can be used. //! //! ### Anatomy of a Binary Crate //! @@ -108,7 +108,7 @@ //! //! > The above two are conventions, not rules. //! -//! > See for an update on how the node side +//! > See for an update on how the node side //! > components are being amalgamated. //! //! ## Teyrchain? @@ -130,7 +130,7 @@ //! - [`pezsc_consensus_aura`] //! - [`pezsc_consensus_babe`] //! - [`pezsc_consensus_grandpa`] -//! - [`pezsc_consensus_beefy`] (TODO: @adrian, add some high level docs ) +//! - [`pezsc_consensus_beefy`] (TODO: @adrian, add some high level docs ) //! - [`pezsc_consensus_manual_seal`] //! - [`pezsc_consensus_pow`] diff --git a/docs/sdk/src/pezkuwi_sdk/mod.rs b/docs/sdk/src/pezkuwi_sdk/mod.rs index 845df74c..183d646a 100644 --- a/docs/sdk/src/pezkuwi_sdk/mod.rs +++ b/docs/sdk/src/pezkuwi_sdk/mod.rs @@ -41,7 +41,7 @@ //! //! [![Bizinikiwi-license](https://img.shields.io/badge/License-Apache2.0-blue)](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/bizinikiwi/LICENSE-APACHE2) //! [![GitHub -//! Repo](https://img.shields.io/badge/github-frame-2324CC85)](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/bizinikiwi/frame) +//! Repo](https://img.shields.io/badge/github-frame-2324CC85)](https://github.com/pezkuwichain/pezkuwi-sdk/blob/master/bizinikiwi/pezframe) //! //! [`frame`] is the framework used to create Bizinikiwi-based application logic, aka. runtimes. //! Learn more about the distinction of a runtime and node in @@ -118,8 +118,8 @@ //! //! - [`parity-scale-codec`](https://github.com/pezkuwichain/parity-scale-codec) //! - [`parity-db`](https://github.com/pezkuwichain/parity-db) -//! - [`trie`](https://github.com/pezkuwichain/trie) -//! - [`parity-common`](https://github.com/pezkuwichain/parity-common) +//! - [`trie`](https://github.com/paritytech/trie) +//! - [`parity-common`](https://github.com/paritytech/parity-common) //! //! ## Trophy Section: Notable Downstream Projects //! diff --git a/docs/sdk/src/pezkuwi_sdk/smart_contracts.rs b/docs/sdk/src/pezkuwi_sdk/smart_contracts.rs index 3034bea3..d03a7289 100644 --- a/docs/sdk/src/pezkuwi_sdk/smart_contracts.rs +++ b/docs/sdk/src/pezkuwi_sdk/smart_contracts.rs @@ -1,6 +1,6 @@ //! # Smart Contracts //! -//! TODO: @cmichi +//! TODO: @cmichi //! //! - WASM and EVM based, pezpallet-contracts and pezpallet-evm. //! - single-daap-chain, transition from ink! to FRAME. diff --git a/docs/sdk/src/pezkuwi_sdk/templates.rs b/docs/sdk/src/pezkuwi_sdk/templates.rs index 3013b61c..07a54d19 100644 --- a/docs/sdk/src/pezkuwi_sdk/templates.rs +++ b/docs/sdk/src/pezkuwi_sdk/templates.rs @@ -9,10 +9,10 @@ //! //! The following templates are maintained as a part of the `pezkuwi-sdk` repository: //! -//! - [`minimal-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/25): A minimal +//! - [`minimal-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/195): A minimal //! template that contains the least amount of features to be a functioning blockchain. Suitable //! for learning and testing. -//! - [`solochain-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/25): Formerly known +//! - [`solochain-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/195): Formerly known //! as "bizinikiwi-node-template", is a white-labeled bizinikiwi-based blockchain (aka. solochain) //! that contains moderate features, such as a basic consensus engine and some FRAME pallets. This //! template can act as a good starting point for those who want to launch a solochain. diff --git a/docs/sdk/src/pezkuwi_sdk/xcm.rs b/docs/sdk/src/pezkuwi_sdk/xcm.rs index 20e3ec75..780de7b9 100644 --- a/docs/sdk/src/pezkuwi_sdk/xcm.rs +++ b/docs/sdk/src/pezkuwi_sdk/xcm.rs @@ -5,7 +5,7 @@ //! //! ## Overview //! -//! XCM is a standard, specification of which lives in the [xcm format repo](https://github.com/pezkuwichain/xcm-format). +//! XCM is a standard, specification of which lives in the [xcm format repo](https://github.com/polkadot-fellows/xcm-format). //! It's agnostic both in programming language and blockchain platform, which means it could be used //! in Rust in Pezkuwi, or in Go or C++ in any other platform like Cosmos or Ethereum. //! diff --git a/docs/sdk/src/reference_docs/cli.rs b/docs/sdk/src/reference_docs/cli.rs index a7ffa9a8..bd7e01e9 100644 --- a/docs/sdk/src/reference_docs/cli.rs +++ b/docs/sdk/src/reference_docs/cli.rs @@ -1,7 +1,7 @@ //! # Bizinikiwi CLI //! //! Let's see some examples of typical CLI arguments used when setting up and running a -//! Bizinikiwi-based blockchain. We use the [`solochain-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/25) +//! Bizinikiwi-based blockchain. We use the [`solochain-template`](https://github.com/pezkuwichain/pezkuwi-sdk/issues/195) //! on these examples. //! //! #### Checking the available CLI arguments diff --git a/docs/sdk/src/reference_docs/custom_runtime_api_rpc.rs b/docs/sdk/src/reference_docs/custom_runtime_api_rpc.rs index 3b24f84a..d30a25f9 100644 --- a/docs/sdk/src/reference_docs/custom_runtime_api_rpc.rs +++ b/docs/sdk/src/reference_docs/custom_runtime_api_rpc.rs @@ -6,7 +6,7 @@ //! ## Background //! //! Pezkuwi-SDK offers the ability to query and subscribe storages directly. However what it does -//! not have is [view functions](https://github.com/pezkuwichain/pezkuwi-sdk/issues/101). This is an +//! not have is [view functions](https://github.com/pezkuwichain/pezkuwi-sdk/issues/247). This is an //! essential feature to avoid duplicated logic between runtime and the client SDK. Custom RPC was //! used as a solution. It allow the RPC node to expose new RPCs that clients can be used to query //! computed properties. diff --git a/docs/sdk/src/reference_docs/frame_logging.rs b/docs/sdk/src/reference_docs/frame_logging.rs index 93eee1f4..c89dfaf3 100644 --- a/docs/sdk/src/reference_docs/frame_logging.rs +++ b/docs/sdk/src/reference_docs/frame_logging.rs @@ -151,5 +151,5 @@ //! } //! ``` //! -//! Please read [this issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/155) for one +//! Please read [this issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/298) for one //! instance of the consensus issues caused by this mistake. diff --git a/docs/sdk/src/reference_docs/frame_offchain_workers.rs b/docs/sdk/src/reference_docs/frame_offchain_workers.rs index 9fc3234e..e4fe9f60 100644 --- a/docs/sdk/src/reference_docs/frame_offchain_workers.rs +++ b/docs/sdk/src/reference_docs/frame_offchain_workers.rs @@ -84,7 +84,7 @@ //! //! Consider the fact that in principle, an offchain worker code written using the above API is no //! different than an equivalent written with an _actual offchain interaction library_, such as -//! [Pezkuwi-JS](https://polkadot.js.org/docs/), or any of the other ones listed [here](https://github.com/bizinikiwi-developer-hub/awesome-bizinikiwi?tab=readme-ov-file#client-libraries). +//! [Pezkuwi-JS](https://polkadot.js.org/docs/), or any of the other ones listed [here](https://github.com/substrate-developer-hub/awesome-substrate?tab=readme-ov-file#client-libraries). //! //! They can both read from the state, and have no means of updating the state, other than the route //! of submitting an extrinsic to the chain. Therefore, it is worth thinking twice before embedding diff --git a/docs/sdk/src/reference_docs/frame_runtime_types.rs b/docs/sdk/src/reference_docs/frame_runtime_types.rs index 2c317c89..f9af37bc 100644 --- a/docs/sdk/src/reference_docs/frame_runtime_types.rs +++ b/docs/sdk/src/reference_docs/frame_runtime_types.rs @@ -5,7 +5,7 @@ //! //! > As of now, many of these important types are generated within the internals of //! > [`construct_runtime`], and there is no easy way for you to visually know they exist. -//! > [#pezkuwi-sdk#1378](https://github.com/pezkuwichain/pezkuwi-sdk/issues/105) is meant to +//! > [#pezkuwi-sdk#1378](https://github.com/pezkuwichain/pezkuwi-sdk/issues/251) is meant to //! > significantly improve this. Exploring the rust-docs of a runtime, such as [`runtime`] which is //! > defined in this module is as of now the best way to learn about these types. //! @@ -104,7 +104,7 @@ #![doc = docify::embed!("./src/reference_docs/frame_runtime_types.rs", custom_runtime_call_usages)] //! //! > Once Rust's "_Associated Type Bounds RFC_" is usable, this syntax can be used to -//! > simplify the above scenario. See [this](https://github.com/pezkuwichain/pezkuwi-sdk/issues/133) +//! > simplify the above scenario. See [this](https://github.com/pezkuwichain/pezkuwi-sdk/issues/278) //! > issue for more information. //! //! ### Asserting Equality of Multiple Runtime Composite Enums diff --git a/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs b/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs index eb6f20d4..8fef97dd 100644 --- a/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs +++ b/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs @@ -87,8 +87,8 @@ //! - Touching too many storage keys and resulting in an excessively large PoV. //! - Taking too long to execute. //! -//! [`try-runtime-cli`](https://github.com/pezkuwichain/try-runtime-cli) has a sub-command -//! [`on-runtime-upgrade`](https://pezkuwichain.github.io/try-runtime-cli/try_runtime_core/commands/enum.Action.html#variant.OnRuntimeUpgrade) +//! [`try-runtime-cli`](https://github.com/paritytech/try-runtime-cli) has a sub-command +//! [`on-runtime-upgrade`](https://paritytech.github.io/try-runtime-cli/try_runtime_core/commands/enum.Action.html#variant.OnRuntimeUpgrade) //! which is designed to help with exactly this. //! //! Developers MUST run this command before deploying migrations to ensure they will not @@ -100,7 +100,7 @@ //! //! ### Note on the Manipulability of PoV Size and Execution Time //! -//! While [`try-runtime-cli`](https://github.com/pezkuwichain/try-runtime-cli) can help ensure with +//! While [`try-runtime-cli`](https://github.com/paritytech/try-runtime-cli) can help ensure with //! very high certainty that a migration will succeed given **existing** on-chain state, it cannot //! prevent a malicious actor from manipulating state in a way that will cause the migration to take //! longer or produce a PoV much larger than previously measured. diff --git a/docs/sdk/src/reference_docs/frame_tokens.rs b/docs/sdk/src/reference_docs/frame_tokens.rs index 49a52ffa..309a9e74 100644 --- a/docs/sdk/src/reference_docs/frame_tokens.rs +++ b/docs/sdk/src/reference_docs/frame_tokens.rs @@ -100,7 +100,7 @@ //! //! You may notice the trait [`Currency`](`pezframe_support::traits::Currency`) with similar //! functionality is also used in the codebase, however this trait is deprecated and existing logic -//! is in the process of being migrated to [`fungible`](`pezframe_support::traits::fungible`) ([tracking issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/102)). +//! is in the process of being migrated to [`fungible`](`pezframe_support::traits::fungible`) ([tracking issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/248)). //! //! ## Fungible Token Trait Implementations in FRAME //! diff --git a/docs/sdk/src/reference_docs/omni_node.rs b/docs/sdk/src/reference_docs/omni_node.rs index dd99883f..1bc2bb1a 100644 --- a/docs/sdk/src/reference_docs/omni_node.rs +++ b/docs/sdk/src/reference_docs/omni_node.rs @@ -30,7 +30,7 @@ //! //! > The notorious `service.rs` in any node template is a good example of this. //! -//! A [trend](https://github.com/pezkuwichain/pezkuwi-sdk/issues/97) has already been undergoing in +//! A [trend](https://github.com/pezkuwichain/pezkuwi-sdk/issues/243) has already been undergoing in //! order to de-couple the node and the runtime for a long time. The north star of this effort is //! twofold : //! @@ -174,7 +174,7 @@ //! [`pezsc_consensus_manual_seal`] under the hood, and has no restrictions on the runtime's //! consensus. //! -//! [This](https://github.com/pezkuwichain/pezkuwi-sdk/issues/143) future improvement to OmniNode +//! [This](https://github.com/pezkuwichain/pezkuwi-sdk/issues/286) future improvement to OmniNode //! aims to make such checks automatic. //! //! ### Runtime conventions @@ -196,6 +196,6 @@ //! [`--dev-block-time`]: pezkuwi_omni_node_lib::cli::Cli::dev_block_time //! [`pezkuwi-omni-node`]: https://crates.io/crates/polkadot-omni-node //! [`chain-spec-builder`]: https://crates.io/crates/pezstaging-chain-spec-builder -//! [`pezcumulus-pezpallet-teyrchain-system`]: https://docs.rs/pezcumulus-pezpallet-parachain-system/latest/pezcumulus_pezpallet_parachain_system/ -//! [`pezframe-system`]: https://docs.rs/pezframe-system/latest/pezframe_system/ -//! [`block number`]: https://docs.rs/pezframe-system/latest/pezframe_system/pezpallet/storage_types/struct.Number.html +//! [`pezcumulus-pezpallet-teyrchain-system`]: https://docs.rs/cumulus-pallet-parachain-system/latest/cumulus_pallet_parachain_system/ +//! [`pezframe-system`]: https://docs.rs/frame-system/latest/frame_system/ +//! [`block number`]: https://docs.rs/frame-system/latest/frame_system/pallet/storage_types/struct.Number.html diff --git a/docs/sdk/src/reference_docs/trait_based_programming.rs b/docs/sdk/src/reference_docs/trait_based_programming.rs index 61d93f91..25231583 100644 --- a/docs/sdk/src/reference_docs/trait_based_programming.rs +++ b/docs/sdk/src/reference_docs/trait_based_programming.rs @@ -108,7 +108,7 @@ //! //! ## Additional Resources //! -//! - +//! - //! - [Bizinikiwi Seminar - Traits and Generic Types](https://www.youtube.com/watch?v=6cp10jVWNl4) //! - #![allow(unused)] diff --git a/docs/sdk/src/reference_docs/wasm_meta_protocol.rs b/docs/sdk/src/reference_docs/wasm_meta_protocol.rs index 0a268047..db63ea20 100644 --- a/docs/sdk/src/reference_docs/wasm_meta_protocol.rs +++ b/docs/sdk/src/reference_docs/wasm_meta_protocol.rs @@ -115,7 +115,7 @@ //! infrastructure of native code. However, neither of the two arguments strongly hold and the //! native runtime is being fully removed from the node-sdk. //! -//! See: +//! See: //! //! > Also, note that the flags [`pezsc_cli::ExecutionStrategy::Native`] is already a noop and all //! > chains built with Bizinikiwi only use WASM execution. diff --git a/pezbridges/modules/messages/src/lib.rs b/pezbridges/modules/messages/src/lib.rs index dcb4f107..4cbabf8c 100644 --- a/pezbridges/modules/messages/src/lib.rs +++ b/pezbridges/modules/messages/src/lib.rs @@ -516,7 +516,7 @@ pub mod pezpallet { pub type PalletOperatingMode, I: 'static = ()> = StorageValue<_, MessagesOperatingMode, ValueQuery>; - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/89: let's limit number of + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/236: let's limit number of // possible opened lanes && use it to constraint maps below /// Map of lane id => inbound lane data. diff --git a/pezbridges/modules/relayers/src/mock.rs b/pezbridges/modules/relayers/src/mock.rs index ed460988..c89fdb5b 100644 --- a/pezbridges/modules/relayers/src/mock.rs +++ b/pezbridges/modules/relayers/src/mock.rs @@ -202,7 +202,7 @@ parameter_types! { #[derive_impl(pezframe_system::config_preludes::TestDefaultConfig)] impl pezframe_system::Config for TestRuntime { type Block = ThisChainBlock; - // TODO: remove when https://github.com/pezkuwichain/pezkuwi-sdk/issues/120 merged + // TODO: remove when https://github.com/pezkuwichain/pezkuwi-sdk/issues/265 merged type BlockHashCount = ConstU32<10>; type AccountData = pezpallet_balances::AccountData; type DbWeight = DbWeight; diff --git a/pezbridges/modules/xcm-bridge-hub/src/exporter.rs b/pezbridges/modules/xcm-bridge-hub/src/exporter.rs index 7f73e8d1..2854bf81 100644 --- a/pezbridges/modules/xcm-bridge-hub/src/exporter.rs +++ b/pezbridges/modules/xcm-bridge-hub/src/exporter.rs @@ -225,7 +225,7 @@ impl, I: 'static> Pezpallet { return; } - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/83 we either need fishermens + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/231 we either need fishermens // to watch this rule violation (suspended, but keep sending new messages), or we need a // hard limit for that like other XCM queues have diff --git a/pezbridges/modules/xcm-bridge-hub/src/lib.rs b/pezbridges/modules/xcm-bridge-hub/src/lib.rs index 93d2c880..02447a0c 100644 --- a/pezbridges/modules/xcm-bridge-hub/src/lib.rs +++ b/pezbridges/modules/xcm-bridge-hub/src/lib.rs @@ -200,7 +200,7 @@ pub mod pezpallet { /// Runtime's universal location. type UniversalLocation: Get; - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/80 remove `ChainId` and + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/228 remove `ChainId` and // replace it with the `NetworkId` - then we'll be able to use // `T as pezpallet_bridge_messages::Config::BridgedChain::NetworkId` /// Bridged network as relative location of bridged `GlobalConsensus`. @@ -295,7 +295,7 @@ pub mod pezpallet { /// The states after this call: bridge is `Opened`, outbound lane is `Opened`, inbound lane /// is `Opened`. #[pezpallet::call_index(0)] - #[pezpallet::weight(Weight::zero())] // TODO:(bridges-v2) - https://github.com/pezkuwichain/pezkuwi-sdk/issues/87 - add benchmarks impl + #[pezpallet::weight(Weight::zero())] // TODO:(bridges-v2) - https://github.com/pezkuwichain/pezkuwi-sdk/issues/234 - add benchmarks impl pub fn open_bridge( origin: OriginFor, bridge_destination_universal_location: Box, @@ -333,7 +333,7 @@ pub mod pezpallet { /// The states after this call: everything is either `Closed`, or purged from the /// runtime storage. #[pezpallet::call_index(1)] - #[pezpallet::weight(Weight::zero())] // TODO:(bridges-v2) - https://github.com/pezkuwichain/pezkuwi-sdk/issues/87 - add benchmarks impl + #[pezpallet::weight(Weight::zero())] // TODO:(bridges-v2) - https://github.com/pezkuwichain/pezkuwi-sdk/issues/234 - add benchmarks impl pub fn close_bridge( origin: OriginFor, bridge_destination_universal_location: Box, @@ -343,7 +343,7 @@ pub mod pezpallet { let locations = Self::bridge_locations_from_origin(origin, bridge_destination_universal_location)?; - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/81 - may do refund here, if + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/229 - may do refund here, if // bridge/lanes are already closed + for messages that are not pruned // update bridge metadata - this also guarantees that the bridge is in the proper state diff --git a/pezbridges/primitives/runtime/src/chain.rs b/pezbridges/primitives/runtime/src/chain.rs index b330d344..c11e8fd5 100644 --- a/pezbridges/primitives/runtime/src/chain.rs +++ b/pezbridges/primitives/runtime/src/chain.rs @@ -108,7 +108,7 @@ pub trait Chain: Send + Sync + 'static { /// A type that fulfills the abstract idea of what a Bizinikiwi block number is. // Constraints come from the associated Number type of `pezsp_runtime::traits::Header` // See here for more info: - // https://docs.rs/sp-runtime/latest/pezsp_runtime/traits/trait.Header.html#associatedtype.Number + // https://docs.rs/sp-runtime/latest/sp_runtime/traits/trait.Header.html#associatedtype.Number // // Note that the `AsPrimitive` trait is required by the GRANDPA justification // verifier, and is not usually part of a Bizinikiwi Header's Number type. @@ -129,7 +129,7 @@ pub trait Chain: Send + Sync + 'static { /// A type that fulfills the abstract idea of what a Bizinikiwi hash is. // Constraints come from the associated Hash type of `pezsp_runtime::traits::Header` // See here for more info: - // https://docs.rs/sp-runtime/latest/pezsp_runtime/traits/trait.Header.html#associatedtype.Hash + // https://docs.rs/sp-runtime/latest/sp_runtime/traits/trait.Header.html#associatedtype.Hash type Hash: Parameter + Member + MaybeSerializeDeserialize @@ -147,12 +147,12 @@ pub trait Chain: Send + Sync + 'static { /// that produces hashes) is. // Constraints come from the associated Hashing type of `pezsp_runtime::traits::Header` // See here for more info: - // https://docs.rs/sp-runtime/latest/pezsp_runtime/traits/trait.Header.html#associatedtype.Hashing + // https://docs.rs/sp-runtime/latest/sp_runtime/traits/trait.Header.html#associatedtype.Hashing type Hasher: HashT; /// A type that fulfills the abstract idea of what a Bizinikiwi header is. // See here for more info: - // https://docs.rs/sp-runtime/latest/pezsp_runtime/traits/trait.Header.html + // https://docs.rs/sp-runtime/latest/sp_runtime/traits/trait.Header.html type Header: Parameter + HeaderT + HeaderIdProvider diff --git a/pezbridges/relays/client-bizinikiwi/src/transaction_tracker.rs b/pezbridges/relays/client-bizinikiwi/src/transaction_tracker.rs index 1993d177..94f73844 100644 --- a/pezbridges/relays/client-bizinikiwi/src/transaction_tracker.rs +++ b/pezbridges/relays/client-bizinikiwi/src/transaction_tracker.rs @@ -31,7 +31,7 @@ pub trait Environment: Send + Sync { async fn header_id_by_hash(&self, hash: HashOf) -> Result, Error>; } -// TODO (https://github.com/pezkuwichain/pezkuwi-sdk/issues/84): remove `Environment` trait +// TODO (https://github.com/pezkuwichain/pezkuwi-sdk/issues/232): remove `Environment` trait // after test client is implemented #[async_trait] impl> Environment for T { @@ -78,7 +78,7 @@ impl> TransactionTracker { Self { environment, stall_timeout, transaction_hash, subscription } } - // TODO (https://github.com/pezkuwichain/pezkuwi-sdk/issues/84): remove me after + // TODO (https://github.com/pezkuwichain/pezkuwi-sdk/issues/232): remove me after // test client is implemented /// Converts self into tracker with different environment. pub fn switch_environment>( diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs b/pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs index 65a72fa2..c0a2edaf 100644 --- a/pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs +++ b/pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs @@ -73,7 +73,7 @@ pub enum Destination { AccountId32 { id: [u8; 32] }, /// The funds will deposited into the sovereign account of destination teyrchain `para_id` on /// AssetHub, Account `id` on the destination teyrchain will receive the funds via a - /// reserve-backed transfer. See + /// reserve-backed transfer. See ForeignAccountId32 { para_id: u32, id: [u8; 32], @@ -82,7 +82,7 @@ pub enum Destination { }, /// The funds will deposited into the sovereign account of destination teyrchain `para_id` on /// AssetHub, Account `id` on the destination teyrchain will receive the funds via a - /// reserve-backed transfer. See + /// reserve-backed transfer. See ForeignAccountId20 { para_id: u32, id: [u8; 20], diff --git a/pezcumulus/client/cli/src/lib.rs b/pezcumulus/client/cli/src/lib.rs index 0ad6faa6..eb72e7d8 100644 --- a/pezcumulus/client/cli/src/lib.rs +++ b/pezcumulus/client/cli/src/lib.rs @@ -307,7 +307,7 @@ pub struct RunCmd { /// building blocks that do not fit in the max_pov_size. It is a percentage of the max_pov_size /// configuration of the relay-chain. /// - /// It will be removed once is fixed. + /// It will be removed once is fixed. #[arg(long)] pub experimental_max_pov_percentage: Option, diff --git a/pezcumulus/client/consensus/aura/src/collators/basic.rs b/pezcumulus/client/consensus/aura/src/collators/basic.rs index 8968f275..b1a454fd 100644 --- a/pezcumulus/client/consensus/aura/src/collators/basic.rs +++ b/pezcumulus/client/consensus/aura/src/collators/basic.rs @@ -224,7 +224,7 @@ where // produce multiple blocks per slot which very likely would fail on chain. Thus, we have // this "hack" to only produce one block per slot per relay chain fork. // - // With https://github.com/pezkuwichain/pezkuwi-sdk/issues/127 this implementation will be + // With https://github.com/pezkuwichain/pezkuwi-sdk/issues/272 this implementation will be // obsolete and also the underlying issue will be fixed. if last_processed_slot >= *claim.slot() && last_relay_chain_block < *relay_parent_header.number() diff --git a/pezcumulus/client/consensus/aura/src/collators/lookahead.rs b/pezcumulus/client/consensus/aura/src/collators/lookahead.rs index 50899deb..bfca580d 100644 --- a/pezcumulus/client/consensus/aura/src/collators/lookahead.rs +++ b/pezcumulus/client/consensus/aura/src/collators/lookahead.rs @@ -102,7 +102,7 @@ pub struct Params { /// Whether we should reinitialize the collator config (i.e. we are transitioning to aura). pub reinitialize: bool, /// The maximum percentage of the maximum PoV size that the collator can use. - /// It will be removed once is fixed. + /// It will be removed once is fixed. pub max_pov_percentage: Option, } @@ -429,7 +429,7 @@ where } else { // Set the block limit to 85% of the maximum PoV size. // - // Once https://github.com/pezkuwichain/pezkuwi-sdk/issues/23 issue is + // Once https://github.com/pezkuwichain/pezkuwi-sdk/issues/193 issue is // fixed, the reservation should be removed. validation_data.max_pov_size * 85 / 100 } as usize; diff --git a/pezcumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs b/pezcumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs index 13cc3eef..80ec0c8b 100644 --- a/pezcumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs +++ b/pezcumulus/client/consensus/aura/src/collators/slot_based/block_builder_task.rs @@ -108,7 +108,7 @@ pub struct BuilderTaskParams< /// wait for relay chain notifications because we woke up too early). pub slot_offset: Duration, /// The maximum percentage of the maximum PoV size that the collator can use. - /// It will be removed once https://github.com/pezkuwichain/pezkuwi-sdk/issues/23 is fixed. + /// It will be removed once https://github.com/pezkuwichain/pezkuwi-sdk/issues/193 is fixed. pub max_pov_percentage: Option, } @@ -399,7 +399,7 @@ where } else { // Set the block limit to 85% of the maximum PoV size. // - // Once https://github.com/pezkuwichain/pezkuwi-sdk/issues/23 issue is + // Once https://github.com/pezkuwichain/pezkuwi-sdk/issues/193 issue is // fixed, this should be removed. validation_data.max_pov_size * 85 / 100 } as usize; diff --git a/pezcumulus/client/consensus/aura/src/collators/slot_based/mod.rs b/pezcumulus/client/consensus/aura/src/collators/slot_based/mod.rs index 45e82ebb..b0f729cc 100644 --- a/pezcumulus/client/consensus/aura/src/collators/slot_based/mod.rs +++ b/pezcumulus/client/consensus/aura/src/collators/slot_based/mod.rs @@ -147,7 +147,7 @@ pub struct Params, /// The maximum percentage of the maximum PoV size that the collator can use. - /// It will be removed once is fixed. + /// It will be removed once is fixed. pub max_pov_percentage: Option, } diff --git a/pezcumulus/client/consensus/aura/src/equivocation_import_queue.rs b/pezcumulus/client/consensus/aura/src/equivocation_import_queue.rs index 5169229a..58b207aa 100644 --- a/pezcumulus/client/consensus/aura/src/equivocation_import_queue.rs +++ b/pezcumulus/client/consensus/aura/src/equivocation_import_queue.rs @@ -264,7 +264,7 @@ fn slot_now(slot_duration: SlotDuration) -> Slot { /// The others are generated explicitly internally. /// /// This should only be used for runtimes where the runtime does not check all inherents and -/// seals in `execute_block` (see ) +/// seals in `execute_block` (see ) pub fn fully_verifying_import_queue( client: Arc, block_import: I, diff --git a/pezcumulus/client/consensus/common/src/import_queue.rs b/pezcumulus/client/consensus/common/src/import_queue.rs index 1941131e..611eab76 100644 --- a/pezcumulus/client/consensus/common/src/import_queue.rs +++ b/pezcumulus/client/consensus/common/src/import_queue.rs @@ -31,7 +31,7 @@ //! At the time of writing, the inherent and consensus checks in most Pezcumulus runtimes //! are only performed during teyrchain validation, not full node block execution. //! -//! See for details. +//! See for details. use pezsp_consensus::error::Error as ConsensusError; use pezsp_runtime::traits::Block as BlockT; diff --git a/pezcumulus/client/consensus/common/src/teyrchain_consensus.rs b/pezcumulus/client/consensus/common/src/teyrchain_consensus.rs index a1c3f935..5e249e06 100644 --- a/pezcumulus/client/consensus/common/src/teyrchain_consensus.rs +++ b/pezcumulus/client/consensus/common/src/teyrchain_consensus.rs @@ -375,7 +375,7 @@ async fn handle_new_block_imported( { // HACK // - // Remove after https://github.com/pezkuwichain/pezkuwi-sdk/issues/76 or similar is merged + // Remove after https://github.com/pezkuwichain/pezkuwi-sdk/issues/224 or similar is merged if notification.origin != BlockOrigin::Own { announce_block(notification.hash, None); } diff --git a/pezcumulus/pezkuwi-omni-node/lib/src/cli.rs b/pezcumulus/pezkuwi-omni-node/lib/src/cli.rs index 5d0b938f..bc8d5964 100644 --- a/pezcumulus/pezkuwi-omni-node/lib/src/cli.rs +++ b/pezcumulus/pezkuwi-omni-node/lib/src/cli.rs @@ -119,8 +119,8 @@ pub enum Subcommand { /// from a single binary, which can be used as a teyrchain node tool /// For a detailed usage guide please check out the standalone tool's crates.io or docs.rs /// pages: - /// - - /// - + /// - + /// - ChainSpecBuilder(ChainSpecBuilder), /// Remove the whole chain. diff --git a/pezcumulus/pezkuwi-omni-node/lib/src/common/mod.rs b/pezcumulus/pezkuwi-omni-node/lib/src/common/mod.rs index 4fd23614..869b1f0d 100644 --- a/pezcumulus/pezkuwi-omni-node/lib/src/common/mod.rs +++ b/pezcumulus/pezkuwi-omni-node/lib/src/common/mod.rs @@ -121,7 +121,7 @@ pub struct NodeExtraArgs { pub export_pov: Option, /// The maximum percentage of the maximum PoV size that the collator can use. - /// It will be removed once is fixed. + /// It will be removed once is fixed. pub max_pov_percentage: Option, /// If true then the statement store will be enabled. diff --git a/pezcumulus/pezkuwi-omni-node/lib/src/common/runtime.rs b/pezcumulus/pezkuwi-omni-node/lib/src/common/runtime.rs index 4365c4fd..b54e0c78 100644 --- a/pezcumulus/pezkuwi-omni-node/lib/src/common/runtime.rs +++ b/pezcumulus/pezkuwi-omni-node/lib/src/common/runtime.rs @@ -113,7 +113,7 @@ impl RuntimeResolver for DefaultRuntimeResolver { None => { log::warn!( r#"⚠️ There isn't a runtime type named `System`, corresponding to the `pezframe-system` - pezpallet (https://docs.rs/pezframe-system/latest/pezframe_system/). Please check Omni Node docs for runtime conventions: + pezpallet (https://docs.rs/frame-system/latest/frame_system/). Please check Omni Node docs for runtime conventions: https://docs.pezkuwichain.io/sdk/master/polkadot_sdk_docs/reference_docs/omni_node/index.html#runtime-conventions. Note: We'll assume a block number size of `u32`."# ); @@ -123,7 +123,7 @@ impl RuntimeResolver for DefaultRuntimeResolver { if !metadata_inspector.pezpallet_exists(DEFAULT_TEYRCHAIN_SYSTEM_PALLET_NAME) { log::warn!( - r#"⚠️ The teyrchain system pezpallet (https://docs.rs/crate/pezcumulus-pezpallet-parachain-system/latest) is + r#"⚠️ The teyrchain system pezpallet (https://docs.rs/crate/cumulus-pallet-parachain-system/latest) is missing from the runtime’s metadata. Please check Omni Node docs for runtime conventions: https://docs.pezkuwichain.io/sdk/master/polkadot_sdk_docs/reference_docs/omni_node/index.html#runtime-conventions."# ); diff --git a/pezcumulus/pezpallets/collator-selection/src/lib.rs b/pezcumulus/pezpallets/collator-selection/src/lib.rs index 83e6bae8..40e9b0c4 100644 --- a/pezcumulus/pezpallets/collator-selection/src/lib.rs +++ b/pezcumulus/pezpallets/collator-selection/src/lib.rs @@ -77,7 +77,7 @@ //! To initiate rewards, an ED needs to be transferred to the pot address. //! //! Note: Eventually the Pot distribution may be modified as discussed in [this -//! issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/187#issuecomment-810481073). +//! issue](https://github.com/pezkuwichain/pezkuwi-sdk/issues/330#issuecomment-810481073). #![cfg_attr(not(feature = "std"), no_std)] diff --git a/pezcumulus/pezpallets/collator-selection/src/migration.rs b/pezcumulus/pezpallets/collator-selection/src/migration.rs index 024da0e7..7d120c00 100644 --- a/pezcumulus/pezpallets/collator-selection/src/migration.rs +++ b/pezcumulus/pezpallets/collator-selection/src/migration.rs @@ -22,7 +22,7 @@ use alloc::vec::Vec; use log; use pezframe_support::traits::{OnRuntimeUpgrade, UncheckedOnRuntimeUpgrade}; -/// Migrate to v2. Should have been part of . +/// Migrate to v2. Should have been part of . pub mod v2 { use super::*; use pezframe_support::{ diff --git a/pezcumulus/pezpallets/dmp-queue/src/lib.rs b/pezcumulus/pezpallets/dmp-queue/src/lib.rs index 489503c4..e4e9cb21 100644 --- a/pezcumulus/pezpallets/dmp-queue/src/lib.rs +++ b/pezcumulus/pezpallets/dmp-queue/src/lib.rs @@ -42,7 +42,7 @@ pub type MaxDmpMessageLenOf = #[pezframe_support::pezpallet] #[deprecated( - note = "`pezcumulus-pezpallet-dmp-queue` will be removed after November 2024. It can be removed once its lazy migration completed. See ." + note = "`pezcumulus-pezpallet-dmp-queue` will be removed after November 2024. It can be removed once its lazy migration completed. See ." )] pub mod pezpallet { use super::*; diff --git a/pezcumulus/primitives/core/src/lib.rs b/pezcumulus/primitives/core/src/lib.rs index e67cf8a4..a3d1e6fe 100644 --- a/pezcumulus/primitives/core/src/lib.rs +++ b/pezcumulus/primitives/core/src/lib.rs @@ -366,8 +366,8 @@ pub fn extract_relay_parent(digest: &Digest) -> Option { /// Utilities for handling the relay-parent storage root as a digest item. /// /// This is not intended to be part of the public API, as it is a workaround for -/// via -/// . +/// via +/// . /// /// Runtimes using the teyrchain-system pezpallet are expected to produce this digest item, /// but will stop as soon as they are able to provide the relay-parent hash directly. diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/reserve_transfer.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/reserve_transfer.rs index 6f9d3869..caf99397 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/reserve_transfer.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/reserve_transfer.rs @@ -1082,7 +1082,7 @@ fn reserve_transfer_multiple_assets_from_asset_hub_to_para() { /// Reserve Transfers of a random asset and native asset from Teyrchain to Asset Hub should work /// Receiver is empty account to show deposit works as long as transfer includes enough HEZ for ED. -/// Once we have https://github.com/pezkuwichain/pezkuwi-sdk/issues/140, +/// Once we have https://github.com/pezkuwichain/pezkuwi-sdk/issues/283, /// we should do equivalent test with USDT instead of HEZ. #[test] fn reserve_transfer_multiple_assets_from_para_to_asset_hub() { @@ -1421,7 +1421,7 @@ fn reserve_transfer_usdt_from_asset_hub_to_para() { >::balance(usdt_from_asset_hub, &receiver) }); - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/160): When we allow payment with different assets locally, this should be the same, since + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/303): When we allow payment with different assets locally, this should be the same, since // they aren't used for fees. assert!(sender_after_native_balance < sender_initial_native_balance); // Sender account's balance decreases. @@ -1595,7 +1595,7 @@ fn reserve_transfer_usdt_from_para_to_para_through_asset_hub() { let fee_asset_id: AssetId = usdt_from_asset_hub.clone().into(); // Give the sender enough Relay tokens to pay for local delivery fees. - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/160): When we support local delivery fee payment in other assets, we don't need this. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/303): When we support local delivery fee payment in other assets, we don't need this. PenpalA::mint_foreign_asset( ::RuntimeOrigin::signed(PenpalAssetOwner::get()), RelayLocation::get(), diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/hybrid_transfers.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/hybrid_transfers.rs index 65ee18a1..e5f1ee44 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/hybrid_transfers.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/hybrid_transfers.rs @@ -1017,7 +1017,7 @@ fn bidirectional_transfer_multiple_assets_between_penpal_and_asset_hub() { let mut assets = all_assets.clone(); let fee_asset_index = assets.iter().position(|a| a.id == t.args.fee_asset_id).unwrap(); let mut fees = assets.remove(fee_asset_index); - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/147): dry-run to get exact fees. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/290): dry-run to get exact fees. // For now just use half the fees locally, half on dest if let Fungible(fees_amount) = fees.fun { fees.fun = Fungible(fees_amount / 2); @@ -1056,7 +1056,7 @@ fn bidirectional_transfer_multiple_assets_between_penpal_and_asset_hub() { let mut assets = all_assets.clone(); let fee_asset_index = assets.iter().position(|a| a.id == t.args.fee_asset_id).unwrap(); let mut fees = assets.remove(fee_asset_index); - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/147): dry-run to get exact fees. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/290): dry-run to get exact fees. // For now just use half the fees locally, half on dest if let Fungible(fees_amount) = fees.fun { fees.fun = Fungible(fees_amount / 2); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/reserve_transfer.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/reserve_transfer.rs index 951a7ac4..3c259f2a 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/reserve_transfer.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/reserve_transfer.rs @@ -1054,7 +1054,7 @@ fn reserve_transfer_multiple_assets_from_asset_hub_to_para() { /// Reserve Transfers of a random asset and native asset from Teyrchain to Asset Hub should work /// Receiver is empty account to show deposit works as long as transfer includes enough HEZ for ED. -/// Once we have https://github.com/pezkuwichain/pezkuwi-sdk/issues/140, +/// Once we have https://github.com/pezkuwichain/pezkuwi-sdk/issues/283, /// we should do equivalent test with USDT instead of HEZ. #[test] fn reserve_transfer_multiple_assets_from_para_to_asset_hub() { @@ -1323,7 +1323,7 @@ fn reserve_transfer_usdt_from_asset_hub_to_para() { }); let receiver_after_balance = foreign_balance_on!(PenpalA, usdt_from_asset_hub, &receiver); - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/160): When we allow payment with different assets locally, this should be the same, since + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/303): When we allow payment with different assets locally, this should be the same, since // they aren't used for fees. assert!(sender_after_native_balance < sender_initial_native_balance); // Sender account's balance decreases. @@ -1399,7 +1399,7 @@ fn reserve_transfer_usdt_from_para_to_para_through_asset_hub() { let fee_asset_id: AssetId = usdt_from_asset_hub.clone().into(); // Give the sender enough Relay tokens to pay for local delivery fees. - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/160): When we support local delivery fee payment in other assets, we don't need this. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/303): When we support local delivery fee payment in other assets, we don't need this. PenpalA::mint_foreign_asset( ::RuntimeOrigin::signed(PenpalAssetOwner::get()), RelayLocation::get(), diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/transact.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/transact.rs index 3fc85f2d..0f9a85e5 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/transact.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/transact.rs @@ -32,7 +32,7 @@ fn transfer_and_transact_in_same_xcm( let Fungible(total_usdt) = usdt.fun else { unreachable!() }; - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/147): dry-run to get local fees, for now use hardcoded value. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/290): dry-run to get local fees, for now use hardcoded value. let local_fees_amount = 80_000_000_000; // current exact value 69_200_786_622 let ah_fees_amount = 90_000_000_000; // current exact value 79_948_099_299 let usdt_to_ah_then_onward_amount = total_usdt - local_fees_amount - ah_fees_amount; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/pezbridges/bridge-hub-zagros/src/tests/transact.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/pezbridges/bridge-hub-zagros/src/tests/transact.rs index ba179370..939d36df 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/pezbridges/bridge-hub-zagros/src/tests/transact.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/pezbridges/bridge-hub-zagros/src/tests/transact.rs @@ -24,7 +24,7 @@ const ETHEREUM_BOB: [u8; 20] = hex_literal::hex!("11b0b11000011b0b11000011b0b110 /// /// This particular test is not testing snowbridge, but only Bridge Hub, so the tested XCM flow from /// Ethereum starts from Bridge Hub. -// TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/149): Once Snowbridge supports Transact, start the flow from Ethereum and test completely e2e. +// TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/292): Once Snowbridge supports Transact, start the flow from Ethereum and test completely e2e. fn transfer_and_transact_in_same_xcm( sender: Location, weth: Asset, @@ -40,7 +40,7 @@ fn transfer_and_transact_in_same_xcm( .into(); let asset_hub_location = BridgeHubZagros::sibling_location_of(AssetHubZagros::para_id()); - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/147): dry-run to get local fees, for now use hardcoded value. + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/290): dry-run to get local fees, for now use hardcoded value. let ah_fees_amount = 90_000_000_000u128; // current exact value 79_948_099_299 let fees_for_ah: Asset = (weth.id.clone(), ah_fees_amount).into(); @@ -85,7 +85,7 @@ fn transfer_and_transact_in_same_xcm( /// /// This particular test is not testing snowbridge, but only Bridge Hub, so the tested XCM flow from /// Ethereum starts from Bridge Hub. -// TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/149): Once Snowbridge supports Transact, start the flow from Ethereum and test completely e2e. +// TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/292): Once Snowbridge supports Transact, start the flow from Ethereum and test completely e2e. #[test] fn transact_from_ethereum_to_penpalb_through_asset_hub() { // Snowbridge doesn't support transact yet, we are emulating it by sending one from Bridge Hub diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs index 347620cc..815e1b7d 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs @@ -1437,7 +1437,7 @@ parameter_types! { /// Migration to initialize storage versions for pallets added after genesis. /// -/// This is now done automatically (see ), +/// This is now done automatically (see ), /// but some pallets had made it in and had storage set in them for this teyrchain before it was /// merged. pub struct InitStorageVersions; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs index 23eff436..1404f1f9 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs @@ -1504,7 +1504,7 @@ pub type Migrations = ( ); /// Asset Hub Zagros has some undecodable storage, delete it. -/// See for more info. +/// See for more info. /// /// First we remove the bad Hold, then the bad NFT collection. pub struct DeleteUndecodableStorage; @@ -1577,7 +1577,7 @@ impl pezframe_support::traits::OnRuntimeUpgrade for DeleteUndecodableStorage { /// Migration to initialize storage versions for pallets added after genesis. /// /// Ideally this would be done automatically (see -/// ), but it probably won't be ready for some +/// ), but it probably won't be ready for some /// time and it's beneficial to get try-runtime-cli on-runtime-upgrade checks into the CI, so we're /// doing it manually. pub struct InitStorageVersions; diff --git a/pezcumulus/teyrchains/runtimes/assets/common/src/migrations.rs b/pezcumulus/teyrchains/runtimes/assets/common/src/migrations.rs index 79ee603c..69cab207 100644 --- a/pezcumulus/teyrchains/runtimes/assets/common/src/migrations.rs +++ b/pezcumulus/teyrchains/runtimes/assets/common/src/migrations.rs @@ -26,7 +26,7 @@ /// For new assets, the reserve location(s) and teleport status need to be explicitly configured by /// the asset's `Owner`. /// -/// See for more info. +/// See for more info. pub mod foreign_assets_reserves { use crate::*; use codec::{Decode, Encode, MaxEncodedLen}; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs index be2532f9..55f4f1ff 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs @@ -208,7 +208,7 @@ parameter_types! { /// Migration to initialize storage versions for pallets added after genesis. /// /// Ideally this would be done automatically (see -/// ), but it probably won't be ready for some +/// ), but it probably won't be ready for some /// time and it's beneficial to get try-runtime-cli on-runtime-upgrade checks into the CI, so we're /// doing it manually. pub struct InitStorageVersions; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs index 5a292432..938c80a1 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs @@ -196,7 +196,7 @@ parameter_types! { /// Migration to initialize storage versions for pallets added after genesis. /// /// Ideally this would be done automatically (see -/// ), but it probably won't be ready for some +/// ), but it probably won't be ready for some /// time and it's beneficial to get try-runtime-cli on-runtime-upgrade checks into the CI, so we're /// doing it manually. pub struct InitStorageVersions; diff --git a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs index 45de8630..6539a62c 100644 --- a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs @@ -175,7 +175,7 @@ parameter_types! { .build_or_panic(); pub const SS58Prefix: u8 = 42; // We assume the whole teyrchain state fits into the trie cache - // Numbers are from + // Numbers are from pub const InMemoryDbWeight: RuntimeDbWeight = RuntimeDbWeight { read: 9_000 * constants::WEIGHT_REF_TIME_PER_NANOS, write: 28_000 * constants::WEIGHT_REF_TIME_PER_NANOS, diff --git a/pezcumulus/zombienet/zombienet-sdk-helpers/src/lib.rs b/pezcumulus/zombienet/zombienet-sdk-helpers/src/lib.rs index 0c52e034..bf2487e9 100644 --- a/pezcumulus/zombienet/zombienet-sdk-helpers/src/lib.rs +++ b/pezcumulus/zombienet/zombienet-sdk-helpers/src/lib.rs @@ -357,7 +357,7 @@ pub async fn submit_extrinsic_and_wait_for_finalization_success( // Start prune-all on a separate thread, so that in the case when the operation takes // longer than expected we don't keep the whole subsystem blocked. -// See: https://github.com/pezkuwichain/pezkuwi-sdk/issues/170 for more details. +// See: https://github.com/pezkuwichain/pezkuwi-sdk/issues/313 for more details. #[overseer::contextbounds(AvailabilityStore, prefix = self::overseer)] async fn start_prune_all( ctx: &mut Context, diff --git a/pezkuwi/node/core/bitfield-signing/src/lib.rs b/pezkuwi/node/core/bitfield-signing/src/lib.rs index f7546c51..5aa08f3e 100644 --- a/pezkuwi/node/core/bitfield-signing/src/lib.rs +++ b/pezkuwi/node/core/bitfield-signing/src/lib.rs @@ -49,7 +49,7 @@ mod tests; const SPAWNED_TASK_DELAY: Duration = Duration::from_millis(1500); const LOG_TARGET: &str = "teyrchain::bitfield-signing"; -// TODO: use `fatality` (https://github.com/pezkuwichain/pezkuwi-sdk/issues/158). +// TODO: use `fatality` (https://github.com/pezkuwichain/pezkuwi-sdk/issues/301). /// Errors we may encounter in the course of executing the `BitfieldSigningSubsystem`. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] diff --git a/pezkuwi/node/core/dispute-coordinator/src/initialized.rs b/pezkuwi/node/core/dispute-coordinator/src/initialized.rs index 6c8b87a5..af0111f8 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/initialized.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/initialized.rs @@ -772,7 +772,7 @@ impl Initialized { .handle_import_statements( ctx, overlay_db, - // TODO + // TODO MaybeCandidateReceipt::AssumeBackingVotePresent(candidate_hash), session, statements, diff --git a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs index bb8e4240..3d6cb399 100644 --- a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs +++ b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs @@ -221,7 +221,7 @@ fn partitioning_happy_case() { // achieved with or without the 'help' of a double vote (a validator voting for and against at the // same time). This makes the test a bit pointless but anyway I'm leaving it here to make this // decision explicit and have the test code ready in case this behavior needs to be further tested -// in the future. Link to the PR with the discussions: https://github.com/pezkuwichain/pezkuwi-sdk/issues/177 +// in the future. Link to the PR with the discussions: https://github.com/pezkuwichain/pezkuwi-sdk/issues/320 #[test] fn partitioning_doubled_onchain_vote() { let mut input = BTreeMap::<(SessionIndex, CandidateHash), DisputeStatus>::new(); diff --git a/pezkuwi/node/core/pvf/common/src/worker/security/landlock.rs b/pezkuwi/node/core/pvf/common/src/worker/security/landlock.rs index 22299642..a938ef90 100644 --- a/pezkuwi/node/core/pvf/common/src/worker/security/landlock.rs +++ b/pezkuwi/node/core/pvf/common/src/worker/security/landlock.rs @@ -52,7 +52,7 @@ use std::path::{Path, PathBuf}; /// - ABI V3: kernel 6.2 - Adds ability to prevent file truncation. During execution, can /// prevent attackers from affecting a symlinked artifact. We don't strictly need this as we /// plan to check for file integrity anyway; see -/// . +/// . /// /// # Determinism /// diff --git a/pezkuwi/node/core/pvf/common/src/worker/security/seccomp.rs b/pezkuwi/node/core/pvf/common/src/worker/security/seccomp.rs index bc88a346..bd06ee6e 100644 --- a/pezkuwi/node/core/pvf/common/src/worker/security/seccomp.rs +++ b/pezkuwi/node/core/pvf/common/src/worker/security/seccomp.rs @@ -34,7 +34,7 @@ //! reasons. //! //! Considering `io_uring`'s status discussed above, and that it very likely would get detected -//! either by our [static analysis](https://github.com/pezkuwichain/pezkuwi-sdk/issues/106) or by +//! either by our [static analysis](https://github.com/pezkuwichain/pezkuwi-sdk/issues/252) or by //! testing, we think it is safe to block it. //! //! ## Consensus analysis diff --git a/pezkuwi/node/core/pvf/prepare-worker/src/memory_stats.rs b/pezkuwi/node/core/pvf/prepare-worker/src/memory_stats.rs index e284dd97..ad5557c0 100644 --- a/pezkuwi/node/core/pvf/prepare-worker/src/memory_stats.rs +++ b/pezkuwi/node/core/pvf/prepare-worker/src/memory_stats.rs @@ -24,7 +24,7 @@ //! //! Currently we are only logging these for the purposes of gathering data. In the future, we may //! use these stats to reject PVFs during pre-checking. See -//! for more +//! for more //! background. /// Module for the memory tracker. The memory tracker runs in its own thread, where it polls memory diff --git a/pezkuwi/node/network/approval-distribution/src/tests.rs b/pezkuwi/node/network/approval-distribution/src/tests.rs index b57a19c8..83ae5a00 100644 --- a/pezkuwi/node/network/approval-distribution/src/tests.rs +++ b/pezkuwi/node/network/approval-distribution/src/tests.rs @@ -678,7 +678,7 @@ fn delay_reputation_change() { ); } -/// +/// /// /// 1. Send a view update that removes block B from their view. /// 2. Send a message from B that they incur `COST_UNEXPECTED_MESSAGE` for, but then they receive @@ -782,7 +782,7 @@ fn spam_attack_results_in_negative_reputation_change() { /// Upon receiving them, they both will try to send the message each other. /// This test makes sure they will not punish each other for such duplicate messages. /// -/// See . +/// See . #[test] fn peer_sending_us_the_same_we_just_sent_them_is_ok() { let parent_hash = Hash::repeat_byte(0xFF); @@ -2361,7 +2361,7 @@ fn sends_assignments_even_when_state_is_approved_v2() { ); } -/// +/// /// /// 1. Receive remote peer view update with an unknown head /// 2. Receive assignments for that unknown head @@ -4253,7 +4253,7 @@ fn subsystem_rejects_wrong_claimed_assignments() { /// assignment and Delay tranche assignments land on the same candidate. The delay tranche0 can be /// safely ignored and we don't need to gossip it however, the compact tranche0 assignment should be /// gossiped, because other candidates are included in it, this test makes sure this invariant is -/// upheld, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/172#discussion_r557628699, for +/// upheld, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/315#discussion_r557628699, for /// this edge case. #[test] fn subsystem_accepts_tranche0_duplicate_assignments() { diff --git a/pezkuwi/node/network/bridge/src/rx/mod.rs b/pezkuwi/node/network/bridge/src/rx/mod.rs index 49e6a520..ce75452a 100644 --- a/pezkuwi/node/network/bridge/src/rx/mod.rs +++ b/pezkuwi/node/network/bridge/src/rx/mod.rs @@ -670,12 +670,12 @@ where for (discovery_id, validator_index) in neighbors { let addr = get_peer_id_by_authority_id(ads, discovery_id.clone()).await; if addr.is_none() { - // See on why is not good in https://github.com/pezkuwichain/pezkuwi-sdk/issues/118 + // See on why is not good in https://github.com/pezkuwichain/pezkuwi-sdk/issues/263 gum::debug!( target: LOG_TARGET, ?validator_index, "Could not determine peer_id for validator, let the team know in \n - https://github.com/pezkuwichain/pezkuwi-sdk/issues/118" + https://github.com/pezkuwichain/pezkuwi-sdk/issues/263" ) } peers.push(TopologyPeerInfo { diff --git a/pezkuwi/node/network/collator-protocol/src/validator_side_experimental/peer_manager/mod.rs b/pezkuwi/node/network/collator-protocol/src/validator_side_experimental/peer_manager/mod.rs index 9b90496c..3ebf78fe 100644 --- a/pezkuwi/node/network/collator-protocol/src/validator_side_experimental/peer_manager/mod.rs +++ b/pezkuwi/node/network/collator-protocol/src/validator_side_experimental/peer_manager/mod.rs @@ -464,7 +464,7 @@ async fn extract_reputation_bumps_on_new_finalized_block> = BTreeMap::new(); for (rp, per_para) in v2_candidates_per_rp { for (para_id, included_candidates) in per_para { diff --git a/pezkuwi/node/network/gossip-support/src/lib.rs b/pezkuwi/node/network/gossip-support/src/lib.rs index e920b967..41a5096b 100644 --- a/pezkuwi/node/network/gossip-support/src/lib.rs +++ b/pezkuwi/node/network/gossip-support/src/lib.rs @@ -797,7 +797,7 @@ async fn update_gossip_topology( let random_seed = { let (tx, rx) = oneshot::channel(); - // TODO https://github.com/pezkuwichain/pezkuwi-sdk/issues/156: + // TODO https://github.com/pezkuwichain/pezkuwi-sdk/issues/299: // get the random seed from the `SessionInfo` instead. sender .send_message(RuntimeApiMessage::Request( diff --git a/pezkuwi/node/network/protocol/src/lib.rs b/pezkuwi/node/network/protocol/src/lib.rs index 55f2d021..478fa2c5 100644 --- a/pezkuwi/node/network/protocol/src/lib.rs +++ b/pezkuwi/node/network/protocol/src/lib.rs @@ -735,7 +735,7 @@ pub mod v3 { /// /// TODO at next protocol upgrade opportunity: /// - remove redundancy `candidate_index` vs `core_index` - /// - `` + /// - `` #[codec(index = 0)] Assignments(Vec<(IndirectAssignmentCertV2, CandidateBitfield)>), /// Approvals for candidates in some recent, unfinalized block. diff --git a/pezkuwi/node/network/statement-distribution/src/v2/mod.rs b/pezkuwi/node/network/statement-distribution/src/v2/mod.rs index 72da546d..0b04745d 100644 --- a/pezkuwi/node/network/statement-distribution/src/v2/mod.rs +++ b/pezkuwi/node/network/statement-distribution/src/v2/mod.rs @@ -483,7 +483,7 @@ pub(crate) async fn handle_network_update( state.unused_topologies.insert(*new_session_index, topology); } - // TODO [https://github.com/pezkuwichain/pezkuwi-sdk/issues/165] + // TODO [https://github.com/pezkuwichain/pezkuwi-sdk/issues/308] // technically, we should account for the fact that the session topology might // come late, and for all relay-parents with this session, send all grid peers // any `BackedCandidateInv` messages they might need. diff --git a/pezkuwi/node/network/statement-distribution/src/v2/requests.rs b/pezkuwi/node/network/statement-distribution/src/v2/requests.rs index 8fd2a01e..92835833 100644 --- a/pezkuwi/node/network/statement-distribution/src/v2/requests.rs +++ b/pezkuwi/node/network/statement-distribution/src/v2/requests.rs @@ -321,7 +321,7 @@ impl RequestManager { // `MAX_PARALLEL_ATTESTED_CANDIDATE_REQUESTS`, however there is no // need for the current node to limit itself to the same amount the // requests, because the requests are going to different nodes anyways. - // While looking at https://github.com/pezkuwichain/pezkuwi-sdk/issues/129, + // While looking at https://github.com/pezkuwichain/pezkuwi-sdk/issues/274, // found out that this requests take around 100ms to fulfill, so it // would make sense to try to request things as early as we can, given // we would need to request it for each candidate, around 25 right now diff --git a/pezkuwi/node/overseer/src/lib.rs b/pezkuwi/node/overseer/src/lib.rs index c3e23bd2..53d54314 100644 --- a/pezkuwi/node/overseer/src/lib.rs +++ b/pezkuwi/node/overseer/src/lib.rs @@ -624,7 +624,7 @@ pub struct Overseer { approval_voting_parallel: ApprovalVotingParallel, #[subsystem(GossipSupportMessage, sends: [ NetworkBridgeTxMessage, - NetworkBridgeRxMessage, // TODO + NetworkBridgeRxMessage, // TODO RuntimeApiMessage, ChainSelectionMessage, ChainApiMessage, diff --git a/pezkuwi/primitives/src/v8/mod.rs b/pezkuwi/primitives/src/v8/mod.rs index 58d1726a..1b3d98bc 100644 --- a/pezkuwi/primitives/src/v8/mod.rs +++ b/pezkuwi/primitives/src/v8/mod.rs @@ -161,7 +161,7 @@ impl From for ChunkIndex { } } -// We should really get https://github.com/pezkuwichain/pezkuwi-sdk/issues/163 going .. +// We should really get https://github.com/pezkuwichain/pezkuwi-sdk/issues/306 going .. impl From for ValidatorIndex { fn from(n: u32) -> Self { ValidatorIndex(n) @@ -1121,7 +1121,7 @@ impl OccupiedCore { pub struct ScheduledCore { /// The ID of a para scheduled. pub para_id: Id, - /// DEPRECATED: see: + /// DEPRECATED: see: /// /// Will be removed in a future version. pub collator: Option, @@ -1910,7 +1910,7 @@ pub fn effective_minimum_backing_votes( /// Information about validator sets of a session. /// /// NOTE: `SessionInfo` is frozen. Do not include new fields, consider creating a separate runtime -/// API. Reasoning and further outlook [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/166). +/// API. Reasoning and further outlook [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/309). #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] #[cfg_attr(feature = "std", derive(PartialEq))] pub struct SessionInfo { @@ -2081,7 +2081,7 @@ pub mod node_features { #[derive(Clone, Copy)] pub enum FeatureIndex { /// Tells if tranch0 assignments could be sent in a single certificate. - /// Reserved for: `` + /// Reserved for: `` EnableAssignmentsV2 = 0, /// This feature enables the extension of `BackedCandidate::validator_indices` by 8 bits. /// The value stored there represents the assumed core index where the candidates @@ -2146,7 +2146,7 @@ pub struct SchedulerParams { /// How many cores are managed by the coretime chain. pub num_cores: u32, /// Deprecated and no longer used by the runtime. - /// Removal is tracked by . + /// Removal is tracked by . #[deprecated] pub max_availability_timeouts: u32, /// The maximum queue size of the pay as you go module. @@ -2159,7 +2159,7 @@ pub struct SchedulerParams { /// The minimum amount needed to claim a slot in the spot pricing queue. pub on_demand_base_fee: Balance, /// Deprecated and no longer used by the runtime. - /// Removal is tracked by . + /// Removal is tracked by . #[deprecated] pub ttl: BlockNumber, } diff --git a/pezkuwi/primitives/src/v9/mod.rs b/pezkuwi/primitives/src/v9/mod.rs index 289833e1..4993b09d 100644 --- a/pezkuwi/primitives/src/v9/mod.rs +++ b/pezkuwi/primitives/src/v9/mod.rs @@ -169,7 +169,7 @@ impl From for ChunkIndex { } } -// We should really get https://github.com/pezkuwichain/pezkuwi-sdk/issues/133 going .. +// We should really get https://github.com/pezkuwichain/pezkuwi-sdk/issues/278 going .. impl From for ValidatorIndex { fn from(n: u32) -> Self { ValidatorIndex(n) @@ -838,7 +838,7 @@ impl GroupRotationInfo { pub struct ScheduledCore { /// The ID of a para scheduled. pub para_id: Id, - /// DEPRECATED: see: + /// DEPRECATED: see: /// /// Will be removed in a future version. pub collator: Option, @@ -1544,7 +1544,7 @@ pub fn effective_minimum_backing_votes( /// Information about validator sets of a session. /// /// NOTE: `SessionInfo` is frozen. Do not include new fields, consider creating a separate runtime -/// API. Reasoning and further outlook [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/167). +/// API. Reasoning and further outlook [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/310). #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] #[cfg_attr(feature = "std", derive(PartialEq))] pub struct SessionInfo { @@ -1715,7 +1715,7 @@ pub mod node_features { #[derive(Clone, Copy)] pub enum FeatureIndex { /// Tells if tranch0 assignments could be sent in a single certificate. - /// Reserved for: `` + /// Reserved for: `` EnableAssignmentsV2 = 0, /// This feature enables the extension of `BackedCandidate::validator_indices` by 8 bits. /// The value stored there represents the assumed core index where the candidates @@ -1780,7 +1780,7 @@ pub struct SchedulerParams { /// How many cores are managed by the coretime chain. pub num_cores: u32, /// Deprecated and no longer used by the runtime. - /// Removal is tracked by . + /// Removal is tracked by . #[deprecated] pub max_availability_timeouts: u32, /// The maximum queue size of the pay as you go module. @@ -1793,7 +1793,7 @@ pub struct SchedulerParams { /// The minimum amount needed to claim a slot in the spot pricing queue. pub on_demand_base_fee: Balance, /// Deprecated and no longer used by the runtime. - /// Removal is tracked by . + /// Removal is tracked by . #[deprecated] pub ttl: BlockNumber, } diff --git a/pezkuwi/runtime/teyrchains/src/assigner_coretime/mod.rs b/pezkuwi/runtime/teyrchains/src/assigner_coretime/mod.rs index 39196e15..3d3c460a 100644 --- a/pezkuwi/runtime/teyrchains/src/assigner_coretime/mod.rs +++ b/pezkuwi/runtime/teyrchains/src/assigner_coretime/mod.rs @@ -407,7 +407,7 @@ impl Pezpallet { /// Inserting arbitrarily causes a `DispatchError::DisallowedInsert` error. // With this restriction this function allows for O(1) complexity. It could easily be lifted, if // need be and in fact an implementation is available - // [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/107/commits/c0c23b01fd2830910cde92c11960dad12cdff398#diff-0c85a46e448de79a5452395829986ee8747e17a857c27ab624304987d2dde8baR386). + // [here](https://github.com/pezkuwichain/pezkuwi-sdk/issues/253/commits/c0c23b01fd2830910cde92c11960dad12cdff398#diff-0c85a46e448de79a5452395829986ee8747e17a857c27ab624304987d2dde8baR386). // The problem is that insertion complexity then depends on the size of the existing queue, // which makes determining weights hard and could lead to issues like overweight blocks (at // least in theory). diff --git a/pezkuwi/runtime/teyrchains/src/configuration.rs b/pezkuwi/runtime/teyrchains/src/configuration.rs index 66db8316..4081b5c4 100644 --- a/pezkuwi/runtime/teyrchains/src/configuration.rs +++ b/pezkuwi/runtime/teyrchains/src/configuration.rs @@ -513,20 +513,20 @@ pub mod pezpallet { /// The in-code storage version. /// - /// v0-v1: - /// v1-v2: - /// v2-v3: - /// v3-v4: - /// v4-v5: - /// + - /// + - /// v5-v6: (remove UMP dispatch queue) - /// v6-v7: - /// v7-v8: - /// v8-v9: - /// v9-v10: - /// v10-11: - /// v11-12: + /// v0-v1: + /// v1-v2: + /// v2-v3: + /// v3-v4: + /// v4-v5: + /// + + /// + + /// v5-v6: (remove UMP dispatch queue) + /// v6-v7: + /// v7-v8: + /// v8-v9: + /// v9-v10: + /// v10-11: + /// v11-12: const STORAGE_VERSION: StorageVersion = StorageVersion::new(12); #[pezpallet::pezpallet] diff --git a/pezkuwi/runtime/teyrchains/src/paras/mod.rs b/pezkuwi/runtime/teyrchains/src/paras/mod.rs index 5fcac78d..b40a15bb 100644 --- a/pezkuwi/runtime/teyrchains/src/paras/mod.rs +++ b/pezkuwi/runtime/teyrchains/src/paras/mod.rs @@ -398,7 +398,7 @@ pub(crate) enum PvfCheckCause { /// instead of its relay parent -- in order to keep PVF available in case of chain /// reversions. /// - /// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/151 for detailed explanation. + /// See https://github.com/pezkuwichain/pezkuwi-sdk/issues/294 for detailed explanation. included_at: BlockNumber, /// Whether or not the upgrade should be enacted directly. /// @@ -1464,7 +1464,7 @@ const INVALID_TX_DOUBLE_VOTE: u8 = 3; const INVALID_TX_UNAUTHORIZED_CODE: u8 = 4; /// This is intermediate "fix" for this issue: -/// +/// /// /// It does not actually fix it, but makes the worst case better. Without that limit someone /// could completely DoS the relay chain by registering a ridiculously high amount of paras. diff --git a/pezkuwi/runtime/zagros/src/lib.rs b/pezkuwi/runtime/zagros/src/lib.rs index 6f9376d0..cf222226 100644 --- a/pezkuwi/runtime/zagros/src/lib.rs +++ b/pezkuwi/runtime/zagros/src/lib.rs @@ -2827,7 +2827,7 @@ pezsp_api::impl_runtime_apis! { impl pezframe_try_runtime::TryRuntime for Runtime { fn on_runtime_upgrade(checks: pezframe_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade zagros."); - // TODO:: remove once https://github.com/pezkuwichain/pezkuwi-sdk/issues/159 is resolved. + // TODO:: remove once https://github.com/pezkuwichain/pezkuwi-sdk/issues/302 is resolved. let excluded_pallets = vec![ b"Staking".to_vec(), // replaced by staking-async b"NominationPools".to_vec(), // moved to AH diff --git a/pezkuwi/teyrchain/src/primitives.rs b/pezkuwi/teyrchain/src/primitives.rs index 850c8db9..3768e026 100644 --- a/pezkuwi/teyrchain/src/primitives.rs +++ b/pezkuwi/teyrchain/src/primitives.rs @@ -427,7 +427,7 @@ impl XcmpMessageHandler for () { } /// Validation parameters for evaluating the teyrchain validity function. -// TODO: balance downloads (https://github.com/pezkuwichain/pezkuwi-sdk/issues/131) +// TODO: balance downloads (https://github.com/pezkuwichain/pezkuwi-sdk/issues/276) #[derive(PartialEq, Eq, Decode, Clone)] #[cfg_attr(feature = "std", derive(Debug, Encode))] pub struct ValidationParams { @@ -458,7 +458,7 @@ pub type HorizontalMessages = BoundedVec, ConstU32>; /// The result of teyrchain validation. -// TODO: balance uploads (https://github.com/pezkuwichain/pezkuwi-sdk/issues/131) +// TODO: balance uploads (https://github.com/pezkuwichain/pezkuwi-sdk/issues/276) #[derive(PartialEq, Eq, Clone, Encode)] #[cfg_attr(feature = "std", derive(Debug, Decode))] pub struct ValidationResult { diff --git a/pezkuwi/xcm/docs/src/fundamentals.rs b/pezkuwi/xcm/docs/src/fundamentals.rs index f1555989..dd65cd42 100644 --- a/pezkuwi/xcm/docs/src/fundamentals.rs +++ b/pezkuwi/xcm/docs/src/fundamentals.rs @@ -28,7 +28,7 @@ //! for them. //! //! The language evolves over time to accomodate the needs of the community -//! via the [RFC process](https://github.com/pezkuwichain/xcm-format/blob/master/proposals/0032-process.md). +//! via the [RFC process](https://github.com/polkadot-fellows/xcm-format/blob/master/proposals/0032-process.md). //! //! XCM is the language, it deals with interpreting and executing programs. //! It does not deal with actually **sending** these programs from one consensus system to another. @@ -81,7 +81,7 @@ //! //! Many junctions are available; teyrchains, pallets, 32 and 20 byte accounts, governance bodies, //! and arbitrary indices are the most common. -//! A full list of available junctions can be found in the [format](https://github.com/pezkuwichain/xcm-format#interior-locations--junctions) +//! A full list of available junctions can be found in the [format](https://github.com/polkadot-fellows/xcm-format#interior-locations--junctions) //! and [Junction enum](xcm::v4::prelude::Junction). //! //! We'll use a file system notation to represent locations, and start with relative locations. @@ -128,7 +128,7 @@ //! network. These are represented as `../Teyrchain(2004)/PalletInstance(10)` and //! `../../GlobalConsensus(Kusama)` respectively. //! -//! The whole type can be seen in the [format](https://github.com/pezkuwichain/xcm-format#6-universal-asset-identifiers) +//! The whole type can be seen in the [format](https://github.com/polkadot-fellows/xcm-format#6-universal-asset-identifiers) //! and [rust docs](xcm::v4::prelude::Asset). //! //! ## Instructions @@ -139,7 +139,7 @@ //! //! XCM programs are composed of a sequence of instructions. //! -//! All available instructions can be seen in the [format](https://github.com/pezkuwichain/xcm-format#5-the-xcvm-instruction-set) +//! All available instructions can be seen in the [format](https://github.com/polkadot-fellows/xcm-format#5-the-xcvm-instruction-set) //! and the [Instruction enum](xcm::v4::prelude::Instruction). //! //! A very simple example is the following: diff --git a/pezkuwi/xcm/docs/src/lib.rs b/pezkuwi/xcm/docs/src/lib.rs index 3348e54d..1187ab62 100644 --- a/pezkuwi/xcm/docs/src/lib.rs +++ b/pezkuwi/xcm/docs/src/lib.rs @@ -40,7 +40,7 @@ //! //! ## Contribute //! -//! To contribute to the format, check out the [RFC process](https://github.com/pezkuwichain/xcm-format/blob/master/proposals/0032-process.md). +//! To contribute to the format, check out the [RFC process](https://github.com/polkadot-fellows/xcm-format/blob/master/proposals/0032-process.md). //! To contribute to these docs, [make a PR](https://github.com/pezkuwichain/pezkuwi-sdk). //! //! ## Why Rust Docs? diff --git a/pezkuwi/xcm/pezpallet-xcm/src/errors.rs b/pezkuwi/xcm/pezpallet-xcm/src/errors.rs index 2c5b6a92..7093fa07 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/errors.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/errors.rs @@ -153,7 +153,7 @@ pub enum ExecutionError { /// The weight of an XCM message is not computable ahead of execution. WeightNotComputable, /// Recursion stack limit reached - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/148): This should have a fixed index since + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/291): This should have a fixed index since // we use it in `FrameTransactionalProcessor` // which is used in instructions. // Or we should create a different error for that. ExceedsStackLimit, diff --git a/pezkuwi/xcm/pezpallet-xcm/src/lib.rs b/pezkuwi/xcm/pezpallet-xcm/src/lib.rs index 762b53ce..e76d6932 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/lib.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/lib.rs @@ -1501,7 +1501,7 @@ pub mod pezpallet { // We check for network native asset reserve transfers in preparation for the Asset Hub // Migration. This check will be removed after the migration and the determined - // reserve location adjusted accordingly. For more information, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/158. + // reserve location adjusted accordingly. For more information, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/301. Self::ensure_network_asset_reserve_transfer_allowed( &assets, &fee_asset_id, @@ -2099,7 +2099,7 @@ impl Pezpallet { // We check for network native asset reserve transfers in preparation for the Asset Hub // Migration. This check will be removed after the migration and the determined - // reserve location adjusted accordingly. For more information, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/158. + // reserve location adjusted accordingly. For more information, see https://github.com/pezkuwichain/pezkuwi-sdk/issues/301. Self::ensure_network_asset_reserve_transfer_allowed( &assets, &fee_asset_id, diff --git a/pezkuwi/xcm/pezpallet-xcm/src/transfer_assets_validation.rs b/pezkuwi/xcm/pezpallet-xcm/src/transfer_assets_validation.rs index 1da69cec..aed859a8 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/transfer_assets_validation.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/transfer_assets_validation.rs @@ -18,7 +18,7 @@ //! This validation is a temporary patch in preparation for the Asset Hub Migration (AHM). //! This module will be removed after the migration and the determined //! reserve location will be adjusted accordingly to be Asset Hub. -//! For more information, see . +//! For more information, see . use crate::{Config, Error, Pezpallet}; use alloc::vec::Vec; diff --git a/pezkuwi/xcm/src/v3/multilocation.rs b/pezkuwi/xcm/src/v3/multilocation.rs index 57695f1a..6e45c484 100644 --- a/pezkuwi/xcm/src/v3/multilocation.rs +++ b/pezkuwi/xcm/src/v3/multilocation.rs @@ -397,7 +397,7 @@ impl MultiLocation { target: &MultiLocation, context: InteriorMultiLocation, ) -> Result<(), ()> { - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/149 Optimize this. + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/292 Optimize this. // 1. Use our `context` to figure out how the `target` would address us. let inverted_target = context.invert_target(target)?; diff --git a/pezkuwi/xcm/src/v4/location.rs b/pezkuwi/xcm/src/v4/location.rs index 123c6bb8..ca2342c5 100644 --- a/pezkuwi/xcm/src/v4/location.rs +++ b/pezkuwi/xcm/src/v4/location.rs @@ -448,7 +448,7 @@ impl Reanchorable for Location { /// /// Does not modify `self` in case of overflow. fn reanchor(&mut self, target: &Location, context: &InteriorLocation) -> Result<(), ()> { - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/149 Optimize this. + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/292 Optimize this. // 1. Use our `context` to figure out how the `target` would address us. let inverted_target = context.invert_target(target)?; diff --git a/pezkuwi/xcm/src/v5/location.rs b/pezkuwi/xcm/src/v5/location.rs index 7de3464e..cf8443f8 100644 --- a/pezkuwi/xcm/src/v5/location.rs +++ b/pezkuwi/xcm/src/v5/location.rs @@ -448,7 +448,7 @@ impl Reanchorable for Location { /// /// Does not modify `self` in case of overflow. fn reanchor(&mut self, target: &Location, context: &InteriorLocation) -> Result<(), ()> { - // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/149 Optimize this. + // TODO: https://github.com/pezkuwichain/pezkuwi-sdk/issues/292 Optimize this. // 1. Use our `context` to figure out how the `target` would address us. let inverted_target = context.invert_target(target)?; diff --git a/pezkuwi/xcm/src/v5/traits.rs b/pezkuwi/xcm/src/v5/traits.rs index 6e2799ec..1d52cc5f 100644 --- a/pezkuwi/xcm/src/v5/traits.rs +++ b/pezkuwi/xcm/src/v5/traits.rs @@ -172,7 +172,7 @@ pub enum Error { /// The weight of an XCM message is not computable ahead of execution. WeightNotComputable, /// Recursion stack limit reached - // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/148): This should have a fixed index since + // TODO(https://github.com/pezkuwichain/pezkuwi-sdk/issues/291): This should have a fixed index since // we use it in `FrameTransactionalProcessor` // which is used in instructions. // Or we should create a different error for that. ExceedsStackLimit, diff --git a/pezkuwi/xcm/xcm-builder/src/barriers.rs b/pezkuwi/xcm/xcm-builder/src/barriers.rs index 4e4c6f5c..b4d0bee0 100644 --- a/pezkuwi/xcm/xcm-builder/src/barriers.rs +++ b/pezkuwi/xcm/xcm-builder/src/barriers.rs @@ -550,7 +550,7 @@ where } } -// See issue +// See issue pub struct DenyReserveTransferToRelayChain; impl DenyExecution for DenyReserveTransferToRelayChain { fn deny_execution( diff --git a/pezkuwi/xcm/xcm-executor/integration-tests/src/lib.rs b/pezkuwi/xcm/xcm-executor/integration-tests/src/lib.rs index 830b4e69..5e4787ad 100644 --- a/pezkuwi/xcm/xcm-executor/integration-tests/src/lib.rs +++ b/pezkuwi/xcm/xcm-executor/integration-tests/src/lib.rs @@ -328,7 +328,7 @@ fn query_response_elicits_handler() { /// Simulates a cross-chain message from Teyrchain to Teyrchain through Relay Chain /// that deposits assets into the reserve of the destination. /// Regression test for `DepositReserveAsset` changes in -/// +/// #[test] fn deposit_reserve_asset_works_for_any_xcm_sender() { pezsp_tracing::try_init_simple(); diff --git a/scripts/create_all_tracking_issues.sh b/scripts/create_all_tracking_issues.sh new file mode 100755 index 00000000..869c3a22 --- /dev/null +++ b/scripts/create_all_tracking_issues.sh @@ -0,0 +1,107 @@ +#!/bin/bash +# Tüm eksik upstream tracking issue'larını oluşturur + +set -e +cd /home/mamostehp/pezkuwi-sdk + +REPO="pezkuwichain/pezkuwi-sdk" +LABEL="upstream-tracking" +TODAY=$(date +%Y-%m-%d) +NEXT_CHECK=$(date -d '+1 month' +%Y-%m-%d 2>/dev/null || date -v+1m +%Y-%m-%d 2>/dev/null || echo "2026-01-23") +MAPPING_FILE=".claude/issue_mapping.txt" +LOG_FILE=".claude/issue_creation.log" + +# Eksik issue numaraları +MISSING_ISSUES=(8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 51 53 55 57 60 74 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190) + +echo "========================================" | tee -a "$LOG_FILE" +echo "Upstream Tracking Issues Creator" | tee -a "$LOG_FILE" +echo "Started: $(date)" | tee -a "$LOG_FILE" +echo "Total to create: ${#MISSING_ISSUES[@]}" | tee -a "$LOG_FILE" +echo "========================================" | tee -a "$LOG_FILE" + +create_issue() { + local upstream_num=$1 + + # Zaten oluşturulmuş mu kontrol et + if grep -q "^$upstream_num " "$MAPPING_FILE" 2>/dev/null; then + echo " SKIP: #$upstream_num already exists" | tee -a "$LOG_FILE" + return 0 + fi + + local body="## Upstream Reference Tracking + +**Upstream URL:** https://github.com/paritytech/polkadot-sdk/issues/$upstream_num +**Type:** Issue + +--- + +### Status Tracking: + +- [x] Pending - Upstream not yet resolved +- [ ] Resolved - Fix merged upstream +- [ ] Evaluated - Assessed if needed for PezkuwiChain +- [ ] Applied - Fix applied to our chain +- [ ] Closed - Upstream issue closed +- [ ] Skipped - Not relevant for us + +**Last Check:** $TODAY +**Next Check:** $NEXT_CHECK + +--- + +### Notes: +Automatically created tracking issue for upstream Polkadot SDK reference. + +This issue is tracked by our weekly bot that monitors upstream changes." + + result=$(gh issue create \ + --repo "$REPO" \ + --title "[Upstream] Track Polkadot SDK #$upstream_num" \ + --body "$body" \ + --label "$LABEL" 2>&1) + + new_num=$(echo "$result" | grep -oE '/issues/[0-9]+' | grep -oE '[0-9]+') + + if [ -n "$new_num" ]; then + echo "$upstream_num $new_num" >> "$MAPPING_FILE" + echo " OK: Created #$new_num for upstream #$upstream_num" | tee -a "$LOG_FILE" + return 0 + else + echo " FAIL: upstream #$upstream_num - $result" | tee -a "$LOG_FILE" + return 1 + fi +} + +success=0 +failed=0 +skipped=0 + +for upstream_num in "${MISSING_ISSUES[@]}"; do + echo "Processing upstream #$upstream_num..." + + if grep -q "^$upstream_num " "$MAPPING_FILE" 2>/dev/null; then + ((skipped++)) + echo " SKIP: Already tracked" + continue + fi + + if create_issue "$upstream_num"; then + ((success++)) + else + ((failed++)) + fi + + # Rate limit için bekleme + sleep 0.5 +done + +echo "" | tee -a "$LOG_FILE" +echo "========================================" | tee -a "$LOG_FILE" +echo "COMPLETED" | tee -a "$LOG_FILE" +echo " Success: $success" | tee -a "$LOG_FILE" +echo " Failed: $failed" | tee -a "$LOG_FILE" +echo " Skipped: $skipped" | tee -a "$LOG_FILE" +echo " Mapping file: $MAPPING_FILE" | tee -a "$LOG_FILE" +echo "Finished: $(date)" | tee -a "$LOG_FILE" +echo "========================================" | tee -a "$LOG_FILE" diff --git a/scripts/create_test_issues.sh b/scripts/create_test_issues.sh new file mode 100755 index 00000000..f3f51196 --- /dev/null +++ b/scripts/create_test_issues.sh @@ -0,0 +1,55 @@ +#!/bin/bash +cd /home/mamostehp/pezkuwi-sdk + +MAPPING_FILE=".claude/issue_mapping.txt" + +create_issue() { + local i=$1 + echo "Creating tracking issue for upstream #$i..." + + result=$(gh issue create \ + --repo pezkuwichain/pezkuwi-sdk \ + --title "[Upstream] Track Polkadot SDK #$i" \ + --body "## Upstream Reference Tracking + +**Upstream URL:** https://github.com/paritytech/polkadot-sdk/issues/$i +**Type:** Issue + +--- + +### Status Tracking: + +- [x] Pending - Upstream not yet resolved +- [ ] Resolved - Fix merged upstream +- [ ] Evaluated - Assessed if needed for PezkuwiChain +- [ ] Applied - Fix applied to our chain +- [ ] Closed - Upstream issue closed +- [ ] Skipped - Not relevant for us + +**Last Check:** 2025-12-23 +**Next Check:** 2026-01-23 + +--- + +### Notes: +Automatically created tracking issue for upstream Polkadot SDK reference." \ + --label "upstream-tracking" 2>&1) + + new_num=$(echo "$result" | grep -oE '/issues/[0-9]+' | grep -oE '[0-9]+') + if [ -n "$new_num" ]; then + echo "$i $new_num" >> "$MAPPING_FILE" + echo " Created #$new_num for upstream #$i" + else + echo " Failed: $result" + fi + sleep 1 +} + +# Create remaining test issues +for i in 3 4 5 7; do + create_issue $i +done + +echo "" +echo "Mapping file contents:" +cat "$MAPPING_FILE" diff --git a/scripts/create_tracking_issues.sh b/scripts/create_tracking_issues.sh new file mode 100755 index 00000000..76ff735f --- /dev/null +++ b/scripts/create_tracking_issues.sh @@ -0,0 +1,196 @@ +#!/bin/bash +# Upstream Tracking Issues Creator +# Polkadot SDK issue'larını takip eden issue'lar oluşturur + +set -e + +REPO="pezkuwichain/pezkuwi-sdk" +LABEL="upstream-tracking" +TODAY=$(date +%Y-%m-%d) +NEXT_CHECK=$(date -d '+1 month' +%Y-%m-%d 2>/dev/null || date -v+1m +%Y-%m-%d) + +# Mapping dosyası - oluşturulan issue'ları kaydeder +MAPPING_FILE="/home/mamostehp/pezkuwi-sdk/.claude/issue_mapping.txt" + +# Tüm upstream issue numaraları +ALL_ISSUES=(2 3 4 5 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 51 53 55 57 60 74 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190) + +# Test modu - sadece ilk 5 issue +TEST_ISSUES=(2 3 4 5 7) + +create_issue() { + local upstream_num=$1 + + echo "Creating tracking issue for Polkadot SDK #$upstream_num..." + + # Issue body + local body="## Upstream Reference Tracking + +**Upstream URL:** https://github.com/paritytech/polkadot-sdk/issues/$upstream_num +**Type:** Issue + +--- + +### Status Tracking: + +- [x] Pending - Upstream not yet resolved +- [ ] Resolved - Fix merged upstream +- [ ] Evaluated - Assessed if needed for PezkuwiChain +- [ ] Applied - Fix applied to our chain +- [ ] Closed - Upstream issue closed +- [ ] Skipped - Not relevant for us + +**Last Check:** $TODAY +**Next Check:** $NEXT_CHECK + +--- + +### Notes: +Automatically created tracking issue for upstream Polkadot SDK reference. + +This issue is tracked by our weekly bot that monitors upstream changes." + + # Issue oluştur ve numarasını al + local result=$(gh issue create \ + --repo "$REPO" \ + --title "[Upstream] Track Polkadot SDK #$upstream_num" \ + --body "$body" \ + --label "$LABEL" 2>&1) + + # Issue URL'den numarayı çıkar + local new_issue_num=$(echo "$result" | grep -oE '/issues/[0-9]+' | grep -oE '[0-9]+') + + if [ -n "$new_issue_num" ]; then + echo "$upstream_num $new_issue_num" >> "$MAPPING_FILE" + echo " ✓ Created issue #$new_issue_num for upstream #$upstream_num" + return 0 + else + echo " ✗ Failed to create issue for upstream #$upstream_num" + echo " Error: $result" + return 1 + fi +} + +ensure_label_exists() { + echo "Checking if label '$LABEL' exists..." + if ! gh label list --repo "$REPO" | grep -q "$LABEL"; then + echo "Creating label '$LABEL'..." + gh label create "$LABEL" \ + --repo "$REPO" \ + --description "Issues tracking upstream Polkadot SDK changes" \ + --color "0366d6" + echo " ✓ Label created" + else + echo " ✓ Label already exists" + fi +} + +test_mode() { + echo "========================================" + echo "TEST MODE - Creating 5 tracking issues" + echo "========================================" + echo "" + + ensure_label_exists + + # Mapping dosyasını başlat + echo "# Upstream Issue -> Pezkuwi Issue Mapping" > "$MAPPING_FILE" + echo "# Format: UPSTREAM_NUM PEZKUWI_NUM" >> "$MAPPING_FILE" + echo "# Created: $TODAY" >> "$MAPPING_FILE" + echo "" >> "$MAPPING_FILE" + + local success=0 + local failed=0 + + for issue_num in "${TEST_ISSUES[@]}"; do + if create_issue "$issue_num"; then + ((success++)) + else + ((failed++)) + fi + # Rate limit için kısa bekleme + sleep 1 + done + + echo "" + echo "========================================" + echo "TEST COMPLETE" + echo " Success: $success" + echo " Failed: $failed" + echo " Mapping file: $MAPPING_FILE" + echo "========================================" + echo "" + echo "Mapping içeriği:" + cat "$MAPPING_FILE" +} + +full_mode() { + echo "========================================" + echo "FULL MODE - Creating ALL tracking issues" + echo "Total: ${#ALL_ISSUES[@]} issues" + echo "========================================" + echo "" + + ensure_label_exists + + # Mevcut mapping'i kontrol et + if [ -f "$MAPPING_FILE" ]; then + echo "Existing mapping file found. Skipping already created issues." + else + echo "# Upstream Issue -> Pezkuwi Issue Mapping" > "$MAPPING_FILE" + echo "# Format: UPSTREAM_NUM PEZKUWI_NUM" >> "$MAPPING_FILE" + echo "# Created: $TODAY" >> "$MAPPING_FILE" + echo "" >> "$MAPPING_FILE" + fi + + local success=0 + local failed=0 + local skipped=0 + + for issue_num in "${ALL_ISSUES[@]}"; do + # Zaten oluşturulmuş mu kontrol et + if grep -q "^$issue_num " "$MAPPING_FILE" 2>/dev/null; then + echo "Skipping upstream #$issue_num (already created)" + ((skipped++)) + continue + fi + + if create_issue "$issue_num"; then + ((success++)) + else + ((failed++)) + fi + # Rate limit için kısa bekleme + sleep 1 + done + + echo "" + echo "========================================" + echo "FULL MODE COMPLETE" + echo " Success: $success" + echo " Failed: $failed" + echo " Skipped: $skipped" + echo " Total processed: $((success + failed + skipped))" + echo " Mapping file: $MAPPING_FILE" + echo "========================================" +} + +# Ana menu +case "${1:-}" in + test) + test_mode + ;; + full) + full_mode + ;; + *) + echo "Usage: $0 {test|full}" + echo "" + echo " test - Create 5 test issues to verify the script works" + echo " full - Create all 143 tracking issues" + echo "" + echo "Prerequisites:" + echo " - GitHub CLI (gh) must be installed and authenticated" + echo " - Run 'gh auth status' to verify" + ;; +esac diff --git a/scripts/find_missing_issues.sh b/scripts/find_missing_issues.sh new file mode 100755 index 00000000..932380b5 --- /dev/null +++ b/scripts/find_missing_issues.sh @@ -0,0 +1,42 @@ +#!/bin/bash +cd /home/mamostehp/pezkuwi-sdk + +# Koddaki tüm upstream issue numaraları +CODE_ISSUES=$(grep -rho "github.com/pezkuwichain/pezkuwi-sdk/issues/[0-9]*" --include="*.rs" 2>/dev/null | \ + grep -v target | grep -v vendor | \ + sed 's|github.com/pezkuwichain/pezkuwi-sdk/issues/||' | \ + sort -n | uniq) + +# Zaten tracking issue olanlar (mapping dosyasından) +TRACKED="" +if [ -f ".claude/issue_mapping.txt" ]; then + TRACKED=$(grep -v "^#" .claude/issue_mapping.txt | awk '{print $1}' | tr '\n' ' ') +fi + +echo "=== DURUM RAPORU ===" +echo "" +echo "Koddaki upstream referansları:" +echo "$CODE_ISSUES" | wc -w +echo "" +echo "Zaten tracking issue olanlar:" +echo "$TRACKED" +echo "" +echo "=== OLUŞTURULMASI GEREKEN ISSUE'LAR ===" + +MISSING="" +for i in $CODE_ISSUES; do + found=0 + for t in $TRACKED; do + if [ "$i" = "$t" ]; then + found=1 + break + fi + done + if [ $found -eq 0 ]; then + MISSING="$MISSING $i" + fi +done + +echo "$MISSING" | tr ' ' '\n' | grep -v '^$' | sort -n +echo "" +echo "Toplam eksik: $(echo $MISSING | wc -w)" diff --git a/scripts/update_issue_links.sh b/scripts/update_issue_links.sh new file mode 100755 index 00000000..f5934ed6 --- /dev/null +++ b/scripts/update_issue_links.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Koddaki issue linklerini yeni numaralara günceller + +cd /home/mamostehp/pezkuwi-sdk + +MAPPING_FILE=".claude/issue_mapping.txt" + +echo "=== Updating issue links in code ===" + +# Mapping dosyasını oku (header'ları atla) +while read -r upstream_num pezkuwi_num; do + # Boş satır veya yorum satırını atla + [[ -z "$upstream_num" || "$upstream_num" == \#* ]] && continue + + # Sadece sayıları işle + [[ ! "$upstream_num" =~ ^[0-9]+$ ]] && continue + + # Değişiklik yapılacak dosyaları bul + files=$(grep -rl "pezkuwi-sdk/issues/$upstream_num[^0-9]" --include="*.rs" . 2>/dev/null | grep -v target | grep -v vendor | head -20) + + if [ -n "$files" ]; then + echo "Upstream #$upstream_num -> Pezkuwi #$pezkuwi_num" + for f in $files; do + # Tam URL'yi değiştir (sadece tam eşleşme) + sed -i "s|pezkuwichain/pezkuwi-sdk/issues/$upstream_num\([^0-9]\)|pezkuwichain/pezkuwi-sdk/issues/$pezkuwi_num\1|g" "$f" + sed -i "s|pezkuwichain/pezkuwi-sdk/issues/$upstream_num\$|pezkuwichain/pezkuwi-sdk/issues/$pezkuwi_num|g" "$f" + done + fi +done < "$MAPPING_FILE" + +echo "" +echo "=== Done ===" diff --git a/umbrella/README.md b/umbrella/README.md index e057f621..9fd0804b 100644 --- a/umbrella/README.md +++ b/umbrella/README.md @@ -63,7 +63,7 @@ with-tracing = ["pezkuwi-sdk/with-tracing"] cargo build --features "runtime-benchmarks,with-tracing" ``` -Bizinikiwi's [try-runtime](https://pezkuwichain.github.io/try-runtime-cli/try_runtime/) is an essential +Bizinikiwi's [try-runtime](https://paritytech.github.io/try-runtime-cli/try_runtime/) is an essential tool for testing runtime protocol upgrades locally, which can be enabled with the `try-runtime` feature. diff --git a/vendor/pezkuwi-subxt/CHANGELOG.md b/vendor/pezkuwi-subxt/CHANGELOG.md index 708b4a18..83c5a4b1 100644 --- a/vendor/pezkuwi-subxt/CHANGELOG.md +++ b/vendor/pezkuwi-subxt/CHANGELOG.md @@ -1002,7 +1002,7 @@ This is a big release that adds quite a lot, and also introduces some slightly l See [#1126](https://github.com/pezkuwichain/subxt/pull/1126), [#1137](https://github.com/pezkuwichain/subxt/pull/1137) and [#1161](https://github.com/pezkuwichain/subxt/pull/1161) for more information. -The overarching idea here is that we want Subxt to be able to continue to support talking to nodes/light-clients using the "legacy" RPC APIs that are currently available, but we _also_ want to be able to support using only [the new RPC APIs](https://pezkuwichain.github.io/json-rpc-interface-spec/) once they are stabilized. +The overarching idea here is that we want Subxt to be able to continue to support talking to nodes/light-clients using the "legacy" RPC APIs that are currently available, but we _also_ want to be able to support using only [the new RPC APIs](https://paritytech.github.io/json-rpc-interface-spec/) once they are stabilized. Until now, the higher level APIs in Subxt all had access to the RPCs and could call whatever they needed. Now, we've abstracted away which RPCs are called (or even that RPCs are used at all) behind a `subxt::backend::Backend` trait. Higher level APIs no longer have access to RPC methods and instead have access to the current `Backend` implementation. We then added two `Backend` implementations: @@ -1627,7 +1627,7 @@ This release adds a number of improvements, most notably: - We make Bizinikiwi dependencies optional ([#760](https://github.com/pezkuwichain/subxt/pull/760)), which makes WASM builds both smaller and more reliable. To do this, we re-implement some core types like `AccountId32`, `MultiAddress` and `MultiSignature` internally. - Allow access to storage entries ([#774](https://github.com/pezkuwichain/subxt/pull/774)) and runtime API's ([#777](https://github.com/pezkuwichain/subxt/pull/777)) from some block. This is part of a move towards a more "block centric" interface, which will better align with the newly available `chainHead` style RPC interface. -- Add RPC methods for the new `chainHead` style interface (see https://pezkuwichain.github.io/json-rpc-interface-spec/). These are currently unstable, but will allow users to start experimenting with this new API if their nodes support it. +- Add RPC methods for the new `chainHead` style interface (see https://paritytech.github.io/json-rpc-interface-spec/). These are currently unstable, but will allow users to start experimenting with this new API if their nodes support it. - More advanced type substitution is now possible in the codegen interface ([#735](https://github.com/pezkuwichain/subxt/pull/735)). This release introduces a number of breaking changes that can be generally be fixed with mechanical tweaks to your code. The notable changes are described below. diff --git a/vendor/pezkuwi-subxt/macro/src/lib.rs b/vendor/pezkuwi-subxt/macro/src/lib.rs index e43d7518..dc367041 100644 --- a/vendor/pezkuwi-subxt/macro/src/lib.rs +++ b/vendor/pezkuwi-subxt/macro/src/lib.rs @@ -108,7 +108,7 @@ fn subxt_inner(args: TokenStream, item_mod: syn::ItemMod) -> Result. + // allowed for such types. See . scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut()) .expect("ensure_unique_type_paths should not fail; please report an issue."); diff --git a/vendor/pezkuwi-subxt/rpcs/src/methods/mod.rs b/vendor/pezkuwi-subxt/rpcs/src/methods/mod.rs index 40b72880..4e4b581c 100644 --- a/vendor/pezkuwi-subxt/rpcs/src/methods/mod.rs +++ b/vendor/pezkuwi-subxt/rpcs/src/methods/mod.rs @@ -5,7 +5,7 @@ //! RPC methods are defined in this module. At the moment we have: //! //! - [`ChainHeadRpcMethods`] (and the types in [`chain_head`]): these methods -//! implement the RPC spec at +//! implement the RPC spec at //! //! We also have (although their use is not advised): //! diff --git a/vendor/pezkuwi-subxt/subxt/src/book/setup/config.rs b/vendor/pezkuwi-subxt/subxt/src/book/setup/config.rs index de825e9f..5aaf5b39 100644 --- a/vendor/pezkuwi-subxt/subxt/src/book/setup/config.rs +++ b/vendor/pezkuwi-subxt/subxt/src/book/setup/config.rs @@ -140,7 +140,7 @@ //! | [`frame_system::CheckMortality`](https://docs.rs/frame-system/latest/frame_system/struct.CheckMortality.html) | `sp_runtime::generic::Era` | `Config::Hash` = `sp_core::H256` | //! | [`frame_system::CheckNonce`](https://docs.rs/frame-system/latest/frame_system/struct.CheckNonce.html) | `frame_system::pallet::Config::Index` = u32 | () | //! | [`frame_system::CheckWeight`](https://docs.rs/frame-system/latest/frame_system/struct.CheckWeight.html) | () | () | -//! | [`frame_system::ChargeAssetTxPayment`](https://docs.rs/frame-system/latest/frame_system/struct.ChargeAssetTxPayment.html) | [pallet_asset_tx_payment::ChargeAssetTxPayment](https://docs.rs/pallet-asset-tx-payment/latest/pallet_asset_tx_payment/struct.ChargeAssetTxPayment.html) | () | +//! | [`pallet_asset_tx_payment::ChargeAssetTxPayment`](https://docs.rs/pallet-asset-tx-payment/latest/pallet_asset_tx_payment/struct.ChargeAssetTxPayment.html) | [pallet_asset_tx_payment::ChargeAssetTxPayment](https://docs.rs/pallet-asset-tx-payment/latest/pallet_asset_tx_payment/struct.ChargeAssetTxPayment.html) | () | //! //! All types in the `struct type` column make up the "extra" data that we're expected to provide. //! All types in the `AdditionalSigned` column make up the "additional" data that we're expected to diff --git a/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs b/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs index a5e161fd..400000d3 100644 --- a/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs +++ b/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs @@ -592,7 +592,7 @@ where .await .map_err(ExtrinsicError::CannotGetLatestFinalizedBlock)?; - // destructuring RuntimeDispatchInfo, see type information + // destructuring RuntimeDispatchInfo, see type information // data layout: {weight_ref_time: Compact, weight_proof_size: Compact, class: u8, // partial_fee: u128} let (_, _, _, partial_fee) = self