Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Use Polkadot Constants instead of Hardcoding #868

Merged
merged 25 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4723a51
added Polkadot constants
Doordashcon Dec 18, 2021
b5ca45b
remove hardcoded constants
Doordashcon Dec 18, 2021
86f05c6
cargo +nightly fmt
Doordashcon Dec 18, 2021
9e224c3
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 20, 2021
0809b5d
add const existential deposit
Doordashcon Dec 20, 2021
ccc5025
update
Doordashcon Dec 21, 2021
b8f51e5
cargo +nightly fmt
Doordashcon Dec 21, 2021
6aec623
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 21, 2021
50c31f1
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 21, 2021
f0aedab
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 22, 2021
6bde2c7
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 22, 2021
8d9febd
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 26, 2021
02d37b6
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Dec 31, 2021
ea70ac7
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Jan 4, 2022
27f357c
not pulling
Doordashcon Jan 6, 2022
88ece77
readd constants.rs modules
Doordashcon Jan 6, 2022
c8513f2
update
Doordashcon Jan 6, 2022
1f22d4f
Cargo.lock
Doordashcon Jan 6, 2022
0089db8
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Jan 6, 2022
350ce65
update
Doordashcon Jan 6, 2022
cadd901
add balance constants
Doordashcon Jan 7, 2022
00aa8d4
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Jan 11, 2022
9e0395e
Update polkadot-parachains/statemine/src/constants.rs
Doordashcon Jan 11, 2022
e0c16f4
cargo fmt
Doordashcon Jan 12, 2022
207a089
Merge branch 'paritytech:master' into ddc-PCH-T1
Doordashcon Jan 12, 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 +nightly fmt
  • Loading branch information
Doordashcon committed Dec 21, 2021
commit b8f51e597422f12a6fbdef50b755b0a2cc8ecf6d
2 changes: 1 addition & 1 deletion pallets/dmp-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ pub mod pallet {
id, remaining, required,
));
}
}
},
}
}
// Cannot be an `else` here since the `maybe_enqueue_page` may have changed.
Expand Down
4 changes: 2 additions & 2 deletions pallets/xcmp-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,15 +516,15 @@ impl<T: Config> Pallet<T> {
let index = Self::stash_overweight(sender, sent_at, overweight_xcm);
let e = Event::OverweightEnqueued(sender, sent_at, index, required);
Self::deposit_event(e);
}
},
Err(XcmError::WeightLimitReached(required))
if required <= max_weight =>
{
// That message didn't get processed this time because of being
// too heavy. We leave it around for next time and bail.
remaining_fragments = last_remaining_fragments;
break
}
},
Err(_) => {
// Message looks invalid; don't attempt to retry
},
Expand Down