Companion PR for Substrate #7233 (#1791)

* Update constant weight signatures

* Keep timestamp constant time

* constant as_derivative

* cargo update -p sp-io

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2020-10-17 15:58:23 +02:00
committed by GitHub
parent a7e9aedbc5
commit 11bbb076cc
12 changed files with 137 additions and 151 deletions
@@ -25,8 +25,7 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
// WARNING! Some components were not used: ["b"]
fn remark() -> Weight {
fn remark(_b: u32) -> Weight {
(1_816_000 as Weight)
}
fn set_heap_pages() -> Weight {