Commit Graph

110 Commits

Author SHA1 Message Date
philip-morlier
f3c906a3a8 Removed logging from stateTrie update function. 2023-09-11 12:22:59 -07:00
philip-morlier
95319e5252 Updated the update method on the treiHasher object. 2023-09-07 19:04:39 -07:00
philip-morlier
b5c70a3094 Merge remote-tracking branch 'laconic/access-contractcode' into laconic-merge 2023-09-07 18:57:02 -07:00
philip-morlier
7e8eb4c7d7 Merge remote-tracking branch 'laconic/add-trie-iterator' into laconic-merge 2023-09-07 18:56:06 -07:00
philip-morlier
f5884db6fb Merge remote-tracking branch 'laconic/receipt-encoding-updates' into laconic-merge 2023-09-07 18:43:20 -07:00
philip-morlier
414a9ee4bd Merge remote-tracking branch 'laconic/add-path-encoders' into laconic-merge 2023-09-07 18:37:08 -07:00
7bb6d3273d Update docs on Flags 2023-07-20 08:39:46 +08:00
ca42bbef6b Add trie iterators 2023-07-19 13:44:40 +08:00
109e659945 restricted/types: Add path encoding utilities 2023-07-19 13:43:22 +08:00
54c41c300a restricted/types: fix discrepancy in receipt.EffectiveGasPrice json encoding tags
Port of https://github.com/ethereum/go-ethereum/pull/27114
2023-07-19 13:35:03 +08:00
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
3e7ceda110 Copyedit docs 2023-07-19 12:29:09 +08:00
39acd005bf add GetContractCode 2023-07-07 00:08:00 +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