Anshal Shukla
f4c41e2e70
Merge branch 'release/1.13' into upstream_merge_1.13
2024-07-10 11:19:34 +05:30
Jerry
5d77c381e6
Merge tag 'v1.13.6' into upstream_merge
2024-03-28 16:28:51 -07:00
Martin HS
ac0ff04460
core/vm, params: ensure order of forks, prevent overflow ( #29023 )
...
This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.
2024-02-19 16:29:59 +01:00
cui
5d984796af
core: using math.MaxUint64 instead of 0xffffffffffffffff ( #29022 )
2024-02-19 13:03:58 +01:00
Shivam Sharma
4008d5efe8
Merge branch 'develop' into shivam/upstream-geth-1.13.5
2024-02-08 18:00:59 +05:30
lmittmann
199e0c9ff5
core/state, core/vm: minor uint256 related perf improvements ( #28944 )
2024-02-07 17:01:38 +01:00
Dimitris Apostolou
8fd43c8013
all: fix typos in comments ( #28881 )
2024-02-05 22:16:32 +01:00
Pratik Patil
3f58da7279
hot fix: block stm ParallelSpeculativeProcesses flag
2024-01-29 16:52:40 +05:30
Dimitris Apostolou
ce68cb17ac
fix typos
2024-01-29 09:21:47 +02:00
trocher
2dc74770a7
core/vm: fix misleading comment ( #28860 )
...
fix misleading comment
2024-01-23 15:17:42 +01:00
Martin HS
a5a4fa7032
all: use uint256 in state ( #28598 )
...
This change makes use of uin256 to represent balance in state. It touches primarily upon statedb, stateobject and state processing, trying to avoid changes in transaction pools, core types, rpc and tracers.
2024-01-23 14:51:58 +01:00
Anshal Shukla
e070986483
remove: kgz precompile
2024-01-19 17:35:29 +05:30
Arpit Temani
59fa8cb9ac
Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into eip7212
2024-01-19 17:31:39 +05:30
Arpit Temani
5fc30aeaac
Revert "Consistent"
2024-01-19 17:19:12 +05:30
Arpit Temani
603a425fee
Merge pull request #1124 from maticnetwork/consistent
...
Consistent
2024-01-19 17:07:24 +05:30
Shivam Sharma
da02b7acec
Merge branch 'develop' into shivam/upstream-geth-1.13.5
2024-01-18 13:21:20 +05:30
Darioush Jalali
29b73555ae
core/state: unexport GetOrNewStateObject ( #28804 )
2024-01-14 12:32:23 +01:00
Anshal Shukla
f57c637814
EIP7212 / PIP27 ( #1069 )
...
add: EIP7217/PIP27 implementation and related test cases
---------
Co-authored-by: Ulaş Erdoğan <uerdogan2001@hotmail.com>
2024-01-12 21:18:50 +05:30
Anshal Shukla
1e5211c1c7
add test cases
2024-01-12 20:45:10 +05:30
Darioush Jalali
2365d77968
core/vm: update comments to match eip number ( #28743 )
2024-01-02 11:39:53 +01:00
alex
edc864f9ba
all: fix typos in comments ( #28682 )
...
chore(core,eth):fix a couple of typos
2023-12-18 09:35:12 +01:00
Shivam Sharma
8c088c7295
fix : resolve static problems
2023-12-15 13:57:19 +05:30
Shivam Sharma
a9fa325b7e
Merge tag 'v1.13.5' of https://github.com/ethereum/go-ethereum into shivam/upstream-geth-1.13.5
2023-12-15 13:55:57 +05:30
Anshal Shukla
a0b925bfe3
merge develop
2023-11-30 13:08:09 +05:30
Anshal Shukla
05a19f2a36
fix test, add napoli block
2023-11-30 12:56:21 +05:30
Pratik Patil
e3192cae8b
hot fix: block stm ParallelSpeculativeProcesses flag
2023-11-24 12:50:04 +05:30
Martin Holst Swende
2391fbc676
tests/fuzzers: move fuzzers into native packages ( #28467 )
...
This PR moves our fuzzers from tests/fuzzers into whatever their respective 'native' package is.
The historical reason why they were placed in an external location, is that when they were based on go-fuzz, they could not be "hidden" via the _test.go prefix. So in order to shove them away from the go-ethereum "production code", they were put aside.
But now we've rewritten them to be based on golang testing, and thus can be brought back. I've left (in tests/) the ones that are not production (bls128381), require non-standard imports (secp requires btcec, bn256 requires gnark/google/cloudflare deps).
This PR also adds a fuzzer for precompiled contracts, because why not.
This PR utilizes a newly rewritten replacement for go-118-fuzz-build, namely gofuzz-shim, which utilises the inputs from the fuzzing engine better.
2023-11-14 14:34:29 +01:00
Sina Mahmoodi
e803ef09ad
eth/tracers/js: fix isPush for push0 ( #28520 )
...
Fixes so that `push0` opcode is correctly reported as `true` by the `IsPush` function
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-11-14 13:14:38 +01:00
Arpit Temani
bee537ab98
fix lint
2023-11-09 21:19:27 +05:30
Arpit Temani
cee2c221b2
disbale 4844
2023-11-09 20:43:18 +05:30
Arpit Temani
3106cb143b
Revert "change withdrawals hash"
...
This reverts commit cd5a7d3391 .
2023-11-09 18:09:39 +05:30
Arpit Temani
cd5a7d3391
change withdrawals hash
2023-11-09 16:36:21 +05:30
Péter Szilágyi
470dba8fc1
core/vm: set basefee to 0 internally on eth_call ( #28470 )
...
* core/vm: set basefee to 0 internally on eth_call
* core: nicer 0-basefee, make it work for blob fees too
* internal/ethapi: make tests a bit more complex
* core: fix blob fee checker
* core: make code a bit more readable
* core: fix some test error strings
* core/vm: Get rid of weird comment
* core: dict wrong typo
2023-11-08 11:22:08 +02:00
Arpit Temani
1483c960ed
merge develop
2023-11-03 10:10:02 +05:30
Ulaş Erdoğan
2bbf30ff90
core/vm: force the input length of p256verify
...
(cherry picked from commit 21f4932c9b )
2023-11-03 09:33:22 +05:30
Ulaş Erdoğan
0d115db168
core, crypto/secp256r1: fix error reverts tx error
...
(cherry picked from commit 2820903f59 )
2023-11-03 09:32:56 +05:30
Ulaş Erdoğan
b5559e3018
core/vm: update the eip number
...
(cherry picked from commit f5b6d7e995 )
2023-11-03 09:32:40 +05:30
Ulaş Erdoğan
40e6de0bf2
core/vm: fix testdata non-malleable for p256Verify
...
(cherry picked from commit ec17e788ad )
2023-11-03 09:31:20 +05:30
Ulaş Erdoğan
83a20d36ec
core/vm: simplify the return values format
...
(cherry picked from commit d245194e77 )
2023-11-03 09:30:56 +05:30
Ulaş Erdoğan
ae2d3da5c1
core/vm, params: rename precompiled to p256verify
...
(cherry picked from commit 6c7028a904 )
2023-11-03 09:30:42 +05:30
Ulaş Erdoğan
cdb96096d8
core/vm: implement secp256r1 verifier precompiled
...
(cherry picked from commit a8c0a2e05c )
2023-11-03 09:30:21 +05:30
lmittmann
a3be38127c
core/vm: performance tweak of OpCode.String() ( #28453 )
...
make `opCodeToString` a `[256]string` array
Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
2023-11-02 08:54:28 +02:00
Shivam Sharma
953039d1c0
rm : prevrandao
2023-11-01 00:44:16 +05:30
kevaundray
a6a0ae45b6
crypto/kzg4844: use the new trusted setup file and format ( #28383 )
...
Changes the trusted_setup to the one created during the kzg-ceremony. The trusted setup file can be found in the consensus specs: https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/trusted_setups/trusted_setup_4096.json
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2023-10-22 16:05:04 +02:00
Arpit Temani
48f6200449
merge shanghai tests
2023-10-16 23:23:13 +05:30
0xbstn
fa6107c85e
core: fix typos ( #28255 )
...
fixes various typos in core
2023-10-10 10:22:03 +02:00
Shivam Sharma
1fc6354ab1
clean : shanghai changes
2023-10-06 12:06:46 +05:30
Marius van der Wijden
c39cbc1a78
core: implement BLOBBASEFEE opcode (0x4a) ( #28098 )
...
Implements "EIP-7516: BLOBBASEFEE opcode" for cancun, as per spec: https://eips.ethereum.org/EIPS/eip-7516
2023-10-02 05:49:29 -04:00
hzysvilla
4de89e92e4
core/vm: minor code formatting ( #28199 )
...
Adding a space beween function opOrigin() and opcCaller() in instruciton.go.
Adding a space beween function opkeccak256() and opAddress() in instruciton.go.
2023-09-26 11:58:01 +03:00
Arpit Temani
cc2c27dbd3
fix linters
2023-09-21 10:50:01 +05:30