Commit graph

11887 commits

Author SHA1 Message Date
Daniel Liu
763f8cb4f8 params: fix sync problem 2024-09-09 13:59:11 +08:00
wgr523
3593abe815
feat: GetEpochNumbersBetween API (#606)
* feat: GetEpochNumbersBetween API

* style: refine GetEpochNumbersBetween API
2024-09-02 00:11:12 -07:00
Daniel Liu
3e4932e408 core/vm: surface some internal methods (#20958) 2024-08-30 12:50:04 +08:00
Daniel Liu
d29ecf427c event: include Feed type fixation logic in f.init (#27249) 2024-08-30 12:42:55 +08:00
Daniel Liu
06d64ff298 event: add missing unlock before panic (#20653) 2024-08-30 12:42:55 +08:00
Daniel Liu
3a51e7573c event: remove unused field closed (#20324) 2024-08-30 12:42:55 +08:00
Felix Lange
c35926c955 event: document select case slice use and add edge case test (#16680)
Feed keeps active subscription channels in a slice called 'f.sendCases'.
The Send method tracks the active cases in a local variable 'cases'
whose value is f.sendCases initially. 'cases' shrinks to a shorter
prefix of f.sendCases every time a send succeeds, moving the successful
case out of range of the active case list.

This can be confusing because the two slices share a backing array. Add
more comments to document what is going on. Also add a test for removing
a case that is in 'f.sentCases' but not 'cases'.
2024-08-30 12:42:55 +08:00
Daniel Liu
1f45af089a core/vm: implement EIP 3541 (#22809) 2024-08-26 11:59:28 +08:00
Daniel Liu
c47819c7d6 core, cmd: add generic LRU implementation (#26162) 2024-08-26 11:17:23 +08:00
cui
96e2743508 common/lru: use clear builtin (#29399) 2024-08-26 11:17:23 +08:00
Daniel Liu
bc121d3634 lru: fix mismatched names in comments (#29348) 2024-08-26 11:17:23 +08:00
Daniel Liu
6f1d1b6688 core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (#23853) 2024-08-26 09:04:15 +08:00
Wanwiset Peerapatanapokin
7aeb9bd8f9
Merge pull request #621 from XinFinOrg/cicd-revert-stable
revert fixed image
2024-08-26 03:12:18 +07:00
Daniel Liu
d773520298 go.mod: update fastcache to v1.12.2 2024-08-25 16:41:06 +08:00
wanwiset25
232de432b3 revert fixed image 2024-08-25 09:46:24 +07:00
Wanwiset Peerapatanapokin
2b8eb6f98e
Merge pull request #619 from XinFinOrg/revert-2464-short
Revert EIP 2464
2024-08-25 02:23:46 +07:00
Daniel Liu
8c78a80771 core: fix race conditions in txpool (#23474) 2024-08-24 23:12:32 +08:00
wanwiset25
cb792ef34f Revert EIP-2464 2024-08-24 02:31:27 +07:00
Liam
e46f41d081
Dev upgrade merge from master to fix rpc nodes (#615)
* merge from master

* merge from master
2024-08-21 00:17:39 -07:00
Daniel Liu
5bc578f4bc contracts: log Signer reward from Info to Debug 2024-08-21 15:16:38 +08:00
Wanwiset Peerapatanapokin
e2f0638fc0
Merge pull request #612 from XinFinOrg/cicd-stable-rpc
hardcode stable image for rpc deployment (temporary)
2024-08-21 11:16:29 +04:00
JukLee0ira
925c20061d internal/ethapi: support both input and data for personal_sendTransaction (#23476) 2024-08-21 15:15:53 +08:00
JukLee0ira
138ac7c967 internal/ethapi: merge CallArgs and SendTxArgs (#22718) 2024-08-21 15:15:53 +08:00
Daniel Liu
45e57e41b4 internal/ethapi: refactor func ToMessage for CallArgs 2024-08-21 15:15:53 +08:00
wanwiset25
52a4c8e231 hardcode stable image for rpc deployment (temporary) 2024-08-20 14:52:31 +04:00
JukLee0ira
1b2d023da2 miner: optimize function pending and pendingBlock 2024-08-19 22:32:20 +08:00
JukLee0ira
f8d6e064dc miner: implement function updateSnapshot 2024-08-19 22:32:20 +08:00
JukLee0ira
3f40987cca core/rawdb: rearranging function order 2024-08-19 22:32:20 +08:00
Liam
dfccb75556
remove ecs rpc node as we have ec2 ones (#567) 2024-08-16 15:05:00 -07:00
Liam
14be88cf37
upgrade devnet rpc seems its cpu is reaching 100 (#605) 2024-08-16 15:03:28 -07:00
Liam
e3df8e55a6
remove legacy testnet validate masternode logic (#603)
* remove legacy testnet validate masternode logic

* remove legacy testnet validate masternode logic

* remove legacy testnet validate masternode logic
2024-08-12 00:13:36 -07:00
Liam
9e7b6a97b3
reduce devnet from 63 to 53 for cost saving (#602) 2024-08-11 10:33:55 -07:00
JukLee0ira
544190f584 core: cache block hash and number 2024-08-07 14:59:36 +08:00
JukLee0ira
074095b1d5 core: fix writeBlock 2024-08-07 14:59:36 +08:00
wgr523
52077f18f3
support for golang tracers + add golang callTracer (#558)
* feat: rename Tracer interface to EVMLogger;
minor changes in API
refine api_tracer.go
refine Tracer interface

* fix: broken tracer tests

* feat: add BenchmarkTransactionTrace

* feat: tracer CaptureEnter CaptureExit in evm

* feat: upgrade js tracers with geth upstream

* chore: clean test

* feat: eth/tracers: support for golang tracers + add golang callTracer
cf. https://github.com/ethereum/go-ethereum/pull/23708

* chore: clean testdata json

* fix: change test due to IntrinsicGas is not upgraded

* feat: make native Tracer the default Tracer

* fix: update tracers.New in api

* fix: addr prefix in callTracer

* fix: remove `native` in BenchmarkTracers

* fix: return consensus error of InsufficientBalance for tx, instead of vmerr

* chore: drop js tracers: call and noop
2024-08-06 00:14:04 -07:00
JukLee0ira
9a40c26bf8 core,eth,light: remove duplicated functions 2024-08-03 10:03:22 +08:00
JukLee0ira
75b18c841a eth: remove chainDb field in FilterAPI 2024-08-03 10:03:22 +08:00
JukLee0ira
bea4431f6f eth/filters: avoid block body retrieval when no matching logs (#25199) 2024-08-03 10:03:22 +08:00
JukLee0ira
17dafcc5a3 eth/filters: add generic LRU implementation (#26162) 2024-08-03 10:03:22 +08:00
JukLee0ira
09d3ede8c0 core: cleanup tests (#25641) 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
47b7f4726d eth,les: Remove concept of public/private API definitions (#25053) 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
JukLee0ira
4da6ff17fb eth/filters: remove unused struct fields (#24782) 2024-08-03 10:03:22 +08:00
JukLee0ira
f8a2b00505 core/rawdb,eth: use lightweight accessor for log filtering (#23147) 2024-08-03 10:03:22 +08:00
JukLee0ira
c072bbaac1 eth,les,miner: implement feeHistory API (#23033) 2024-08-03 10:03:22 +08:00
JukLee0ira
acaf943e59 eth/filters: fix potential deadlock in filter timeout loop (#22178) 2024-08-03 10:03:22 +08:00
JukLee0ira
83782e5368 eth/filters: remove use of event.TypeMux for pending logs (#20312) 2024-08-03 10:03:22 +08:00
Daniel Liu
99c2e18b88 cmd/geth: move cache sanity check to SetEthConfig (#22510) 2024-08-03 08:12:28 +08:00
Daniel Liu
b2c6191bea cmd/XDC: expose CacheFlag and CacheDatabaseFlag 2024-08-03 08:12:28 +08:00