Skip to content

chore: revamp cleanups#1604

Draft
ipapandinas wants to merge 1 commit intomasterfrom
chore/revamp-cleanup
Draft

chore: revamp cleanups#1604
ipapandinas wants to merge 1 commit intomasterfrom
chore/revamp-cleanup

Conversation

@ipapandinas
Copy link
Contributor

Pull Request Summary

This PR performs the following cleanups:

  • Remove DynamicPercentage variant
  • Remove slot_number_args
  • Remove MaxNumberOfContractsLegacy config parameter
  • Prune old PeriodEnd entries
  • Remove Oracle, OracleMembership, PriceAggregator and StaticPrice pallets and all related code

@ipapandinas ipapandinas added shiden related to shiden runtime astar Related to Astar shibuya related to shibuya runtime This PR/Issue is related to the topic “runtime”. labels Mar 17, 2026
Copy link
Contributor

@Dinonard Dinonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick glance, LGTM overall

type AnnouncementDepositFactor = AnnouncementDepositFactor;
}

parameter_types! {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to re-run benchmarks since some operations will be more light weight now.

Comment on lines +110 to +115
OldTierThreshold::DynamicPercentage { percentage, .. } => {
TierThreshold::FixedPercentage {
required_percentage: *percentage,
}
}
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't exist in live chains anymore though, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

astar Related to Astar runtime This PR/Issue is related to the topic “runtime”. shibuya related to shibuya shiden related to shiden runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants