730bea26d5
Patches for merge
2024-03-28 17:56:27 +08:00
4ad641831b
Merge remote-tracking branch 'upstream/develop' into statediff
2024-03-28 17:07:00 +08:00
philip-morlier
5065089c3d
Merged Use the statedb database to get Tries PR into merge PR
2024-01-24 14:55:49 -08:00
philip-morlier
2e29160068
Merge remote-tracking branch 'origin/bugfix/trie-plugin-cleanup-dev' into merge/geth-v1.13.11
2024-01-24 14:39:09 -08:00
philip-morlier
8722e19c77
Type casting and function signature alterations needed to comply with plugeth-utils
2024-01-24 11:13:39 -08:00
Austin Roberts
bc14d12fd7
Use the statedb database to get Tries
...
The old approach of getting state tries involved instantiating a
new state database and using it to instantiate a trie. What we didn't
realize was that state database needed to have Close() called on it,
which we didn't offer a way for plugins to do, resulting in memory
leaking.
This approach reuses the primary trie database associated with the
blockchain object, albeit a bit indirectly. This will allow access
to recent tries that are stored in memory, where previously only
tries that had been committed to disk were accessible.
2023-12-06 16:10:17 -06:00
philip-morlier
052b705632
Added addBalance to wrapped state db
2023-10-10 14:32:52 -07:00
Austin Roberts
07e9739871
Add genesis block from plugins
2023-10-02 13:38:13 -05: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
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
8409cfd6b4
Merge remote-tracking branch 'laconic/access-contractcode' into laconic-merge
2023-09-07 18:21:13 -07:00
3cd59d52c5
Backend: add GetContractCode
2023-08-04 23:03:07 +08: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
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
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
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
967626b075
Updates to reflect comments on original merge.
2022-08-22 11:48:26 -07:00
philip-morlier
59a823409e
Merge tag 'v1.10.22' into feature/merge-v1.10.22
2022-08-22 10:48:40 -07:00
philip-morlier
2f93e2ae10
Merge feature/merge-v1.10.18-attempt-two
2022-05-25 13:07:38 -07:00
philip-morlier
e87859e9ab
Updating mod and sum to reflect plugeth-utils v0.0.17. Made corresponding changes to wrapper function to reflect the close() method on the Node object returned by NewNode(). Created a new tag v1.10.17-2 to reflect these changes.
2022-05-16 09:48:46 -07:00
philip-morlier
4211c5c401
Merge tag 'v1.10.17' into merge/v1.10.17
2022-03-30 15:40:07 -07:00
philip-morlier
0b5c23e739
Updated plugins/wrappers/wrappers.go to include code and input fields on utils core.interface contract object. Also mod and sum to reflect utils v0.0.12
2022-03-30 15:25:22 -07:00
philip-morlier
4a33bc66c5
Changes in service of extending block context object into the tracer plugins
2022-03-30 15:20:54 -07:00
philip-morlier
ec965607cd
Cahnges made in service of pretracer type.
2022-03-30 15:15:37 -07:00
philip-morlier
9a4172189d
Added warning logs to obsolete methods on Downloader in backendwrappers.
2021-12-27 15:01:44 -08:00
philip-morlier
007ba02e4b
final commit of 1.10.14 update
2021-12-27 14:43:35 -08:00
philip-morlier
15b7e55b50
Initial commit of v1.10.14 merge
2021-12-23 14:57:38 -08:00
Austin Roberts
826327a8e7
Update to develop
2021-11-29 10:41:24 -06:00
philip-morlier
cc416746a1
Further additions to v1.10.13 update.
2021-11-29 10:21:34 -06:00
philip-morlier
c56312cd2f
changes in service to operational and assumed complete blockTracer plugin
2021-11-10 18:07:57 -08:00
philip-morlier
9ac78685b3
modifications made in service of block tracer
2021-11-05 17:26:53 -07:00
AusIV
1bca34f157
Merge branch 'develop' into feature/tracer-capture-enter
2021-10-22 15:02:24 -05:00
philip-morlier
c8e3e83641
Updated wrappers to reflect changes to tracer functions
2021-10-18 14:48:51 -07:00
Austin Roberts
625d2c0e98
Make chainconfig wrapper more robust against differences between types
2021-10-18 15:01:04 -05:00
Austin Roberts
5d4d973cc4
Merge tag 'v1.10.9' into develop
...
Notes: the AppendAncient plugin hook is broken by this commit.
This adds CaptureEnter() and CaptureExit() as no-ops for interface
compliance, but these capabilities should be added for plugin tracers
soon.
2021-10-18 12:02:35 -05:00
philip-morlier
5b9e5f56e2
Modifications to wrappers and loader forenabling node.attach in utils/core/interfaces
2021-10-10 13:08:52 -07:00