abiencoder icon indicating copy to clipboard operation
abiencoder copied to clipboard

constructor name should be undefined in README example

Open esaulpaugh opened this issue 3 years ago • 0 comments

According to the abi-spec:

Constructor and fallback function never have `name` or `outputs`

but the ABI example defines a constructor with name of empty string:

"type": "constructor",
"name": "",

The name value should be null or the name key should not be present at all.

esaulpaugh avatar Nov 23 '22 01:11 esaulpaugh