Commit Graph

14855 Commits

Author SHA1 Message Date
philip-morlier
4e936546a3 Merge remote-tracking branch 'origin/feature/etc-plugin' into feature/etc-plugin 2023-10-30 10:43:56 -07:00
philip-morlier
9974ce6f92 Modified pluginOpCodeSelect injection 2023-10-30 10:43:04 -07:00
Austin Roberts
336d39d238 Update plugeth-utils in go.mod 2023-10-30 11:39:14 -05:00
philip-morlier
325fc8351e Removed comments in core/forkid/plugin_hooks 2023-10-24 09:24:39 -07:00
Philip Morlier
7dd3c9d233
Merge pull request #97 from openrelayxyz/feature/etc-plugin-160
Feature/etc plugin 160
2023-10-24 09:19:40 -07:00
Austin Roberts
20a51847a8 Add plugeth injection comment 2023-10-24 11:06:29 -05:00
Austin Roberts
cd9d109d65 Fix interpreter instruction set selection 2023-10-24 10:58:21 -05:00
Austin Roberts
e42a4cb944 Use EIP160 case instead of EIP158 2023-10-24 09:29:09 -05:00
philip-morlier
1dd00d2452 Added PluginEIPCheck to test plugin 2023-10-23 18:41:19 -07:00
Philip Morlier
8df3b1a5ca
Merge pull request #96 from openrelayxyz/feature/etc-plugin-160
Add separate EIP160 check
2023-10-23 18:23:08 -07:00
philip-morlier
ace421d033 Added Is1559() to test plugin 2023-10-23 18:13:27 -07:00
philip-morlier
771c2e7cc3 Added OpCodeSelect() to test plugin 2023-10-23 17:40:33 -07:00
philip-morlier
39b5250f63 ForkIDs() added to test plugin 2023-10-23 17:25:52 -07:00
philip-morlier
e35d5eb3fe Fixed pluginDefaultDataDir 2023-10-23 13:25:54 -07:00
Austin Roberts
0bb80e6be1 Set undefined operations instead of nil 2023-10-23 14:31:50 -05:00
Austin Roberts
3184027a2c Syntax fix 2023-10-23 12:38:48 -05:00
Austin Roberts
e43bc1774d Fix comments 2023-10-23 12:36:16 -05:00
Austin Roberts
a6ee75999b Add separate EIP160 check 2023-10-23 12:34:02 -05:00
philip-morlier
63f8d10434 OpCode select plugin hook and injection 2023-10-20 09:27:20 -07:00
philip-morlier
c0210061c8 Expanded is1559() further into core/state_transition.go 2023-10-17 15:00:09 -07:00
philip-morlier
d9de580d74 Added IsEIP1559() hook
Modifications to genesis injection and datadir injections
2023-10-16 15:33:22 -07:00
philip-morlier
cb62de132c Added forkIDs plugin hook 2023-10-10 15:26:47 -07:00
philip-morlier
052b705632 Added addBalance to wrapped state db 2023-10-10 14:32:52 -07:00
Philip Morlier
3d2f81a30c
Merge pull request #93 from openrelayxyz/feature/etc-plugin-genesis
Feature/etc plugin genesis
2023-10-10 09:44:22 -07:00
Austin Roberts
6781ee2a5c Misc. Fixes from code review 2023-10-02 14:45:41 -05:00
Austin Roberts
07e9739871 Add genesis block from plugins 2023-10-02 13:38:13 -05:00
Austin Roberts
f7ad35eae9 Add genesis block hook 2023-10-02 13:20:54 -05:00
philip-morlier
38ea6101de Config plugin hooks and injections with test coverage.
All config hooks have been written with the exception of writing the genesis.
2023-09-28 21:19:54 -07:00
philip-morlier
31ada7d3e3 Merge remote-tracking branch 'origin/develop' into feature/etc-plugin 2023-09-28 12:45:24 -07:00
philip-morlier
5be3014e0b Added first etc hook into test plugin 2023-09-28 12:34:38 -07:00
AusIV
b549624096
Merge pull request #91 from openrelayxyz/merge/geth-v1.13.2
Merge/geth v1.13.2
2023-09-28 12:10:00 -05:00
philip-morlier
9d34721d46 Modified test plugin to enable faster execution.
This required adding a dummy injection into core/blockchain.go
2023-09-28 09:30:31 -07:00
philip-morlier
18be67b3a3 Merge commit 'dc34fe829' into merge/geth-v1.13.2 2023-09-28 08:41:54 -07:00
Péter Szilágyi
dc34fe8291 params: release Geth v1.13.2 2023-09-28 10:22:09 +03:00
rjl493456442
73f5bcb75b
core, accounts, eth, trie: handle genesis state missing (#28171)
* core, accounts, eth, trie: handle genesis state missing

* core, eth, trie: polish

* core: manage txpool subscription in mainpool

* eth/backend: fix test

* cmd, eth: fix test

* core/rawdb, trie/triedb/pathdb: address comments

* eth, trie: address comments

* eth: inline the function

* eth: use synced flag

* core/txpool: revert changes in txpool

* core, eth, trie: rename functions
2023-09-28 10:00:53 +03:00
0xbstn
a081130081
core/txpool: fix typos (#28213)
fix(core/txpool): fix typos
2023-09-28 09:48:14 +08:00
AusIV
4b4fa9b09d
Merge pull request #90 from openrelayxyz/merge/geth-v1.13.1
Merge/geth v1.13.1
2023-09-27 17:10:30 -05:00
philip-morlier
040657d0bf Updated mod and sum to reflect utils v1.3.0 2023-09-27 15:05:05 -07:00
bnovil
614804b33c
core/txpool: fix typos (#28208)
core/txpool:fix typos
2023-09-27 11:08:53 +08:00
philip-morlier
399cbbc8fd Initial commit of ETC plugin work 2023-09-26 07:26:19 -07:00
rjl493456442
b85c183ea7
eth/downloader: remove header rollback mechanism (#28147)
* eth/downloader: remove rollback mechanism in downloader

* eth/downloader: remove the tests
2023-09-26 16:29:13 +03:00
Sina Mahmoodi
adb9b319c9
internal/ethapi: eth_call block parameter is optional (#28165)
So apparently in the spec the base block parameter of eth_call is optional.
I agree that "latest" is a sane default for this that most people would use.
2023-09-26 14:22:11 +02:00
Marius van der Wijden
2b7bc2c36b
eth/fetcher: allow underpriced transactions in after timeout (#28097)
This PR will allow a previously underpriced transaction back in after a timeout
of 5 minutes. This will block most transaction spam but allow for transactions to
be re-broadcasted on networks with less transaction flow.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-09-26 13:12:44 +02:00
phenix3443
40219109b0
eth/downloader: typo in comment (#28196) 2023-09-26 11:59:41 +03: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
Andryanau Kanstantsin
4985d83b8f
ethclient: fix BlockReceipts parameter encoding (#28087)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-09-25 23:24:20 +02:00
buddho
f6f64cc43d
cmd/utils: fix bootnodes config priority (#28095)
This fixes an issue where the --bootnodes flag was overridden by the config file.

---------

Co-authored-by: NathanBSC <Nathan.l@nodereal.io>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-09-25 19:17:39 +02:00
Delweng
3d297fc2d7
cmd/geth: ensure db is closed before exit (#28150) 2023-09-25 18:28:20 +02:00
Felix Lange
c3742a9ae0
internal/debug: add --log.rotate to the logging category (#28190) 2023-09-25 17:02:44 +03:00
Marius van der Wijden
1fa3362ea7
core/forkid: add forkid test for holesky (#28193) 2023-09-25 17:02:19 +03:00