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

Add event for showing the hash of an UMP sent message #1228

Merged
Prev Previous commit
Next Next commit
Remove todo
  • Loading branch information
girazoki committed Jan 3, 2023
commit d9ab982154850811caf8f7c8df6a1a4d326872e7
2 changes: 0 additions & 2 deletions pallets/parachain-system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,6 @@ impl<T: Config> Pallet<T> {

// The relay ump does not use using_encoded
// We apply the same this to use the same hash
// TODO: shall we change both ump and this to
// message.using_encoded(sp_io::hashing::blake2_256)?
let hash = sp_io::hashing::blake2_256(message);
Self::deposit_event(Event::UpwardMessageSent { message_hash: Some(hash) });
Ok((0, hash))
Expand Down