Shivam Sharma
4008d5efe8
Merge branch 'develop' into shivam/upstream-geth-1.13.5
2024-02-08 18:00:59 +05:30
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
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
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
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
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
Guido Vranken
0ba2d3cfa4
core/vm/runtime: Add Random field to config ( #28001 )
2023-08-25 04:05:33 -04:00
Arpit Temani
b343cffdb4
merge geth v1.12.2 into develop
2023-08-18 14:05:34 +05:30
Martin Holst Swende
e13fa32cea
core/vm: update 4844 - point evaluation precompile address ( #27874 )
2023-08-08 15:54:19 +03:00
Darioush Jalali
57cdbaef30
all: remove trailing whitespace ( #27741 )
2023-08-05 00:24:32 +02:00
Péter Szilágyi
57268f7e6c
all: rename dataGas to blobGas ( #27789 )
2023-07-27 16:53:28 +03:00
jwasinger
988d84aa7c
core/state, core/vm: implement EIP 6780 ( #27189 )
...
EIP-6780: SELFDESTRUCT only in same transaction
> SELFDESTRUCT will recover all funds to the caller but not delete the account, except when called in the same transaction as creation
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-07-17 13:02:18 -04:00
Martin Holst Swende
b058cf454b
core, tests: EIP-4844 transaction processing logic ( #27721 )
...
This updates the reference tests to the latest version and also adds logic
to process EIP-4844 blob transactions into the state transition. We are now
passing most Cancun fork tests.
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-07-15 23:27:36 +02:00
ucwong
99e000cb13
core/vm: use types.EmptyCodeHash ( #27729 )
2023-07-15 17:45:57 +02:00
jwasinger
d233b6b23a
core: replace instances of 'suicide' with 'selfdestruct' to improve code consistency. ( #27716 )
...
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
2023-07-15 10:35:30 -04:00
Charles Cooper
5c9cbc218a
core/vm: implement EIP-5656, mcopy instruction ( #26181 )
...
Implements [EIP 5656](https://eips.ethereum.org/EIPS/eip-5656 ), MCOPY instruction, and enables it for Cancun.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-07-11 03:55:34 -04:00
Martin Holst Swende
af8b138c1a
core/vm: define cancun + enable 1153 (tstore/tload) in cancun ( #27663 )
2023-07-10 14:40:31 -04:00
Guillaume Ballet
85b8d1c06c
params, trie: add verkle fork management + upgrade go-verkle ( #27464 )
...
* params, trie: add verkle fork management + upgrade go-verkle
* remove the two verkle files
* core, eth, params: add missing function
* Gary's feedback
* remove trie/utils/verkle.go
* add verkle block override
---------
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-06-28 12:08:48 +03:00
Marius van der Wijden
d7ea278fe3
core/vm: move TSTORE,TLOAD to correct opcode nums ( #27613 )
...
* core/vm: move TSTORE,TLOAD to correct opcode nums
* core/vm: cleanup
2023-06-27 03:25:08 -04:00