HomeThat World

accounts/abi, signer/fourbyte: fix incorrect signature (#19881)

Authored by gary rong <garyrong0905@gmail.com> on Aug 2 2019, 7:20 AM.

Description

accounts/abi, signer/fourbyte: fix incorrect signature (#19881)

The abi package already supports function overload by adding a suffix to the overloaded function name, but it uses the function name with suffix to calculate signature(both for the event and method).

This PR fixes it by adding a new field named RawName, which can be used to calcuate all signatures but use Name to distinguish different overloaded function.

Details

Event Timeline

Martin Holst Swende <martin@swende.se> committed rGETH947f5f2b152e: accounts/abi, signer/fourbyte: fix incorrect signature (#19881) (authored by gary rong <garyrong0905@gmail.com>).Aug 2 2019, 7:20 AM