Update weight for im-online (#5771)

* implementation using Keys::decode_len

* add heartbeat new param

* address issues

* improve doc

* fix test

* fix overflow
This commit is contained in:
thiolliere
2020-04-27 21:46:37 +02:00
committed by GitHub
parent ee54eff488
commit dc09f76189
4 changed files with 76 additions and 17 deletions
@@ -51,6 +51,7 @@ fn should_submit_unsigned_transaction() {
network_state: Default::default(),
session_index: 1,
authority_index: 0,
validators_len: 0,
};
let call = pallet_im_online::Call::heartbeat(heartbeat_data, signature);