Skip to content
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

Polkadot v0.9.29 #977

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0bf8ada
Upgrade to Polkadot v0.9.28
gruberb Oct 13, 2022
00ae064
Role::Light got removed, added weights
gruberb Sep 5, 2022
e75e2a3
cargo fmt
gruberb Sep 5, 2022
d537b0d
Add trait bounds
gruberb Sep 15, 2022
830753c
update fudge and xcm-emulator
gruberb Oct 13, 2022
0929029
Update dependencies, add trait bounds
gruberb Sep 21, 2022
566b846
Fix nft tests
gruberb Sep 21, 2022
13d1663
Simplify trait bounds, use correct types
gruberb Sep 7, 2022
1388322
Add updated roco-local
gruberb Sep 8, 2022
f3cc8ab
Updating latest dependencies to 0.9.28
gruberb Sep 29, 2022
7378b0a
Test default-features
gruberb Sep 29, 2022
2ba7b6d
Merge latest parachain
gruberb Sep 29, 2022
3b2ffc5
Update Cargo.lock
gruberb Oct 13, 2022
7d7bc9e
Upgrade to 0.9.29
gruberb Oct 13, 2022
0940cff
Update docker image
gruberb Sep 19, 2022
0c614cf
Rebase on latest parachain
gruberb Sep 29, 2022
d1a7fe4
Update fudge, update keystore/weights.rs
gruberb Sep 29, 2022
355a90c
Update weights.rs files in pallets
gruberb Sep 21, 2022
92cd946
Update weights
gruberb Sep 29, 2022
ebe079b
Adjust
gruberb Sep 23, 2022
2c419ea
Rebase
gruberb Sep 29, 2022
997afdf
Adjusting to new Weight struct
gruberb Sep 23, 2022
e431159
Update weights in loans pallet
gruberb Sep 23, 2022
3fd22bb
Upgrade orml-* to 0.9.29
gruberb Sep 29, 2022
d17545d
update xrm-emulator
gruberb Sep 29, 2022
c8bdc3f
Added Cargo.lock
gruberb Oct 13, 2022
856e456
Update runtime weights
gruberb Oct 17, 2022
ffb3573
cargo + nix
gruberb Oct 17, 2022
5b7ff33
flake.nix
gruberb Oct 17, 2022
59fc04e
Fixing xcm upgrade errors
gruberb Oct 17, 2022
476517f
updating cargo dependencies
gruberb Oct 17, 2022
b18c674
Update weights in centrifuge and dev runtime
gruberb Oct 17, 2022
a47f8ad
Fix pallet-democracy in centrifuge runtime
gruberb Oct 17, 2022
7267970
Adjust scripts anf fix mocks
gruberb Oct 17, 2022
081891e
getrandom
gruberb Oct 17, 2022
4480180
Update const types in cent runtime
gruberb Oct 17, 2022
6a2553c
flake.nix + cargo fmt
gruberb Oct 17, 2022
06b67dc
cargo clippy
gruberb Oct 17, 2022
bec7cb7
weight fix
gruberb Oct 17, 2022
8199e69
getrandom
gruberb Oct 17, 2022
5b766ce
flake.nix
gruberb Oct 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cargo fmt
  • Loading branch information
gruberb committed Oct 17, 2022
commit e75e2a37b6294ca456bc96c9f436793e2ae1d3d6
18 changes: 9 additions & 9 deletions pallets/restricted-tokens/src/impl_fungibles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<AssetId, AccountId, Balance>

impl<T: Config> Inspect<T::AccountId> for Pallet<T>
where
T::CurrencyId: MaxEncodedLen
T::CurrencyId: MaxEncodedLen,
{
type AssetId = T::CurrencyId;
type Balance = T::Balance;
Expand Down Expand Up @@ -136,8 +136,8 @@ pub enum FungiblesInspectHoldEffects<AssetId, AccountId, Balance> {
}

impl<T: Config> InspectHold<T::AccountId> for Pallet<T>
where
T::CurrencyId: MaxEncodedLen
where
T::CurrencyId: MaxEncodedLen,
{
fn balance_on_hold(asset: Self::AssetId, who: &T::AccountId) -> Self::Balance {
if asset == T::NativeToken::get() {
Expand Down Expand Up @@ -182,8 +182,8 @@ pub enum FungiblesMutateEffects<AssetId, AccountId, Balance> {
}

impl<T: Config> Mutate<T::AccountId> for Pallet<T>
where
T::CurrencyId: MaxEncodedLen
where
T::CurrencyId: MaxEncodedLen,
{
fn mint_into(
asset: Self::AssetId,
Expand Down Expand Up @@ -262,8 +262,8 @@ pub enum FungiblesMutateHoldEffects<AssetId, AccountId, Balance> {
}

impl<T: Config> MutateHold<T::AccountId> for Pallet<T>
where
T::CurrencyId: MaxEncodedLen
where
T::CurrencyId: MaxEncodedLen,
{
fn hold(asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> DispatchResult {
if asset == T::NativeToken::get() {
Expand Down Expand Up @@ -361,8 +361,8 @@ pub enum FungiblesTransferEffects<AssetId, AccountId, Balance> {
}

impl<T: Config> Transfer<T::AccountId> for Pallet<T>
where
T::CurrencyId: MaxEncodedLen
where
T::CurrencyId: MaxEncodedLen,
{
fn transfer(
asset: Self::AssetId,
Expand Down
5 changes: 4 additions & 1 deletion src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,10 @@ impl CliConfiguration<Self> for RelayChainCli {
self.base.base.role(is_dev)
}

fn transaction_pool(&self, _is_dev: bool) -> Result<sc_service::config::TransactionPoolOptions> {
fn transaction_pool(
&self,
_is_dev: bool,
) -> Result<sc_service::config::TransactionPoolOptions> {
self.base.base.transaction_pool()
}

Expand Down