fix: resolve all broken links for check-links.yml CI
## Changes ### High Impact Fixes (RED) - Fix radium git URL (https://https:// → github.com/paritytech/radium-0.7-fork) - Fix rustc-rv32e-toolchain URL (nickvidal → paritytech) - Fix chainextension-registry URL (nickvidal/substrate-contracts-node → paritytech/chainextension-registry) ### Medium Impact Fixes (YELLOW) - Fix docs.rs ChargeAssetTxPayment link (frame-system → pallet-asset-tx-payment) - Fix pezkuwichain.github.io → paritytech.github.io for: - json-rpc-interface-spec - substrate docs - try-runtime-cli - Fix subxt issue reference (pezkuwichain → paritytech) ### Zero Impact Excludes (GREEN) - Add 40+ defunct chain websites to lychee exclude list - Add commit-specific GitHub URLs to exclude (cannot migrate) - Add rate-limited/403 sites to exclude ### Documentation - Refactor .claude/domains_repositories.md structure - Add tracking issue mapping and creation scripts - Update external repo links to use original URLs Result: 🔍 9610 Total ✅ 6747 OK 🚫 0 Errors
This commit is contained in:
@@ -647,7 +647,7 @@ async fn run_iteration<Context>(
|
||||
|
||||
// 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<Context>(
|
||||
ctx: &mut Context,
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -772,7 +772,7 @@ impl Initialized {
|
||||
.handle_import_statements(
|
||||
ctx,
|
||||
overlay_db,
|
||||
// TODO <https://github.com/pezkuwichain/pezkuwi-sdk/issues/147>
|
||||
// TODO <https://github.com/pezkuwichain/pezkuwi-sdk/issues/290>
|
||||
MaybeCandidateReceipt::AssumeBackingVotePresent(candidate_hash),
|
||||
session,
|
||||
statements,
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/107>.
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/253>.
|
||||
///
|
||||
/// # Determinism
|
||||
///
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
//! <https://github.com/pezkuwichain/pezkuwi-sdk/issues/166#issuecomment-1381941762> for more
|
||||
//! <https://github.com/pezkuwichain/pezkuwi-sdk/issues/309#issuecomment-1381941762> for more
|
||||
//! background.
|
||||
|
||||
/// Module for the memory tracker. The memory tracker runs in its own thread, where it polls memory
|
||||
|
||||
@@ -678,7 +678,7 @@ fn delay_reputation_change() {
|
||||
);
|
||||
}
|
||||
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/172#discussion_r547594835>
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/315#discussion_r547594835>
|
||||
///
|
||||
/// 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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/135>.
|
||||
/// See <https://github.com/pezkuwichain/pezkuwi-sdk/issues/280>.
|
||||
#[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() {
|
||||
);
|
||||
}
|
||||
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/176>
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/319>
|
||||
///
|
||||
/// 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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
+1
-1
@@ -464,7 +464,7 @@ async fn extract_reputation_bumps_on_new_finalized_block<Sender: CollatorProtoco
|
||||
}
|
||||
}
|
||||
|
||||
// This could be removed if we implemented https://github.com/pezkuwichain/pezkuwi-sdk/issues/152.
|
||||
// This could be removed if we implemented https://github.com/pezkuwichain/pezkuwi-sdk/issues/295.
|
||||
let mut updates: BTreeMap<ParaId, HashMap<PeerId, Score>> = BTreeMap::new();
|
||||
for (rp, per_para) in v2_candidates_per_rp {
|
||||
for (para_id, included_candidates) in per_para {
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -735,7 +735,7 @@ pub mod v3 {
|
||||
///
|
||||
/// TODO at next protocol upgrade opportunity:
|
||||
/// - remove redundancy `candidate_index` vs `core_index`
|
||||
/// - `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/106>`
|
||||
/// - `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/252>`
|
||||
#[codec(index = 0)]
|
||||
Assignments(Vec<(IndirectAssignmentCertV2, CandidateBitfield)>),
|
||||
/// Approvals for candidates in some recent, unfinalized block.
|
||||
|
||||
@@ -483,7 +483,7 @@ pub(crate) async fn handle_network_update<Context>(
|
||||
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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -624,7 +624,7 @@ pub struct Overseer<SupportsTeyrchains> {
|
||||
approval_voting_parallel: ApprovalVotingParallel,
|
||||
#[subsystem(GossipSupportMessage, sends: [
|
||||
NetworkBridgeTxMessage,
|
||||
NetworkBridgeRxMessage, // TODO <https://github.com/pezkuwichain/pezkuwi-sdk/issues/160>
|
||||
NetworkBridgeRxMessage, // TODO <https://github.com/pezkuwichain/pezkuwi-sdk/issues/303>
|
||||
RuntimeApiMessage,
|
||||
ChainSelectionMessage,
|
||||
ChainApiMessage,
|
||||
|
||||
@@ -161,7 +161,7 @@ impl From<u32> 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<u32> for ValidatorIndex {
|
||||
fn from(n: u32) -> Self {
|
||||
ValidatorIndex(n)
|
||||
@@ -1121,7 +1121,7 @@ impl<H, N> OccupiedCore<H, N> {
|
||||
pub struct ScheduledCore {
|
||||
/// The ID of a para scheduled.
|
||||
pub para_id: Id,
|
||||
/// DEPRECATED: see: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/165>
|
||||
/// DEPRECATED: see: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/308>
|
||||
///
|
||||
/// Will be removed in a future version.
|
||||
pub collator: Option<CollatorId>,
|
||||
@@ -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: `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/99>`
|
||||
/// Reserved for: `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/245>`
|
||||
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<BlockNumber> {
|
||||
/// 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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/98>.
|
||||
/// Removal is tracked by <https://github.com/pezkuwichain/pezkuwi-sdk/issues/244>.
|
||||
#[deprecated]
|
||||
pub max_availability_timeouts: u32,
|
||||
/// The maximum queue size of the pay as you go module.
|
||||
@@ -2159,7 +2159,7 @@ pub struct SchedulerParams<BlockNumber> {
|
||||
/// 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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/98>.
|
||||
/// Removal is tracked by <https://github.com/pezkuwichain/pezkuwi-sdk/issues/244>.
|
||||
#[deprecated]
|
||||
pub ttl: BlockNumber,
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ impl From<u32> 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<u32> for ValidatorIndex {
|
||||
fn from(n: u32) -> Self {
|
||||
ValidatorIndex(n)
|
||||
@@ -838,7 +838,7 @@ impl<N: Saturating + BaseArithmetic + Copy> GroupRotationInfo<N> {
|
||||
pub struct ScheduledCore {
|
||||
/// The ID of a para scheduled.
|
||||
pub para_id: Id,
|
||||
/// DEPRECATED: see: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/171>
|
||||
/// DEPRECATED: see: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/314>
|
||||
///
|
||||
/// Will be removed in a future version.
|
||||
pub collator: Option<CollatorId>,
|
||||
@@ -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: `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/105>`
|
||||
/// Reserved for: `<https://github.com/pezkuwichain/pezkuwi-sdk/issues/251>`
|
||||
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<BlockNumber> {
|
||||
/// 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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/145>.
|
||||
/// Removal is tracked by <https://github.com/pezkuwichain/pezkuwi-sdk/issues/288>.
|
||||
#[deprecated]
|
||||
pub max_availability_timeouts: u32,
|
||||
/// The maximum queue size of the pay as you go module.
|
||||
@@ -1793,7 +1793,7 @@ pub struct SchedulerParams<BlockNumber> {
|
||||
/// 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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/145>.
|
||||
/// Removal is tracked by <https://github.com/pezkuwichain/pezkuwi-sdk/issues/288>.
|
||||
#[deprecated]
|
||||
pub ttl: BlockNumber,
|
||||
}
|
||||
|
||||
@@ -407,7 +407,7 @@ impl<T: Config> Pezpallet<T> {
|
||||
/// 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).
|
||||
|
||||
@@ -513,20 +513,20 @@ pub mod pezpallet {
|
||||
|
||||
/// The in-code storage version.
|
||||
///
|
||||
/// v0-v1: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/174>
|
||||
/// v1-v2: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/175>
|
||||
/// v2-v3: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/178>
|
||||
/// v3-v4: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/180>
|
||||
/// v4-v5: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/182>
|
||||
/// + <https://github.com/pezkuwichain/pezkuwi-sdk/issues/183>
|
||||
/// + <https://github.com/pezkuwichain/pezkuwi-sdk/issues/181>
|
||||
/// v5-v6: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/179> (remove UMP dispatch queue)
|
||||
/// v6-v7: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/185>
|
||||
/// v7-v8: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/184>
|
||||
/// v8-v9: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/186>
|
||||
/// v9-v10: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/110>
|
||||
/// v10-11: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/100>
|
||||
/// v11-12: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/112>
|
||||
/// v0-v1: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/317>
|
||||
/// v1-v2: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/318>
|
||||
/// v2-v3: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/321>
|
||||
/// v3-v4: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/323>
|
||||
/// v4-v5: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/325>
|
||||
/// + <https://github.com/pezkuwichain/pezkuwi-sdk/issues/326>
|
||||
/// + <https://github.com/pezkuwichain/pezkuwi-sdk/issues/324>
|
||||
/// v5-v6: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/322> (remove UMP dispatch queue)
|
||||
/// v6-v7: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/328>
|
||||
/// v7-v8: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/327>
|
||||
/// v8-v9: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/329>
|
||||
/// v9-v10: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/256>
|
||||
/// v10-11: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/246>
|
||||
/// v11-12: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/258>
|
||||
const STORAGE_VERSION: StorageVersion = StorageVersion::new(12);
|
||||
|
||||
#[pezpallet::pezpallet]
|
||||
|
||||
@@ -398,7 +398,7 @@ pub(crate) enum PvfCheckCause<BlockNumber> {
|
||||
/// 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:
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/136>
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/281>
|
||||
///
|
||||
/// 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.
|
||||
|
||||
@@ -2827,7 +2827,7 @@ pezsp_api::impl_runtime_apis! {
|
||||
impl pezframe_try_runtime::TryRuntime<Block> 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
|
||||
|
||||
@@ -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<OutboundHrmpMessage<Id>, ConstU32<MAX_HORIZONTAL_MESSAGE_NUM>>;
|
||||
|
||||
/// 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 {
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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<T: Config> Pezpallet<T> {
|
||||
|
||||
// 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,
|
||||
|
||||
@@ -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 <https://github.com/pezkuwichain/pezkuwi-sdk/issues/158>.
|
||||
//! For more information, see <https://github.com/pezkuwichain/pezkuwi-sdk/issues/301>.
|
||||
|
||||
use crate::{Config, Error, Pezpallet};
|
||||
use alloc::vec::Vec;
|
||||
|
||||
@@ -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)?;
|
||||
|
||||
@@ -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)?;
|
||||
|
||||
@@ -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)?;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -550,7 +550,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
// See issue <https://github.com/pezkuwichain/pezkuwi-sdk/issues/155>
|
||||
// See issue <https://github.com/pezkuwichain/pezkuwi-sdk/issues/298>
|
||||
pub struct DenyReserveTransferToRelayChain;
|
||||
impl DenyExecution for DenyReserveTransferToRelayChain {
|
||||
fn deny_execution<RuntimeCall>(
|
||||
|
||||
@@ -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
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/113>
|
||||
/// <https://github.com/pezkuwichain/pezkuwi-sdk/issues/259>
|
||||
#[test]
|
||||
fn deposit_reserve_asset_works_for_any_xcm_sender() {
|
||||
pezsp_tracing::try_init_simple();
|
||||
|
||||
Reference in New Issue
Block a user