protocol-substrate
protocol-substrate copied to clipboard
[TASK] Remove `truncate_and_pad`
Since we are using AccountId([u8; 32]) as out account ids, we should not use truncate_and_pad
which will replace last 12 bytes with zeros, leaving for potential to collisions, which can be exploited by the relayer.