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
Daniel Liu
9340a81ce1
accounts/abi/bind: support closing a simulated backend ( #19902 )
2025-01-24 16:18:29 +08:00
Daniel Liu
587f6b3438
accounts/abi/bind: fix typo in comments ( #19791 )
2025-01-24 16:18:29 +08:00
Daniel Liu
0050f84142
accounts/abi: enable struct golang binding generation ( #18491 )
...
* accounts/abi, cmd/abigen: support tuple
accounts/abi/bind, cmd/abigen: add objc back
accounts/abi/bind: use byte[24] as function indicator
accounts/abi/bind: resolve struct slice or array
accounts/abi/bind: remove sort logic
accounts: fix issues in abi
* accounts/abi: address comment
2025-01-24 16:18:29 +08:00
Daniel Liu
71e4c0609a
accounts/abi: Fix method overwritten by same name methods ( #17099 )
...
* accounts/abi: Fix method overwritten by same name methods.
* accounts/abi: Fix method overwritten by same name methods.
* accounts/abi: avoid possible name conflict
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
2025-01-24 16:18:29 +08:00
Daniel Liu
f542e463d3
accounts: implement simple checkpoint syncing ( #19543 )
2025-01-24 16:18:29 +08:00
Daniel Liu
6aeab6a207
accounts/abi/bind: rename NewKeystoreTransactor ( #19703 )
...
renamed NewKeyStoreFromTransactor to NewKeystoreTransactor
fixed godoc
2025-01-24 16:18:29 +08:00
Daniel Liu
313018496f
accounts: added transactorFromKeyStore ( #19685 )
2025-01-24 16:18:29 +08:00
Daniel Liu
769a34bfb7
accounts/abi: generic unpacking of event logs into map[string]interface{} ( #18440 )
...
Add methods that allow for the unpacking of event logs into maps (allows for agnostic unpacking of logs)
2025-01-24 16:18:29 +08:00
Daniel Liu
e4d78ed594
accounts/abi/bind: static byte arrays should be right-padded ( #19269 )
2025-01-24 16:18:29 +08:00
Daniel Liu
5d0dea852e
accounts/abi: mutex lock in TransactionByHash and code cleanup ( #19133 )
2025-01-24 16:18:29 +08:00
Daniel Liu
99092ac54f
accounts/abi/bind/backends: add TransactionByHash to SimulatedBackend ( #19026 )
2025-01-24 16:18:29 +08:00
Daniel Liu
48de514dd9
accounts/abi/bind: add optional block number for calls ( #17942 )
2025-01-24 16:18:28 +08:00
Daniel Liu
eb90b2899f
backends: increase gaslimit in order to allow tests of large contracts ( #17358 )
2025-01-24 16:18:28 +08:00
JukLee0ira
653b59710e
core/rawdb: separate raw database access to own package ( #16666 #19345 )
2025-01-22 15:19:39 +08:00
Daniel Liu
6e33633d28
common: drop BigMin and BigMax, they pollute our dep graph ( #30645 )
2024-12-28 09:06:31 +08:00
Daniel Liu
6ec35b9644
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
2024-12-28 09:06:31 +08:00
Daniel Liu
30f835c6a4
accounts/abi: common/math: moved U256Bytes ( #21020 )
2024-12-28 09:06:30 +08:00
Daniel Liu
d6957d9283
accounts/abi/bind: remove test case UseLibrary
2024-12-28 09:06:30 +08:00
Daniel Liu
993bc6963e
accounts/abi/bind: link dependent libs in deploy ( #19718 )
2024-12-28 09:06:30 +08:00
Daniel Liu
7455b91800
accounts/abi/bind: accept function ptr parameter ( #19755 )
2024-12-28 09:06:30 +08:00
Daniel Liu
91570dce8a
accounts/abi: fix mobile interface ( #19180 )
2024-12-28 09:06:30 +08:00
Daniel Liu
75c14d2cdb
accounts/abi: fix case of generated java functions ( #18372 )
2024-12-28 09:06:30 +08:00
Daniel Liu
e58441b317
accounts/abi: change unpacking of abi fields w/ underscores ( #16513 )
2024-12-28 09:06:30 +08:00
Daniel Liu
7cd3e56d18
accounts/abi/bind: stop using goimports in the binding generator ( #17768 #20311 )
2024-12-28 09:06:30 +08:00
Daniel Liu
efa2605f26
accounts/abi/bind/backends: fix wrong gas returned by EstimateGas
2024-12-28 09:02:48 +08:00
JukLee0ira
48d1f22fde
all: simplify function TransitionDb ( #20830 )
2024-12-28 09:02:48 +08:00
JukLee0ira
7491a7ba74
all: improve EstimateGas API ( #20830 )
2024-12-21 14:35:44 +08:00
Daniel Liu
ad5e7d6db3
crypto: add SignatureLength constant and use it everywhere ( #19996 )
2024-12-09 17:48:59 +08:00
Daniel Liu
02a59e8d84
all: replace strings.Replace with string.ReplaceAll ( #24835 )
2024-12-08 11:51:14 +08:00
JukLee0ira
cba5782884
accounts, build, mobile: remove Android and iOS support ( #26599 )
2024-11-15 15:46:25 +08:00
Daniel Liu
a294c2080d
all: fix null effectiveGasPrice
2024-11-01 11:36:53 +08:00
Marius van der Wijden
d2a10ef8ec
accounts/abi/bind/backends: make suggestGasPrice compatible with non-1559 chains ( #23840 )
2024-11-01 11:36:53 +08:00
Daniel Liu
66be9b665b
accounts/abi/bin/backends: return basefee in suggestGasPrice's ( #23838 )
2024-11-01 11:36:53 +08:00
KibGzr
2d5f9d9e62
accounts/abi/bind: fix error handling in baseFee query ( #23781 )
...
This fixes a panic that occurs when HeaderByNumber() returns an error.
2024-11-01 11:36:53 +08:00
Daniel Liu
eec8da371c
accounts/abi/bind: refactor transact method ( #23719 )
2024-11-01 11:36:53 +08:00
Daniel Liu
d850fc4081
core: only check sendernoeoa in non fake mode ( #23424 )
2024-11-01 11:36:53 +08:00
Daniel Liu
3212ec319b
accounts/abi/bind: fix gas price suggestion with pre EIP-1559 clients ( #23102 )
2024-11-01 11:36:52 +08:00
Daniel Liu
dbdca11501
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
2024-11-01 11:36:52 +08:00
Martin Redmond
e93d78cc09
accounts/abi/bind: add NoSend transact option ( #22446 )
...
This adds a new option to avoid sending the transaction which is
created by calling a bound contract method.
2024-11-01 11:36:52 +08:00
Daniel Liu
4c096de9b0
all: rename internal 1559 gas fields ( #23010 )
2024-11-01 11:36:52 +08:00
Daniel Liu
e18553b855
all: implement eip-1559 ( #22837 )
2024-11-01 11:36:52 +08:00
Daniel Liu
2306ceafb2
fix impossible condition: nil != nil
2024-10-31 09:01:12 +08:00
Daniel Liu
4709ca3f13
all: fix staticcheck warning SA1006
2024-10-28 15:13:21 +08:00
Daniel Liu
f79763ca88
all: fix staticcheck warning S1039: unnecessary use of fmt.Sprintf
2024-10-24 12:49:37 +08:00
JukLee0ira
47d27fed3b
all: replace uses of ioutil with io and os ( #24869 )
2024-09-27 15:14:17 +08:00
Daniel Liu
5470485450
all: split vm.Context into BlockContext and TxContext ( #21672 )
2024-09-21 22:18:10 +08:00
JukLee0ira
bea4431f6f
eth/filters: avoid block body retrieval when no matching logs ( #25199 )
2024-08-03 10:03:22 +08:00
JukLee0ira
ad71d706fb
all: add global block logs cache ( #25459 )
2024-08-03 10:03:22 +08:00
JukLee0ira
0c9f2fcceb
eth/filters: fix pending for getLogs ( #24949 )
2024-08-03 10:03:22 +08:00