Daniel Liu
f552cebfcd
trie: remove redundant returns + use stacktrie where applicable #22760 ( #1066 )
...
* trie: add benchmark for proofless range
* trie: remove unused returns + use stacktrie
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-07-28 16:49:31 +08:00
benjamin202410
db9c3de1dc
add syncinfo pool ( #1236 )
...
* add syncinfo message into pool for process later
* add missing file back
---------
Co-authored-by: liam.lai <liam.lai@us>
2025-07-28 01:43:41 -07:00
Daniel Liu
85f08c7732
eth: skip VerifyHeader in traceBlock to fix #1185 ( #1265 )
2025-07-26 18:18:50 +08:00
Daniel Liu
fd96101af7
eth: make tracers respect pre-EIP158/161 rules #18503 ( #1250 )
2025-07-26 18:17:48 +08:00
Daniel Liu
db48539c17
eth/tracers: expose gas used in tx to js tracer #22038 ( #1249 )
2025-07-26 18:16:06 +08:00
Daniel Liu
f87caf0b58
eth/tracers: fix benchmarks #23806 ( #1262 )
2025-07-26 17:48:42 +08:00
Daniel Liu
f3e346c471
params: prettier output of V2Config Description ( #1259 )
2025-07-26 17:47:54 +08:00
Daniel Liu
23a83dce3e
consensus, eth/tracers: remove redundant import names #21903 ( #1248 )
2025-07-26 17:47:14 +08:00
Daniel Liu
c41a96d179
eth/tracers: fix comments ( #1247 )
2025-07-26 17:46:15 +08:00
Daniel Liu
7bb2c7793b
core/vm: delete unused error #29062 ( #1245 )
2025-07-26 17:45:31 +08:00
Daniel Liu
6f6e08f83b
core/vm: prevent overflow #29023 ( #1244 )
2025-07-26 17:44:45 +08:00
Daniel Liu
42d3549e2c
core: using math.MaxUint64 instead of 0xffffffffffffffff #29022 #29024 ( #1243 )
2025-07-26 17:43:36 +08:00
Daniel Liu
5561c27308
core: fix typos ( #1237 )
...
fixes various typos in core
Co-authored-by: 0xbstn <bastien-bouge@hotmail.fr>
2025-07-26 17:42:50 +08:00
Daniel Liu
32b929e781
core/vm/runtime: add Random field to config #28001 ( #1234 )
2025-07-26 17:41:56 +08:00
Daniel Liu
9f360824a9
crypto/bn256: add documentation on subgroup checks for G2 #32066 ( #1232 )
...
This PR improves the IsOnCurve methods for BN254 G2 points by:
* Clarifying its behavior the docstring, making it explicit that it
verifies both the point being on the curve and in the correct subgroup.
* Adding an in-line comment explaining the subgroup membership check
(c.Mul(Order)).
* Minor wording adjustments for readability and consistency.
Co-authored-by: Antonio Sanso <antonio.sanso@gmail.com>
2025-07-26 17:41:09 +08:00
Daniel Liu
f5ad8091e2
crypto/bn256/cloudflare: pull in upstream fix for R27 and R29 usage #32057 ( #1229 )
...
Pulls in https://github.com/cloudflare/bn256/pull/48 to remove usage of
R27 and R29 [which are reserved](https://go.dev/doc/asm#arm64 ).
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
2025-07-26 17:39:28 +08:00
Daniel Liu
0fd51f13a1
tests/fuzzers: added bn marshaling fuzzers #32053 ( #1228 )
...
Adds marshaling fuzzing for G1 and G2 to oss-fuzz.
Also aligns the behavior of the google library to that of gnark and
cloudflare, which only ever read the first 64 / 128 bytes of the input,
regardless of how long the input is
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2025-07-26 17:36:58 +08:00
Daniel Liu
f30a126380
crypto/bn256: fix gnark deserialisation #32055 ( #1227 )
...
fixes the gnark deserialisation
---------
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-07-26 17:35:13 +08:00
Daniel Liu
d06f219dc3
crypto: use pure Go signature implementation in tinygo #31878 ( #1226 )
...
tinygo is having problems compiling the C implementation
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2025-07-26 17:33:55 +08:00
Daniel Liu
badb46ce2b
crypto: remove kgz4844 ( #1225 )
2025-07-26 17:32:07 +08:00
Wanwiset Peerapatanapokin
957d6093a3
Merge pull request #1230 from XinFinOrg/v1compatible-getblockbyepochnumber
...
make XDPoS_getBlockInfoByEpochNum work with v1 epoch number
2025-07-19 09:30:08 +07:00
Wanwiset Peerapatanapokin
f74924fe51
Merge pull request #1221 from XinFinOrg/update-devnet-cicd
...
Update Devnet CICD
2025-07-19 09:08:58 +07:00
Daniel Liu
8f76709a10
core/vm, go.mod: update uint256 to v1.3.2 and use faster method #30868 ( #1241 )
2025-07-17 17:56:53 +08:00
Daniel Liu
a9d4fffc97
trie: move fuzzers into native packages #28467 ( #1239 )
2025-07-17 17:55:19 +08:00
Daniel Liu
4b4980d949
core/vm: set basefee to 0 internally on eth_call #28470 ( #1238 )
2025-07-17 17:54:23 +08:00
Daniel Liu
dc01dba464
core/vm: minor code formatting #28199 ( #1235 )
...
Adding a space beween function opOrigin() and opcCaller() in instruciton.go.
Adding a space beween function opkeccak256() and opAddress() in instruciton.go.
Co-authored-by: hzysvilla <ecjgvmhc@gmail.com>
2025-07-17 17:53:02 +08:00
wanwiset25
d34aa35ecc
fix test
2025-07-16 00:28:11 +07:00
wanwiset25
11ae49b35d
make XDPoS_getBlockInfoByEpochNum work with v1 epoch number
2025-07-15 02:30:23 +07:00
wanwiset25
d23b351845
update devnet cicd
2025-07-12 08:34:46 +07:00
Daniel Liu
c46302cf65
all: fix invalid signer list on checkpoint block for trace api #1185 ( #1186 )
2025-07-12 06:56:30 +08:00
Daniel Liu
ae006030c6
core: fill blockNumber in logs #26345 ( #1215 )
2025-07-11 10:53:48 +08:00
Daniel Liu
6f84f67a15
core: rename CommitTrie to commitTrie #25896 ( #1214 )
2025-07-11 10:48:10 +08:00
Daniel Liu
34a245fbc8
all: use common.FileExist for checking file existence #24748 ( #1212 )
2025-07-11 10:42:51 +08:00
Daniel Liu
f272ce1123
core/rawdb: add func HasCodeWithPrefix and HasTrieNode #24117 ( #1210 )
2025-07-11 10:37:10 +08:00
Daniel Liu
9a50df0b62
core/rawdb: do prefixed lookup first #24288 ( #1209 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-07-11 10:22:26 +08:00
Daniel Liu
495a8b919a
core/state: simplify meter code #24304 ( #1208 )
2025-07-11 10:15:16 +08:00
Daniel Liu
906f07736e
core/state: remove unuseful code #23092 ( #1207 )
2025-07-11 10:09:56 +08:00
Daniel Liu
f98fbc7dc7
core/state: fix database leak and copy tests #19306 ( #1192 )
...
Co-authored-by: zcheng9 <zcheng9@hawk.iit.edu>
2025-07-11 09:58:59 +08:00
Daniel Liu
ef0fe4ed95
core/state: revert noop finalise, fix copy-commit-copy #20113 ( #1191 )
2025-07-11 09:52:31 +08:00
Daniel Liu
be97571471
core/state: fix state object deep copy #20100 ( #1190 )
2025-07-11 09:47:37 +08:00
Daniel Liu
16638e9e17
core/state: avoid unnecessary conversions #19870 ( #1188 )
2025-07-11 09:42:20 +08:00
Daniel Liu
220b2f4174
core/state: fix random test args #19255 ( #1187 )
...
Co-authored-by: Sheldon <11510383@mail.sustc.edu.cn>
2025-07-11 09:37:51 +08:00
Daniel Liu
618a8dd247
core, cmd: streaming json output for command #15475 ( #1184 )
2025-07-11 09:29:13 +08:00
Daniel Liu
8f90413200
trie: fix range prover #22210 ( #1061 )
...
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
Co-authored-by: gary rong <garyrong0905@gmail.com>
2025-07-11 09:20:18 +08:00
Daniel Liu
66e416a517
docs: remove personal module ( #1183 )
2025-07-02 14:54:40 +08:00
Daniel Liu
9affb6a582
core/state: memory efficient, add AddPreimage test #16663 ( #1182 )
2025-07-02 14:53:00 +08:00
Daniel Liu
b4f4b95634
core/state: rename new variable #18301 ( #1178 )
2025-07-02 14:13:47 +08:00
Daniel Liu
957e9d8d05
core/state: remove lock #18065 ( #1174 )
2025-07-02 14:13:06 +08:00
Daniel Liu
801e92b56d
XDCx, consensus: fix some typos ( #1173 )
2025-07-02 14:12:11 +08:00
Daniel Liu
e24293a49c
core, eth: fix tracer dirty finalization #16588 ( #1172 )
2025-07-02 14:11:22 +08:00