Daniel Liu
3409ada149
metrics: fix staticcheck warning ST1017: don't use yoda conditions
2024-10-24 16:07:11 +08:00
Daniel Liu
f79763ca88
all: fix staticcheck warning S1039: unnecessary use of fmt.Sprintf
2024-10-24 12:49:37 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
Daniel Liu
464a89074b
all: use unified emptyRootHash and emptyCodeHash ( #26718 )
2024-10-21 17:55:16 +08:00
Liam
09fe4ec646
Merge pull request #680 from XinFinOrg/mainnet-hot-fix-v2.2.0-api-epoch
...
Mainnet v2.3.0 merge hot fix branch and new epoch api
2024-10-21 00:00:14 -07:00
benjamin202410
042c02ba8c
add last block number for epoch api ( #681 )
...
Co-authored-by: Liam Lai <liam@home>
2024-10-20 23:43:23 -07:00
Daniel Liu
e52b8a2de2
Merge pull request #649 from gzliudan/rm-block-hash
...
remove block hash from statedb
2024-10-18 10:48:34 +08:00
Liam Lai
3dac4dc014
reduce to 20s
2024-10-17 18:59:38 -07:00
Daniel Liu
8c077345d0
all: removed blockhash from statedb ( #23126 )
2024-10-18 09:24:52 +08:00
Liam Lai
22fc7d0710
fix conflict
2024-10-16 22:42:53 -07:00
Daniel Liu
1c84a31bb6
core/vm: deepcopy jumptable when enabling extra eips ( #26137 )
2024-10-17 11:23:04 +08:00
Daniel Liu
4482ea4d84
core/vm: fix docstrings
2024-10-17 11:23:04 +08:00
Daniel Liu
480adaf960
core/vm: minor trivial clean up ( #25880 )
2024-10-17 11:23:04 +08:00
Daniel Liu
69cb57a0f4
core/vm: not deep copy return data slice upon call completion ( #25183 )
2024-10-17 11:23:04 +08:00
Daniel Liu
ee5dd8673f
core/vm: remove empty lines
2024-10-17 11:23:04 +08:00
Daniel Liu
16f2aabc64
core/vm: more linters ( #24783 )
2024-10-17 11:23:04 +08:00
Paweł Bylica
be6631beb0
core/vm: optimize jumpdest analysis ( #23500 )
...
core/vm: optimize PUSH opcode discrimination
2024-10-17 11:23:04 +08:00
Daniel Liu
1fa9e81870
core/vm: reduce overhead in instructions-benchmark ( #24860 )
2024-10-17 11:23:04 +08:00
Daniel Liu
c78b9e6245
core/vm: for tracing, do not report post-op memory ( #24867 )
2024-10-17 11:23:04 +08:00
Daniel Liu
45c644c43d
core/vm: update benchmark to use Errorf instead of Sprintf ( #24845 )
2024-10-17 11:23:04 +08:00
Daniel Liu
6fa968201f
core/vm: fix some typos
2024-10-17 11:23:04 +08:00
Daniel Liu
224caa5a08
core/vm: avoid memory expansion check for trivial ops ( #24048 )
2024-10-17 11:23:04 +08:00
Daniel Liu
a401d3fd3f
Merge pull request #645 from gzliudan/eip-2565
...
implement eip-2565
2024-10-17 11:20:58 +08:00
Daniel Liu
532137c37b
core/vm: use golang native big.Int ( #26834 )
2024-10-17 10:36:53 +08:00
Daniel Liu
8e15f825ce
core/vm: use optimized bigint ( #26021 )
2024-10-17 10:36:53 +08:00
Daniel Liu
abebda601c
common/math, tests/fuzzers: use big.Int clone ( #26006 )
2024-10-17 10:36:53 +08:00
Daniel Liu
c87b7c3135
common/math: optimized modexp ( #25525 )
2024-10-17 10:36:53 +08:00
Daniel Liu
b653dbc60c
core/vm, protocol_params: implement eip-2565 modexp repricing ( #21607 )
2024-10-17 10:36:53 +08:00
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
Liam Lai
5f1fb22e51
fix conflict
2024-10-15 19:51:57 -07:00
Liam Lai
b43bb5ed1f
api epoch
2024-10-15 19:20:13 -07:00
Liam
ec92add428
Update to version 2.2.5 ( #670 )
2024-10-10 00:02:04 -07:00
benjamin202410
f6afd24de7
update timeout to 30s ( #669 )
2024-10-09 23:46:02 -07:00
benjamin202410
eb6d53adf6
Fix getCandidateStatus API ( #663 )
...
* Fix getCandidateStatus API
* sync vote message and fix test
* update function name
---------
Co-authored-by: Liam Lai <liam@home>
2024-10-09 22:05:14 -07:00
Mr.P
861c7102a2
cherry pick from #664
2024-10-09 17:08:59 +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
Anil Chinchawale
d355ad1257
Merge pull request #661 from benjamin202410/mainnet-hot-fix-v2.2.0
2024-10-02 08:11:31 +05:30
賴怡誠
7c9ee337af
update version
2024-10-01 18:31:00 -07:00
賴怡誠
528f10b422
update to 1 min timeout
2024-10-01 18:18:45 -07:00
Anil Chinchawale
071b47f07b
Merge pull request #660 from XinFinOrg/bump-version
...
bump version to v2.2.3
2024-10-01 10:14:38 +05:30
賴怡誠
64d6c30249
bump version
2024-09-30 21:43:56 -07:00
Liam
e6190dd25f
fix timeout skip condition ( #659 )
...
Co-authored-by: 賴怡誠 <laiyicheng@makotos-MBP.lan>
2024-09-30 21:32:22 -07:00
Liam
37f2320af6
increase message buffer to keep message ( #657 )
...
* increase message buffer to keep message
* update version
2024-09-30 21:13:49 -07:00
Liam
ccbedce27b
relocate broadcast logic ( #656 )
...
Co-authored-by: 賴怡誠 <laiyicheng@makotos-MBP.lan>
2024-09-30 20:20:23 -07:00
Liam
9751e41dd5
Mainnet debug ( #655 )
...
* intro new timeout (#651 )
* intro new timeout
* correct comment
* disable ProcessForensics
* disable ProcessForensics
* change version
* enable periodicProfilingFlag
* fix: ignore old timeout msg
* fix: ignore old timeout msg including equal to the current round
* udpate version file
2024-09-30 20:05:14 -07:00
Liam
450a63fc8c
intro new timeout ( #651 )
...
* intro new timeout
* correct comment
2024-09-30 16:48:38 -07: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