Say i have enum:
#[pallet::error]
pub enum Error<T> {
Error1,
Error2,
Error3,
}
However i realise that Error2 is in fact not in use and i can remove it. Will i have any consequence in doing so?
Since errors return as an index Error3 has gone from index 2 to 1, i worry that if errors are saved historically then you will have to use the runtime at the point of error to correctly decode the error.
Thanks in advance.