Same as done in #5697 consider fixing this in the new consensus encoding crate.
Same as done in #5697 consider fixing this in the new consensus encoding crate.