Commit graph

11908 commits

Author SHA1 Message Date
Daniel Liu
a8ea86e40c
Merge pull request #644 from gzliudan/format-0x
all: change format 0x%x to %#x
2024-10-17 10:35:34 +08:00
Daniel Liu
8cf0076851
Merge pull request #675 from gzliudan/fix-issue-650
return right blockHash for eth_getLogs (#650)
2024-10-16 13:51:30 +08:00
Daniel Liu
693190e5b9 core: fix wrong blockHash for eth_getLogs (#650) 2024-10-16 11:00:58 +08:00
Mr.P
22c54206bd
add flag rpc-gascap and set RPCGasCap to 50M (#664)
* add gas cap flag

* default gas cap to 50m

* rpc-gascap
2024-10-09 09:28:24 +08:00
Daniel Liu
edace6ac6c all: change format 0x%x to %#x (#25221) 2024-09-27 15:24:31 +08:00
JukLee0ira
47d27fed3b all: replace uses of ioutil with io and os (#24869) 2024-09-27 15:14:17 +08:00
Daniel Liu
4f9501f12c common, crypto: move fuzzers out of core (#22029) 2024-09-22 19:25:37 +08:00
Daniel Liu
96f5876896 common/bitutil: improve the fuzzers (#21829) 2024-09-22 19:25:37 +08:00
Daniel Liu
a5531a2470 core/vm: remove redundant conversions (#21903) 2024-09-22 18:42:11 +08:00
Daniel Liu
67b5b2bf9a core/vm: less allocations for various call variants (#21222) 2024-09-22 18:42:11 +08:00
Daniel Liu
a575d731d3 core/vm: combine function precompile and precompile2 2024-09-21 22:40:57 +08:00
Daniel Liu
5470485450 all: split vm.Context into BlockContext and TxContext (#21672) 2024-09-21 22:18:10 +08:00
Daniel Liu
05e52efbad core/vm: marshall returnData as hexstring in trace logs (#21715) 2024-09-21 22:14:47 +08:00
Daniel Liu
4e832ee6f0 core/vm: avoid map lookups for accessing jumpdest analysis (#21411) 2024-09-21 22:01:56 +08:00
Daniel Liu
a020259bb5 core/vm: fix Byzantium address list (#22603) 2024-09-19 13:04:55 +08:00
Wanwiset Peerapatanapokin
c6744e1a9f
Merge pull request #637 from XinFinOrg/dev-upgrade-fix-merge
Dev upgrade fix merge for https://github.com/XinFinOrg/XDPoSChain/pull/635
2024-09-12 04:07:33 +04:00
Wanwiset Peerapatanapokin
0e9052b2e5
Merge branch 'master' into dev-upgrade-fix-merge 2024-09-11 14:06:38 +04:00
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
3fb1a015e0
setup mainnet and testnet release block (#607) 2024-08-19 01:04:31 -07: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