normalize_function_signature() misbehaves when function name contains a Solidity type
Closed this issue · 2 comments
smarx commented
applies the regular expression here:
to the entire submitted signature, including the function name.
ethereum-function-signature-registry/func_sig_registry/utils/solidity.py
Lines 127 to 135 in 99d5cbe
This caused me problems when trying to submit signatures with the function name mint
(which includes the string "int").
mint(uint256 nonce, bytes32 challenge_digest)
was misinterpreted as mint(int256,uint256,bytes32)
.
mint(address _to, uint256 _amount)
failed with a 500. (My guess is that it's already been submitted.)
pipermerriam commented
Should be resolved.