Commit Graph

14374 Commits

Author SHA1 Message Date
ec0caf8f69 Fix build. 2023-07-10 14:48:39 -05:00
d398bfc902 Put it back to an if for clarity. 2023-07-10 14:28:37 -05:00
afcf2dcb3f Fix http path. 2023-07-10 14:23:13 -05:00
2a60f921e4 update plugeth-utils 2023-07-07 13:23:58 +08:00
b599af5f00 improve git token config 2023-07-07 13:20:19 +08:00
35cf277d70 use access token for gitea 2023-07-07 01:45:52 +08:00
feb6ccc72b nits 2023-06-29 16:12:47 +08:00
80e02c90e3 Add --pluginsdir flag. (#1)
Add a new flag, `--pluginsdir`, for setting the directory where plugins are stored.  The default remains `$datadir/plugins`.

Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Reviewed-on: #1
2023-06-29 04:44:54 +00:00
0ed9eba1de update plugeth-utils 2023-06-23 00:21:24 +08:00
663e8543c9 add GetContractCode 2023-06-22 15:29:18 +08:00
db4457a65f wrapmain hack
rename main package so it's importable
go sub-module to run main
2023-06-20 19:42:34 +08:00
1b8842859a dockerfile fixes 2023-06-20 19:42:34 +08:00
016a45dc98 [dev] vdb.to modules 2023-06-20 19:42:34 +08:00
c9bf15328d [dev] docker go build 2023-06-20 19:42:34 +08:00
3b7acb1d9f fix docker build - install gold 2023-06-20 19:42:34 +08:00
Philip Morlier
366f480bc1
Merge pull request #78 from cerc-io/fix-subscription-methods
Fix subscription method registration
2023-06-14 09:44:27 -07:00
Philip Morlier
a20fadc454
Merge pull request #79 from openrelayxyz/feature/consensus-engine
Feature/consensus engine
2023-06-12 16:28:47 -07:00
philip-morlier
80956ac723 removed unnecessary comments from wrappers/engine.go 2023-06-12 15:08:37 -07:00
philip-morlier
d8d864768a Updated mod and sum to reflect v1.2.0
Also changed the injection and hook from hooktester to blockchain().
2023-06-12 13:37:29 -07:00
philip-morlier
7434ccb8c8 Initial commit of stand alone consensus engine work. 2023-06-12 09:52:46 -07:00
f7ff01fd54 fix plugin subscription method registration 2023-06-10 01:51:39 +08:00
a9c2d243c5 clean up/copyedit 2023-06-09 23:07:13 +08:00
Philip Morlier
9badeb2b93
Merge pull request #76 from openrelayxyz/feature/expose-state-trie
Feature/expose state trie
2023-05-05 14:29:36 -07:00
philip-morlier
829b8c4821 Expose state trie to plugins
Also merged changes in support geth v1.11.6. Updated to plugeth-utils v1.1.0.
2023-05-05 14:14:15 -07:00
philip-morlier
bdda4b3863 Merge remote-tracking branch 'origin/develop' into feature/expose-state-trie 2023-05-01 12:49:18 -07:00
Philip Morlier
923254af05
Merge pull request #75 from openrelayxyz/merge/geth-v1.11.6
Merge/geth v1.11.6
2023-05-01 11:33:11 -07:00
philip-morlier
1b5aa6c570 Updated plugeth-utils to v0.0.25 2023-04-27 09:07:44 -07:00
philip-morlier
c3e91ce1af These files were changed by hand to support the merge
The previous commit message was made in error, it should say v1.11.6 not v1.11.5. Fixing the commit message is causing us to have to fix confilicts and we are going to leave it alone.
The project builds but doesnt load the required pluggins. More work needs to be done acrross the various projects.
2023-04-26 14:32:55 -07:00
philip-morlier
e986bbfa6f Initial commit of merge geth v1.11.5 2023-04-21 13:24:40 -07:00
Martin Holst Swende
ea9e62ca3d
params: go-ethereum v1.11.6 stable 2023-04-20 20:14:51 +02:00
rjl493456442
99f81d2724
all: refactor trie API (#26995)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.
2023-04-20 06:57:24 -04:00
s7v7nislands
ae93e0b484
metrics: use atomic type (#27121) 2023-04-20 03:36:54 -04:00
Alex Beregszaszi
3f7afc3f57
core/vm: order opcodes properly (#27113) 2023-04-20 02:52:00 -04:00
Adrian Sutton
f2df2b1981
cmd/geth: rename --vmodule to --log.vmodule (#27071)
renames `--vmodule` to `--log.vmodule`, and prints a warning if the old form is used.
2023-04-19 07:18:02 -04:00
Martin Holst Swende
2b0a34bea6
cmd/devp2p: make crawler-route53-updater less verbose (#27116)
Follow-up to #26697, makes the crawler less verbose on route53-based scenarios.

It also changes the loglevel from debug to info on Updates, which are typically the root, and can be interesting to see.
2023-04-19 06:46:56 -04:00
s7v7nislands
3768b00747
consensus/ethash: use atomic type (#27068) 2023-04-18 14:54:06 +02:00
joohhnnn
b1972627d9
p2p: access embedded fields of Server directly (#27078) 2023-04-18 11:57:08 +02:00
Delweng
5e4d726e2a
params: remove EIP150Hash from chainconfig (#27087)
The EIP150Hash was an idea where, after the fork, we hardcoded the forked hash as an extra defensive mechanism. It wasn't really used, since forks weren't contentious and for all the various testnets and private networks it's been a hassle to have around. 

This change removes that config field. 

---------

Signed-off-by: jsvisa <delweng@gmail.com>
2023-04-18 03:49:09 -04:00
Anusha
cb66eba85a
core: fix comment to reflect function name (#27070) 2023-04-17 11:02:31 -04:00
Taeguk Kwon
bedf2856d1
signer/core: rename testdata files (#27063)
Sets a meaningful name on test-files
2023-04-17 10:36:47 -04:00
noel
8fe807c8f2
cmd/devp2p: fix erroneous log output in crawler (#27089)
cmd/devp2p: fix log of ignored recent nodes counter
2023-04-17 10:29:27 -04:00
Parithosh Jayanthi
5aa5295cf9
params: new sepolia bootnodes (#27099)
New sepolia bootnodes managed by EF devops
2023-04-17 04:15:25 -04:00
AusIV
60838d43f9
Merge pull request #74 from openrelayxyz/bugfix/resurrected-plugeth-readme
A resurrected and sligtly altered version of the project README
2023-04-11 15:39:31 -05:00
Péter Szilágyi
4a9fa31450
Merge pull request #27051 from sandakersmann/master
build: upgrade -dlgo version to Go 1.20.3
2023-04-08 17:13:55 +03:00
philip-morlier
d4c0064e7c A resurrected and sligtly altered version of the project README 2023-04-07 16:47:09 -07:00
philip-morlier
5470afdeb8 State Trie exposed to plugins
The StateTrie interface is exposed via triewrapper.go and then implemented via two methods appended to the backend object.
2023-04-07 10:46:16 -07:00
philip-morlier
f92264d342 further work on state trie wrapper 2023-04-06 22:49:14 -07:00
philip-morlier
aee14ebee9 Initial commit of work to expose state trie 2023-04-06 18:09:53 -07:00
rjl493456442
b946b7a13b
core, miner: drop transactions from the same sender when error occurs (#27038)
This PR unifies the error handling in miner. 

Whenever an error occur while applying a transaction, the transaction should be regarded as invalid and all following transactions from the same sender not executable because of the nonce restriction. The only exception is the `nonceTooLow` error which is handled separately.
2023-04-05 07:09:25 -04:00
Marius van der Wijden
230df98e4d
core/txpool: disallow future churn by remote txs (#26907)
Prior to this change, it was possible that transactions are erroneously deemed as 'future' although they are in fact 'pending', causing them to be dropped due to 'future' not being allowed to replace 'pending'. 

This change fixes that, by doing a more in-depth inspection of the queue.
2023-04-05 04:59:32 -04:00