Commit Graph

12881 Commits

Author SHA1 Message Date
Austin Roberts
9497293e26 Merge tag 'v1.10.8' into develop 2021-10-18 11:17:14 -05:00
Austin Roberts
416ff11059 Merge tag 'v1.10.7' into develop 2021-10-18 11:12:22 -05:00
Austin Roberts
299b5cb05c Merge tag 'v1.10.6' into develop 2021-10-18 11:08:43 -05:00
AusIV
6a86c8934a
Merge pull request #5 from openrelayxyz/feature/isSynced-improvement
Updated eth/pluginhooks to acoomodate live tracing
2021-10-11 13:48:49 -05:00
philip-morlier
956eef4abe
Updated eth/pluginhooks to acoomodate live tracing 2021-10-11 11:43:26 -07:00
AusIV
ff201f92c1
Merge pull request #4 from openrelayxyz/feature/isSynced-improvement
Modifications to wrappers and loader forenabling node.attach in utils…
2021-10-11 11:32:57 -05:00
philip-morlier
b7c57d47ec
updated mod and sum to reflect utils update 2021-10-11 09:30:15 -07:00
philip-morlier
5b9e5f56e2
Modifications to wrappers and loader forenabling node.attach in utils/core/interfaces 2021-10-10 13:08:52 -07:00
Austin Roberts
a693104bcb Fix blockchain hook tests. 2021-09-30 13:56:04 -05:00
AusIV
97c44a8fe6
Merge pull request #3 from openrelayxyz/feature/state-update-code
Talked with Philip - Merging
2021-09-29 15:51:14 -05:00
Austin Roberts
2e20863400 Update dependencies 2021-09-29 15:27:33 -05:00
Austin Roberts
1b06b9762a Add a db wrapper to enable iteration 2021-09-28 14:01:01 -05:00
Austin Roberts
65f00aad1c Fix flag parsing for plugins 2021-09-21 09:01:03 -05:00
Austin Roberts
9249a67e45 Included total difficulty with new head callback 2021-09-20 11:23:37 -05:00
Austin Roberts
4f6c8eacb3 Include code in state updates hook 2021-09-20 10:49:56 -05:00
AusIV
9446654386
Merge pull request #2 from openrelayxyz/utils-refactor
Utils refactor
2021-09-17 16:12:27 -05:00
philip-morlier
3e05a986b1 Merge branch 'utils-refactor' of github.com:openrelayxyz/plugeth into utils-refactor 2021-09-17 12:12:02 -07:00
philip-morlier
3af3c8c951
Changes to core/blockchain_hook_test, core/state/plugin_hooks, and eth/plugin_hooks to reslove issues discovered in pull review 9-17-21 2021-09-17 12:11:30 -07:00
Austin Roberts
a03c9e1324 Merge remote-tracking branch 'plugeth/develop' into utils-refactor 2021-09-17 11:27:47 -05:00
philip-morlier
88f38674d1
Updated mod and sum files 2021-09-16 15:03:29 -07:00
Austin Roberts
e6f05fcca9 Use restricted params, not geth params 2021-09-16 16:06:46 -05:00
Austin Roberts
f7307d527d Updates to support blockupdates plugin
This makes several updates to support the blockupdates plugin.

I had to update several hooks that were using the wrong types, and
provide a way to get event.Feed objects into plugins without importing
event.Feed (which I did by having the plugin loader make them
available).
2021-09-16 16:04:36 -05:00
philip-morlier
25af69b8e2
Missing rpc call hook and test 2021-09-16 14:03:50 -07:00
philip-morlier
7d7fad0988
Further updates to wrappers.go and rpc/handler.go, chaising bugs 2021-09-16 11:55:39 -07:00
philip-morlier
86fd4f27e2
updated eth/tracers/plugin_hooks.go to reflect attempts to address Wednesday 9/15/21 problems with tracer plugin 2021-09-15 16:13:38 -07:00
philip-morlier
ea0f27c92d Merge remote-tracking branch 'refs/remotes/origin/utils-refactor' into utils-refactor 2021-09-15 13:13:32 -07:00
philip-morlier
1b4eded9c5
Updeated wrappers.go and go.mod 2021-09-15 13:09:43 -07:00
Austin Roberts
b8928b1e57 Add code comments, remove debug logging 2021-09-15 08:54:04 -05:00
Austin Roberts
1ed3de57d4 Support subscriptions in plugins
This does some dark magic with reflect to enable plugins to offer
subscriptions without requiring them to use the rpc.Subscriptions
import.

Basically, plugin services can have a channel as a return value,
and the shim will pull items off of that chanel and send them to
the notifier. It makes sure that context.Done() will fire when
the user disconnects, and will shut everything down if the channel
closes.
2021-09-14 17:44:49 -05:00
Austin Roberts
7b33b6e821 Add chainconfig to backend 2021-09-14 17:44:25 -05:00
philip-morlier
411a43e378
updated cmd/geth/plugin_hooks.go and plugins/plugin_loader.go to reflect changes re core.logger, updated go.mod and go.sum to address dependency issues 2021-09-09 12:51:13 -07:00
philip-morlier
b36e63f184
eth/tracers/plugin_hooks, tracers/plugin_hooks, and wrappers utils refactor modifications 2021-09-08 14:38:17 -07:00
philip-morlier
c36c999383
utils refactor work from the week 2021-09-03 15:20:49 -07:00
Austin Roberts
0d5af1c7dc Add Len() to Stack 2021-09-02 16:26:40 -05:00
philip-morlier
f615e3813d
Modified hooks for plugeth-utils functionality 2021-09-01 13:34:03 -07:00
Austin Roberts
8291edc416 A couple of translation examples plus todos for Philip 2021-08-31 15:51:41 -05:00
Austin Roberts
820a0af71c Pass plugin loader by interface 2021-08-31 15:41:27 -05:00
Austin Roberts
d9d51dd345 update plugeth-utils version 2021-08-31 15:29:09 -05:00
Austin Roberts
40377543bf Add plugin hook tester 2021-08-25 14:00:27 -05:00
Sam Johnston
6f375ae627 Correct naming to be accurate 2021-08-25 13:39:50 -05:00
Sam Johnston
c3328b6042 Correct naming typo 2021-08-25 13:33:50 -05:00
Sam Johnston
41851f5ba5 Adding circleci configuration file skeleton 2021-08-25 13:32:30 -05:00
Péter Szilágyi
26675454bf
params: release Geth v1.10.8 2021-08-24 10:04:30 +03:00
Martin Holst Swende
1d99573192
core/vm: faster code analysis (#23381)
* core/vm: more detailed benchmark for jumpdest analysis

* core/vm: make jd analysis benchmark alloc free

* core/vm: improve jumpdest analysis

* core/vm: improve worst-case

* core/vm: further improvements in analysis

* core/vm: improve jumpdest analysis >PUSH15

* core/vm: make jd analysis ref by value

* core/vm: fix misspell

* core/vm: improve set8 and set16 a bit

* core/vm: reduce amount of code

* core/vm: optimize byte copying
2021-08-24 10:00:10 +03:00
Felföldi Zsolt
f38abc55f1
eth/gasprice: feeHistory improvements (#23422)
* eth/gasprice: cache feeHistory results

* eth/gasprice: changed feeHistory block count limitation

* eth/gasprice: do not use embedded struct in blockFees

* eth/gasprice: fee processing logic cleanup

* eth/gasprice: purge feeHistory cache at chain reorgs
2021-08-23 23:50:24 +02:00
ucwong
dfeb2f7e80
go.mod: upgrade golang.org/x/sys for go1.17 support (#23406) 2021-08-23 13:45:16 +02:00
Felix Lange
bb1f7ebf20
signer/core/apitypes: remove dependency on internal/ethapi (#23362) 2021-08-23 12:20:56 +02:00
Marius van der Wijden
d02c605367
core: only check sendernoeoa in non fake mode (#23424) 2021-08-23 12:49:39 +03:00
Péter Szilágyi
c368f728c1
Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426) 2021-08-20 15:14:21 +03:00
chuwt
5566e5d152
eth/downloader: fix typo in comment (#23413) 2021-08-18 13:03:41 +03:00