Skip to main content
1 vote
Accepted

ModuleError design choice

In the early days, index and error used to be u8 ;) However, there is support for nested errors and thus, it was increased to 4 bytes for the error type.
bkchr's user avatar
  • 11.6k
1 vote
Accepted

Pallet assets `TokenError` in stead of native error

Not, 100% sure if this is expected. However, the code is written this way. This into_result() is the "problem". It converts from the DepositConsequence to a Result<(), TokenError> and ...
bkchr's user avatar
  • 11.6k

Only top scored, non community-wiki answers of a minimum length are eligible