Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
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
add some type size
  • Loading branch information
xiaoch05 committed Mar 17, 2021
commit 2273f7d698faa15807d1c26793d3feb6449522fd
3 changes: 3 additions & 0 deletions darwinia/src/events/darwinia_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ impl DarwiniaEvents {
decoder.register_type_size::<(u64, u32, u32)>("RelayAffirmationId");
decoder.register_type_size::<u32>("EraIndex");
decoder.register_type_size::<u64>("EthereumBlockNumber");
decoder.register_type_size::<[u8; 20]>("H160");
decoder.register_type_size::<[u8; 32]>("H256");
decoder.register_type_size::<[u8; 32]>("U256");
DarwiniaEvents { decoder, client }
}

Expand Down