This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
[BUG] PalletIds not uniquely determined by 8 symbol input #10812
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
I don’t exactly know why but setting
TokenWrapperPalletId
like this: https://github.com/webb-tools/protocol-substrate/blob/main/pallets/token-wrapper/src/mock.rs#L157 and settingTreasuryPalletId
like this: https://github.com/webb-tools/protocol-substrate/blob/main/pallets/token-wrapper/src/mock.rs#L131 leads to them both being equal for some reason (specifically they are both equal to8372043756066860909
).After some experimenting it seems that the PalletId is determined only by the first 4 out of 8 symbols. Since the first four symbols of both are
py/t
I think this is why they ended up as equal. Not sure how to confirm this though.The text was updated successfully, but these errors were encountered: