Commit 0e0d0a67 authored by Georges's avatar Georges Committed by GitHub
Browse files

Enforce `MaxEncodedLen` impl for `NposSolution` (#11103)

* Fail if `MaxVoters` too small

* Fixing benchmarking test, better naming of error

* reverting accidental change

* use fully qualified syntax
no need to interate to calculate len

* Fail directly if too many voters
parent 7bf19fa9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment