Daniel Liu
e48bda95c3
internal/ethapi: use correct signer when serving old blocks #23683 ( #1598 )
2025-10-08 12:54:57 +08:00
Daniel Liu
a311f01c7a
eth, internal: add getHeaderBy* APIs #19669 ( #1597 )
2025-10-08 12:52:56 +08:00
wit liu
6a1fa08d02
all: refactor to use builtin max/min #32694 ( #1596 )
2025-10-08 12:52:22 +08:00
wit liu
e5c480f234
core/txpool: add eip2681 check for incoming transactions #32726 ( #1594 )
2025-10-08 12:51:48 +08:00
wit liu
7c5d2a45da
accounts/keystore: use ticker to avoid timer allocations #32732 ( #1592 )
2025-10-08 12:50:48 +08:00
Daniel Liu
f9f47d2836
internal/ethapi: move revertError #28703 ( #1591 )
2025-10-08 12:50:02 +08:00
Daniel Liu
dce7b371a0
eth/gasestimator, internal/ethapi: move gas estimator out of rpc #28600 ( #1589 )
2025-10-08 12:47:45 +08:00
wit liu
afdb029356
internal/ethapi: remove unused estimateGasError ( #1588 )
2025-10-08 12:39:11 +08:00
Daniel Liu
6e8d261e42
all: eliminate zero owner variables ( #1587 )
2025-10-08 12:38:32 +08:00
Daniel Liu
940aeb3ccd
internal/ethapi: refactor func DoCall ( #1586 )
2025-10-08 12:36:35 +08:00
Daniel Liu
28c75fc213
internal/ethapi: change Time field to uint64 #26474 ( #1585 )
2025-10-08 12:33:13 +08:00
wit liu
42da35b86c
docs: implement git client hook for developers, close #1578 ( #1584 )
2025-10-08 12:32:26 +08:00
Daniel Liu
486d4cae73
internal/ethapi: add basefee to block overrides #25219 ( #1583 )
...
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
2025-10-08 12:31:36 +08:00
Daniel Liu
54cd4589f0
core: check msg.value earlier in func TransitionDb ( #1582 )
2025-10-08 12:30:22 +08:00
Daniel Liu
8938e27932
all: move err to the last position of return values ( #1581 )
2025-10-08 12:29:38 +08:00
wit liu
09b6622165
accounts/keystore: use runtime.AddCleanup #32610 ( #1580 )
...
Co-authored-by: cui <cuiweixie@gmail.com>
2025-10-08 12:29:03 +08:00
wit liu
9b0a653698
common: use tagged switch on chainID in func CopyConstants ( #1579 )
2025-10-08 12:28:17 +08:00
wit liu
077c4e6a45
accounts/usbwallet/trezor: fix gengerate files ( #1577 )
2025-10-08 12:27:34 +08:00
wit liu
92fdd347cf
Makefile: improve make commands ( #1576 )
2025-10-08 12:26:26 +08:00
wit liu
11e82672fe
cmd: fix lint error mirror ( #1575 )
2025-10-08 12:25:59 +08:00
wit liu
f709ef2edb
all: remove extra empty lines ( #1574 )
2025-10-08 12:25:10 +08:00
Daniel Liu
3f0f3af776
trie: check childrens' existence concurrently for snap heal #25694 ( #1573 )
...
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-10-08 12:24:04 +08:00
Daniel Liu
5e9db6066d
console: add note about typing exit to exit #23602 ( #1532 )
...
* add explicit note about typing exit in console
* Add note about typing exit as alternative
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2025-10-08 12:22:52 +08:00
Daniel Liu
271687e463
core, trie: remove DiskDB function from trie database #25690 ( #1116 )
2025-10-08 12:21:56 +08:00
Daniel Liu
0bd353373e
trie: fix unhandled error in test #25628 ( #1115 )
...
Co-authored-by: Amir Hossein <77993374+Kamandlou@users.noreply.github.com>
2025-10-08 12:20:53 +08:00
Daniel Liu
1c7e92b56e
trie: better error reporting #25645 ( #1114 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-10-08 12:18:14 +08:00
wit liu
cd74961cda
cmd: fix ineffectual assignment ( #1563 )
2025-09-27 10:40:38 +08:00
Daniel Liu
f46920b407
core, eth, internal: improve getBadBlocks to return full block rlp #16902 ( #1595 )
2025-09-26 19:02:13 +08:00
Daniel Liu
0ece8529c4
cmd, eth, internal/ethapi: allow for flag configured timeouts for eth_call #23645 ( #1593 )
2025-09-26 19:01:02 +08:00
Wanwiset Peerapatanapokin
e4ee00adf0
Merge pull request #1590 from XinFinOrg/fix-docker-default-env
...
fix: add default env to runtime image
2025-09-25 16:02:28 +04:00
wanwiset25
6ba021da8c
add default env to runtime image
2025-09-25 15:52:05 +04:00
Daniel Liu
241a5b3fb2
all: using testing.B.Loop ( #1554 )
...
* p2p: using testing.B.Loop
* core/state: using testing.B.Loop
* eth: using testing.B.Loop
* log: using testing.B.Loop
* core: using testing.B.Loop
* core/vm: using testing.B.Loop
* core/types: using testing.B.Loop
* crypto: using testing.B.Loop
2025-09-24 07:59:48 +08:00
wit liu
d20f91057a
all: fix whitespace ( #1572 )
2025-09-24 07:58:40 +08:00
Daniel Liu
aafcae3b28
core/vm: refactor push-functions to use min builtin #29515 ( #1571 )
...
* optimize-push
* revert push1 change
* Update instructions.go
* core/vm: go format
* core/vm: fix nit
---------
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-09-24 07:58:03 +08:00
Daniel Liu
294591e67e
all: remove duplicate word in comments ( #1570 )
2025-09-24 07:57:33 +08:00
Daniel Liu
8d16201f0f
core/vm: reject contract creation if the storage is non-empty #28912 ( #1569 )
...
This change implements EIP-7610, which rejects the contract deployment if the destination has non-empty storage.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-09-24 07:57:02 +08:00
wit liu
fd07811cd0
build: upgrade golangci-lint to v2.5.0 ( #1568 )
2025-09-24 07:56:40 +08:00
Daniel Liu
36fb646cb1
core/vm: fix mismatched names in comments ( #1567 )
2025-09-24 07:56:11 +08:00
Daniel Liu
a9c1861708
metrics: add tinygo build flag for CPU time #32454 ( #1566 )
...
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
2025-09-24 07:55:37 +08:00
wit liu
2b658e7934
core: fix unnecessary conversion ( #1565 )
2025-09-24 07:55:14 +08:00
Daniel Liu
6c2315f9a5
metrics: use atomic.Pointer in runtimeHistogram #32361 ( #1564 )
...
Co-authored-by: cui <cuiweixie@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-09-24 07:53:29 +08:00
wit liu
ff1867cc45
all: fix govet ( #1562 )
2025-09-24 07:52:07 +08:00
Daniel Liu
71626cff76
metrics: remove use of reflect in metrics registration code #31962 ( #1561 )
...
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2025-09-24 07:51:36 +08:00
wit liu
9ce02a7010
all: fix goimports ( #1560 )
2025-09-24 07:51:10 +08:00
Daniel Liu
057d840380
metrics: disable CPU metrics on tinygo #31953 ( #1559 )
...
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2025-09-24 07:50:35 +08:00
Daniel Liu
27c4be76fd
metrics: spin up meter ticker routine when enabling metric system #31400 ( #1558 )
...
Addresses https://github.com/ethereum/go-ethereum/issues/31244
Co-authored-by: Mike Weyandt <mike@mikeweyandt.com>
2025-09-24 07:50:03 +08:00
Daniel Liu
52614a59c3
common/math: fix typo in TestMustParseUint64Panic error message #32648 ( #1555 )
...
Fix typo in test error message where "MustParseBig" was incorrectly
used instead of "MustParseUint64" in the TestMustParseUint64Panic
function.
The test still functions correctly, but now the error message
accurately reflects the function being tested.
Co-authored-by: Gengar <creeptogengar@gmail.com>
2025-09-24 07:49:30 +08:00
Daniel Liu
2826b1e9c0
crypto/bn256: switch to gnark again #32659 ( #1552 )
...
We recently update our default implementation to gnark in
https://github.com/ethereum/go-ethereum/pull/32024
Then we found a consensus issue and reverted it in
65d77c5129
We fixed the consensus issue and have been fuzzing it more since then in
https://github.com/ethereum/go-ethereum/pull/32055/files
https://github.com/ethereum/go-ethereum/pull/32065
https://github.com/ethereum/go-ethereum/pull/32055/files
So I think now is the time to update it back to gnark
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2025-09-24 07:48:52 +08:00
Daniel Liu
173214524f
event: fix Resubscribe deadlock when unsubscribing after inner sub ends #28359 ( #1551 )
...
A goroutine is used to manage the lifetime of subscriptions managed by
resubscriptions. When the subscription ends with no error, the resub
goroutine ends as well. However, the resub goroutine needs to live
long enough to read from the unsub channel. Otheriwse, an Unsubscribe
call deadlocks when writing to the unsub channel.
This is fixed by adding a buffer to the unsub channel.
Co-authored-by: Inphi <mlaw2501@gmail.com>
2025-09-24 07:48:23 +08:00
Daniel Liu
53b3431af5
event: initialize maps with known size #27233 ( #1550 )
...
Co-authored-by: ucwong <ucwong@126.com>
2025-09-24 07:47:54 +08:00