Commit Graph

98 Commits

Author SHA1 Message Date
philip-morlier
1dd00d2452 Added PluginEIPCheck to test plugin 2023-10-23 18:41:19 -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
052b705632 Added addBalance to wrapped state db 2023-10-10 14:32:52 -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
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
4641b6e012 Test plugin passing 2023-09-14 16:42:26 -07:00
philip-morlier
51c041850b Manual touches to plugeth code to accommodate geth v1.13.0 2023-09-13 12:57:48 -07:00
AusIV
3993f2f870
Merge pull request #87 from openrelayxyz/bugifx/engine-wrapper-dummyseals
Fixed a patch in the engine wrapper.
2023-09-11 13:39:55 -05:00
philip-morlier
5912cf69a9 Laconic comments removed 2023-09-10 14:04:10 -07:00
philip-morlier
8d626683a5 Comments added to laconic work. 2023-09-10 14:03:34 -07:00
philip-morlier
bb33c798de Fixed a patch in the engine wrapper.
In order to keep our utils interfaces as generic as possible across chains I added a "dummySeals" []bool to the engine wrapper. Up until now the slice was
a fixed size. From this point it has the same length as the []*headers argument also passed into the same function.
2023-09-10 13:29:51 -07:00
philip-morlier
f5f285379a Implementation of test function for laconic's GetCpontractCode method. 2023-09-08 13:14:58 -07:00
philip-morlier
3ca53046eb Merge remote-tracking branch 'laconic/add-plugindir-flag' into laconic-merge 2023-09-07 18:21:23 -07:00
philip-morlier
8409cfd6b4 Merge remote-tracking branch 'laconic/access-contractcode' into laconic-merge 2023-09-07 18:21:13 -07:00
philip-morlier
7a99cf6bf0 updated engine in test plugin 2023-07-31 13:04:19 -07:00
philip-morlier
bb43b2cbc4 Changes made to support unity across all plugeth projects with resepct to consensus engine. 2023-07-31 12:43:06 -07:00
bf0041eebe Backend: add GetContractCode 2023-07-19 14:02:16 +08:00
1d8f2a28e8 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: cerc-io/plugeth#1
2023-07-19 14:01:46 +08:00
philip-morlier
24f8b776c9 deleted duplicate test plugin package 2023-07-13 14:09:43 -07:00
philip-morlier
ba7a166608 deleted unneeded password file 2023-07-13 13:20:01 -07:00
philip-morlier
e9630a85f4 This is a functional build a dev tagged release of foundation plugeth
This brings the project up to geth v1.12.0

The plugeth test plugin has been added but is failing on the live tracer hooks as of this commit
2023-07-13 13:10:19 -07:00
philip-morlier
5822e2e15f remooved geth binary 2023-07-12 18:18:43 -07:00
philip-morlier
0747e800de Added plugin test package to plugins package 2023-07-12 18:17:18 -07:00
philip-morlier
6ed9390f9b Merge remote-tracking branch 'origin/feature/plugeth-test-plugin' into merge/geth-v1.12.0 2023-07-12 13:47:51 -07:00
philip-morlier
dc56f2a361 incremental commit, manual changes to support merge 2023-07-11 17:01:10 -07:00
philip-morlier
b19d7f9f9e Merge remote-tracking branch 'origin/develop' into feature/old-consensus-engine 2023-06-14 22:24:35 -07: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
1bf1a5634e Merge remote-tracking branch 'origin/develop' into feature/old-consensus-engine 2023-06-13 22:52:01 -07:00
philip-morlier
80956ac723 removed unnecessary comments from wrappers/engine.go 2023-06-12 15:08:37 -07:00
philip-morlier
7434ccb8c8 Initial commit of stand alone consensus engine work. 2023-06-12 09:52:46 -07:00
a9c2d243c5 clean up/copyedit 2023-06-09 23:07:13 +08: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
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
philip-morlier
c3924a529e new consensus engine commit 4/6/23 2023-04-06 10:36:43 -07:00
philip-morlier
4cfa8704a9 Functional hook for consensus engine plugin 2023-03-24 12:46:45 -07:00
philip-morlier
9ee93f1e26 further progress on plugin hook 2023-03-23 22:00:13 -07:00
Austin Roberts
9aba661554 Updates for consensus engine injection 2023-03-23 16:37:16 -05:00
philip-morlier
78e00bf68d Manual touches to preserve compatability of other networks with utils as well as fix a failing test in core/rawdb. 2023-02-21 10:29:25 -08:00
philip-morlier
ef92d21d25 Manual touches to modify types to conform to geth v1.11.1 2023-02-17 08:29:46 -08:00
philip-morlier
c0530b8313 Updated plugin loader, mod, and sum to reflect changes made in utils v0.0.21. 2022-12-08 11:40:22 -08:00
philip-morlier
967626b075 Updates to reflect comments on original merge. 2022-08-22 11:48:26 -07:00