-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Companion PR for #7136 (WeightInfo for Session / Offences) #1735
Conversation
Waiting for commit status. |
Head SHA changed; merge aborted. |
@@ -57,31 +56,6 @@ fn weight_of_system_set_code_is_correct() { | |||
assert_eq!(weight, expected_weight); | |||
} | |||
|
|||
#[test] |
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.
We remove these tests because the weights no longer come from downstream Substrate, but we define them locally in the Repo.
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.
Shouldn't we be defining WeightInfo
for pallet_session
in this PR?
At least it should be done before next release |
@shawntabrizi 😬 lets do this and get this merged, please! |
It will be done all in one final PR to avoid back to back merge conflicts. Even if we dont, the values we get for substrate would be fine anyway. (but it will be done) |
bot merge |
Trying merge. |
* master: Update to substrate 2.0 (#1744) Companion: Handle construct_runtime breaking change. (#1692) Companion for `ModuleToIndex` to `PalletInfo` rename (#1743) Companion for substrate/pull/7161 (#1739) Companion for 7155 (WeightInfo for Babe and Grandpa) (#1736) Companion PR for #7136 (WeightInfo for Session / Offences) (#1735)
This is a simple PR that removes the
WeightInfo
trade for pallet_offences (as the weight information should come from the different implementations ofOnOffence
.paritytech/substrate#7136