edr icon indicating copy to clipboard operation
edr copied to clipboard

Deny unknown fields in the JSON-RPC layer

Open fvictorio opened this issue 1 year ago • 0 comments

The JSON-RPC layer shouldn't accept parameters with unknown fields. This might cause some projects to start throwing errors, either because they are making a mistake or because we are missing some field. But in both cases, finding out about it is a good thing.

See https://github.com/NomicFoundation/hardhat/pull/4869 for the PR that temporarily removed this behavior.

fvictorio avatar Feb 16 '24 08:02 fvictorio