forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <[email protected]> * match applyTransaction function signatures * allow reuse of blockhash * graphql registrable * register filter --------- Co-authored-by: Devon Bear <[email protected]> Co-authored-by: t12s <[email protected]> Co-authored-by: t12s <[email protected]> Co-authored-by: Never_Defined <[email protected]> Co-authored-by: shampoobera <[email protected]>
- Loading branch information
1 parent
7e3b149
commit 46a0003
Showing
93 changed files
with
1,352 additions
and
423 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.