211a8aba96
restricted/types: add EffectiveGasPrice in Receipt
...
Port of https://github.com/ethereum/go-ethereum/pull/26713
2023-07-19 13:35:03 +08:00
d69102afec
restricted/types: add MarshalBinary, UnmarshalBinary for Receipt
...
Port of https://github.com/ethereum/go-ethereum/pull/22806
2023-07-19 13:35:03 +08:00
80a4c5f4c5
Fix various build errors and bugs
...
- bug in hex decoding in bls12381 package
- correct interfaces
- missing test variables
2023-07-07 00:07:06 +08:00
5c57181c36
update TrieHasher
2023-07-07 00:06:59 +08:00
Philip Morlier
0deaa33408
Merge pull request #23 from openrelayxyz/feature/consensus-engine
...
Feature/consensus engine
2023-06-12 12:45:20 -07:00
philip-morlier
13375d3304
Merge remote-tracking branch 'origin/master' into feature/consensus-engine
2023-06-12 09:51:05 -07:00
AusIV
cee6a9b8c3
Merge pull request #22 from openrelayxyz/feature/expose-state-trie
...
Feature/expose state trie
2023-05-05 16:06:59 -05:00
philip-morlier
1ea5b45d7c
Merge remote-tracking branch 'origin/master' into feature/expose-state-trie
2023-05-05 14:05:27 -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
f0d96daf4e
Merge pull request #21 from openrelayxyz/feature/expose-state-trie
...
Feature/expose state trie
2023-05-01 12:07:24 -07:00
philip-morlier
9ece32ad92
Merge remote-tracking branch 'origin/master' into feature/expose-state-trie
2023-04-28 12:13:19 -07:00
Philip Morlier
7d72701cda
Merge pull request #20 from openrelayxyz/merge/geth-v1.11.6
...
Tag augmented to mark merge of geth v1.11.6
2023-04-27 08:48:11 -07:00
philip-morlier
714e2aa4e4
Tag augmented to mark merge of geth v1.11.6
...
Atypically, with geth v1.11.6, we needed to update dependencies in cardinal and plugeth-plugins. This commit and tag is meant to serve as marker for when those changes were merged across the cardianl eco-system.
2023-04-27 08:25:11 -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
6667e62765
added hasher package
2023-04-04 21:25:44 -07:00
philip-morlier
d3e488ca30
added encbuffer to restricted rlp
2023-04-04 21:25:21 -07:00
philip-morlier
4c6d82e4c8
added IntermediateRoot() to core/interface
2023-04-04 21:24:46 -07:00
philip-morlier
2f0a270ff2
cgo adjustments to avoid compile time errors
2023-03-24 09:41:58 -07:00
Austin Roberts
9127848510
Add ommitted consensus package
2023-03-24 09:20:36 -05:00
Austin Roberts
2c24710d5d
Updates for consensus engine injection
2023-03-23 16:37:02 -05:00
Philip Morlier
c6e1ed0c2b
Merge pull request #19 from openrelayxyz/hardfork/shanghai
...
Add withdrawals to Block
2023-02-23 08:26:24 -08:00
Philip Morlier
1014e826a2
Merge pull request #18 from openrelayxyz/merge/geth-v1.11.0
...
type and dependency adjustments to match geth v1.11.0
2023-02-21 15:27:35 -08: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
Austin Roberts
920ed764db
Add withdrawals to Block
...
Includes:
* restricted/types/withdrawal.go
* Additions to restricted/types/blocks.go
Note that I have not currently included withdrawal_gen.go, which
does not appear on the surface to be necessar,y but that may
require adjustment if testing shows otherwise.
2023-01-26 16:09:39 -06:00
Philip Morlier
06632b4360
Merge pull request #17 from openrelayxyz/feature/bor-cli-shim
...
interface added to core/interface to enable passing through of cli.v2…
2022-12-07 18:12:56 -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
7fdf75482b
Merge remote-tracking branch 'origin/master'
2022-08-25 14:53:10 -05:00
Austin Roberts
7eb3dbe7eb
Align version numbers with latest geth
2022-08-25 14:44:46 -05:00
Philip Morlier
1da4bb0433
Merge pull request #15 from openrelayxyz/feature/update-to-go1.18
...
Updating to go1.18
2022-08-01 13:39:45 -07:00
philip-morlier
1a41acb54f
Updating to go1.18
2022-08-01 13:09:43 -07:00
Austin Roberts
898e32c2d6
Upgrade dependencies to align with Geth
2022-06-15 09:49:31 -05:00
Philip Morlier
ec1b7edc32
Merge pull request #14 from openrelayxyz/feature/plugin-shutdown
...
Give plugins access to node.Close()
2022-05-16 09:03:55 -07: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
Austin Roberts
05e3652c6c
Update version numbers to align with PluGeth
2022-04-05 13:13:21 -05:00
Philip Morlier
a0bb001dd1
Merge pull request #13 from openrelayxyz/feature/pretracer
...
Initial commit of changes made to interface in service of pretracer t…
2022-02-24 15:43:02 -08: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
eea0ccd0ae
Merge pull request #12 from openrelayxyz/pre-cardinal-docs-update
...
Corrections to documentation.
2022-02-14 13:15:56 -05:00
philip-morlier
28725419ac
Corrections to documentation.
2022-02-14 10:15:11 -08:00
Philip Morlier
3e6e60003b
Merge pull request #11 from openrelayxyz/pre-cardinal-docs-update
...
Pre cardinal docs update
2022-02-14 13:06:50 -05:00
philip-morlier
773a47597c
Further updates to documentation
2022-02-14 10:02:35 -08:00
philip-morlier
1c6482a233
Updated docs for cardinal release
2022-02-10 15:18:33 -08:00
Philip Morlier
1b25f57d6c
Merge pull request #10 from openrelayxyz/feature/adding_blockcontext_object
...
Changes made in service of adding block context object interface to i…
2022-02-09 16:41:27 -05:00
philip-morlier
60db12bbe7
Initial commit of pre caridnal documentation updates.
2022-02-09 12:46:40 -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
393e2167a2
Merge pull request #9 from openrelayxyz/bugfix/unmarshal-panic
...
Appending unmarshalJSON methods to avoid panic if mal-formed arguments are passed.
2022-01-27 14:14:40 -05:00
philip-morlier
ff5d2e8030
Appending unmarshalJSON methods to avoid panic if mal-formed arguments are passed.
2022-01-27 11:12:56 -08:00