go-ethereum/accounts/abi
Daniel Liu 5009a3df04 accounts/abi: 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.
2025-01-24 16:18:29 +08:00
..
bind accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
abi.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
abi_test.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
argument.go accounts/abi: enable struct golang binding generation (#18491) 2025-01-24 16:18:29 +08:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
event.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
event_test.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
method.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
method_test.go accounts/abi: enable struct golang binding generation (#18491) 2025-01-24 16:18:29 +08:00
numbers.go accounts/abi: remove deadcode isSigned (#16990) 2025-01-24 16:18:28 +08:00
pack.go accounts/abi: common/math: moved U256Bytes (#21020) 2024-12-28 09:06:30 +08:00
pack_test.go accounts/abi: fix incorrect signature (#19881) 2025-01-24 16:18:29 +08:00
reflect.go accounts/abi: enable struct golang binding generation (#18491) 2025-01-24 16:18:29 +08:00
reflect_test.go accounts/abi: Add tests for reflection ahead of refactor (#18434) 2025-01-24 16:18:29 +08:00
type.go accounts/abi: enable struct golang binding generation (#18491) 2025-01-24 16:18:29 +08:00
type_test.go accounts/abi: add the original name as json-structtag for tuples (#19340) 2025-01-24 16:18:29 +08:00
unpack.go accounts/abi: generic unpacking of event logs into map[string]interface{} (#18440) 2025-01-24 16:18:29 +08:00
unpack_test.go accounts/abi: enable struct golang binding generation (#18491) 2025-01-24 16:18:29 +08:00