Input to the validators method and endpoint should be validated although in the mainchain protocol, it is indirectly validated in the commands which calls the methods.
in the validator method and endpoint, popVerify is called in the internal method and it will return false if the size does not match.
Therefore, it is not required to check upfront
Expected behavior
Input to the validators method and endpoint should be validated although in the mainchain protocol, it is indirectly validated in the commands which calls the methods.
Actual behavior
Some length checks in https://github.com/LiskHQ/lisk-sdk/blob/89e7504ef5eb6183aefe576a93be3d6052e56038/framework/src/modules/validators/method.ts or https://github.com/LiskHQ/lisk-sdk/blob/89e7504ef5eb6183aefe576a93be3d6052e56038/framework/src/modules/validators/endpoint.ts#L30 are missing
Steps to reproduce
N/A
Which version(s) does this affect? (Environment, OS, etc...)
6.0.0-beta.1-