-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade to polkadot 2409 #965
base: master
Are you sure you want to change the base?
Conversation
Crate versions that have not been updated:
Crate versions that have been updated:
Runtime version has been increased. |
let deps = crate::rpc::FullDeps { | ||
client: client.clone(), | ||
pool: transaction_pool.clone(), | ||
deny_unsafe, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where this moved to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was removed. You can find more info here paritytech/polkadot-sdk#4792
@@ -782,6 +784,19 @@ impl<T: Config> Pallet<T> { | |||
Ok(amount_in_and_outs) | |||
} | |||
|
|||
pub fn calculate_expected_amount_in( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a new method in the AssetExchange
trait and I needed it in the implementation of this methd.
pallet_route_executor::Pallet::<Runtime>::calculate_expected_amount_in(&route, amount.into()).ok()?; |
@@ -146,13 +146,8 @@ impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { | |||
|
|||
impl pallet_treasury::Config for Runtime { | |||
type Currency = Balances; | |||
type ApproveOrigin = EitherOf<EnsureRoot<AccountId>, Treasurer>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did this go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ApproveOrigin
is used only in one extrinsic, approve_proposal
. The extrinsic was deprecated and replaced by spend
extrinsic and SpendOrigin
.
Notable changes:
whitelist ips
in rate limiting paritytech/polkadot-sdk#3701.Changes in config params:
TODO: