Commit Graph

30 Commits

Author SHA1 Message Date
philip-morlier
13375d3304 Merge remote-tracking branch 'origin/master' into feature/consensus-engine 2023-06-12 09:51:05 -07:00
philip-morlier
53047f4c71 Changed Trie methods to conform to geth v1.11.6 2023-05-05 14:04:28 -07:00
philip-morlier
6b776ae75c Added GetTrie and GetAccountTrie to core/interace.go 2023-04-07 14:28:23 -07:00
philip-morlier
40f38568e0 Exposed Geth core/state/Trie
Added three interfaces which enable plugins to access the state trie appended to the backend object.
2023-04-07 10:48:42 -07:00
philip-morlier
2d8c563e16 intial work to bring through state trie 2023-04-06 18:10:25 -07:00
philip-morlier
4c6d82e4c8 added IntermediateRoot() to core/interface 2023-04-04 21:24:46 -07:00
Austin Roberts
2c24710d5d Updates for consensus engine injection 2023-03-23 16:37:02 -05:00
philip-morlier
0a85922a7a reverted BlockContext.Time to big.Int to preserve downstream plugins 2023-02-20 12:09:44 -08:00
philip-morlier
80b7d5ab57 Tracer interface restored to previous implementation to preserve tracer plugins. 2023-02-20 10:53:26 -08:00
philip-morlier
be5ed30749 type and dependency adjustments to match geth v1.11.0 2023-02-16 13:37:00 -08:00
philip-morlier
de66fbbc17 interface added to core/interface to enable passing through of cli.v2 methods into plugeth in order to enable polygon's dependency on cli.v1. 2022-12-07 17:59:37 -08:00
Austin Roberts
b36dcc7b53 Give plugins access to node.Close()
Prior to this update, plugins could shutdown Geth by panicking, but
had no mechanism to shutdown cleanly. Simply exposing the node.Close()
function (which already exists on the Node struct), plugins should
be able to initiate a clean shutdown.

In general, Plugins should make sparing use of this capability, but
in light of the fact that they were able to do unclean shutdowns
via a panic(), we can't avoid allowing them to stop Geth, and allowing
them to do so cleanly seems better than relying on panics.
2022-05-16 10:56:49 -05:00
philip-morlier
04923f1972 Initial commit of changes made to interface in service of pretracer type. 2022-02-15 16:54:39 -08:00
philip-morlier
6f1c546bb3 Changes made in service of adding block context object interface to interfaces. 2022-02-02 20:48:25 -08:00
philip-morlier
ff5d2e8030 Appending unmarshalJSON methods to avoid panic if mal-formed arguments are passed. 2022-01-27 11:12:56 -08:00
philip-morlier
b27029cd43 Updated core/interface.go to include code(), and input() fields on contract object 2022-01-14 13:25:37 -08:00
philip-morlier
d395f304f2 Updates to Dwonloader.Progress to reflect geth v1.10.14 changes. 2021-12-27 15:10:33 -08:00
philip-morlier
a1532d773b Changes to core/interface and addition of opcodes also in service of block tracer 2021-11-05 17:08:42 -07:00
philip-morlier
414de49dac Yet another reset 2021-10-08 14:04:39 -07:00
Austin Roberts
a55f805606 Misc updates to eliminate accidental geth imports 2021-09-16 15:52:50 -05:00
Austin Roberts
fd68052ffa Add types test 2021-09-14 13:32:05 -05:00
Austin Roberts
0ee401ca60 Add types package 2021-09-14 11:53:41 -05:00
Austin Roberts
0d3400ee78 Make Hash and Address implement JSON marshalling, add hexutils to restricted 2021-09-10 11:33:16 -05:00
philip-morlier
27afdc9ff3
TracerReseult, ScopeContext, and StateDB changes to interfaces 2021-09-08 13:58:53 -07:00
philip-morlier
1fb2754193
Removed UseGas method from Contract interface 2021-09-03 15:16:14 -07:00
philip-morlier
b7b64de53a
fixing error on line 69 2021-09-03 09:34:04 -07:00
philip-morlier
a6ca470208
updated memory interface 2021-09-02 16:19:55 -07:00
Austin Roberts
1d8e7dc3a5 Add result to tracerresult interface 2021-09-01 16:10:42 -05:00
Austin Roberts
8148633920 Add plugin loader interface 2021-08-31 15:40:39 -05:00
Austin Roberts
e8b93d7597 Initial commit 2021-08-31 15:24:20 -05:00