forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stateful v1.11.4 #27
Merged
Merged
Stateful v1.11.4 #27
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Migrate Stateful changes onto release v1.11.4
feat(precompile): Add EVM to Precompiles
* disabling check * added todo * enableeeeeee
* fn comment
* txsSub removed all ref
* Prepare for tx * added support for bundles * remove useless Prepare function * core.ChainConfig instead of *core.BlockChain for BundleAPI * remove PrepareForTx * ApplyTransactionWithEVMWithResult(...) in CallBundle(...) * removed useless param * cleanup --------- Co-authored-by: Cal Bera <calbera@berachain.com>
calbera
added a commit
that referenced
this pull request
May 30, 2023
* stateful * use PrecompileExecutor * use host terminology * return precompiledContract and bool * use ctx in Run instead of statedb * change to ph * bing bong * rename to runner * rename constructor * new precompile function types * precompile controller * make PrecompileController public * ctx setter * add statedb in contract.Run * use Prepare on controller * prepare for state transition * contract has registry key * has and get * controller > manager * with statedb * with ctx * simple precompile manager * allow setting block context to evm * remove unneded evm funcs * simplify precompile manager * updated go.sum * removing extra bits * typo fixes * ethapi * cleanup precomp manager * add get chain id * make access list public * make access list struct public * fix typos * ethpub * use the StateDB interface in the API * make compatible * fixed merge conflicts * remove unecessary vm imports * add signature to signer interface * resolve more * get all tests passing * remove code check for precompiles * setup * disabling m.txsub check (#17) * disabling check * added todo * enableeeeeee * Disable event check (#18) * fn comment * removing txsSub reference everywhere (#19) * txsSub removed all ref * use GetEVM for tracing txs * check wrapped errors for execution revert * fix fuzz test compile * remove unneeded print line * check statedb errors * revert #17, #18, #19 * use precompile manager for active precompiles list * cleanup * get-block-context * fix read only flag for callcode * apply tx with evm * flashbots: bundle API and mev-geth integration (#24) * Prepare for tx * added support for bundles * remove useless Prepare function * core.ChainConfig instead of *core.BlockChain for BundleAPI * remove PrepareForTx * ApplyTransactionWithEVMWithResult(...) in CallBundle(...) * removed useless param * cleanup --------- Co-authored-by: Cal Bera <calbera@berachain.com> * match applyTransaction function signatures * allow reuse of blockhash * graphql registrable * register filter --------- Co-authored-by: Devon Bear <itsdevbear@berachain.com> Co-authored-by: t12s <t12s@berachain.com> Co-authored-by: t12s <118035857+transmissions12@users.noreply.github.com> Co-authored-by: Never_Defined <hk-nft@protonmail.com> Co-authored-by: shampoobera <132924353+shampoobera@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.