go-ethereum/accounts
maskpp bc67e7dd48
accounts/abi: generate TryPack* methods for abigen v2 bindings (#31692)
1. Fix the error return format.
**todo**: ~~`bindtype` needs more complex logic to fix it.~~
`
if err != nil {
  return nil, err
}
if err == nil {
  return obj, nil
}
`
2. ~~Return pointer type object to avoid copying the whole struct
content.~~
3. Give the panic decision to the user.
4. Fix empty line at the end of function.

**TODO**: ~~fix some related test cases.~~

---------

Co-authored-by: Jared Wasinger <j-wasinger@hotmail.com>
2025-07-02 15:16:54 +09:00
..
abi accounts/abi: generate TryPack* methods for abigen v2 bindings (#31692) 2025-07-02 15:16:54 +09:00
external all: implement eip-7702 set code tx (#30078) 2024-12-16 11:29:37 +01:00
keystore cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00
scwallet accounts: avoid duplicate regex compilation (#29943) 2024-06-12 10:46:36 +03:00
usbwallet accounts/usbwallet: full 32bit chainId support for Trezor (#17439) 2025-04-10 12:46:54 +02:00
accounts.go all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
accounts_test.go accounts: run tests in parallel (#28544) 2023-12-04 14:55:06 +01:00
errors.go accounts: fix typo in comments (#24805) 2022-05-03 08:49:41 +02:00
hd.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
hd_test.go accounts: run tests in parallel (#28544) 2023-12-04 14:55:06 +01:00
manager.go accounts: fix data race when closing manager (#31982) 2025-06-17 14:44:51 +02:00
sort.go accounts, console: frendly card errors, support pin unblock 2019-04-08 13:19:37 +02:00
url.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
url_test.go accounts: run tests in parallel (#28544) 2023-12-04 14:55:06 +01:00