* warm up to address at tx start if account is delegated, restrict auth nonce to 2**64-1
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* rename requestsRoot to requestsHash
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* return no code if account has delegated code to precompile, treat precompile always as warm account when resolving code
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* make accessListWarmAddresses generic again
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* warm delegatee account if transaction destination has delegated code
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* * verify auth nonce less than 2**64-1 during auth processing
* auth to zero address deletes delegation
* auth to precompile returns empty code
* auth nonce < 2**8
* increase auth base cost to 12500
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* generalised requests flat encoding and engine api changes
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* javadoc
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* get tests passing
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* get tests passing
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* clean code
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* change requests to single requestData for each requestType
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* fix PoWBlockCreatorTest after requests data type change
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* don't return request type in getPayload result
Signed-off-by: Jason Frame <jason.frame@consensys.net>
don't return request type in getPayload result
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* include requests in t8n response
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* update contract addresses for consolidation requests and withdrawal requests
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* fix requestHash calculation
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* Ensure that execution requests always return a response
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* added and fixed bound checks, fixed some compilation errors after the rebase
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* revert changes to evm tool spec tests
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* clean up
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* replace AbstractSystemCallRequestProcessor to concrete class and remove specific processors
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* spotless
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* update evmtool tests for 7685 changes
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* use empty requests hash prague fork at genesis
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* review suggestions
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* temporarily comment out osakaTime from Prague
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* engine API validation
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* update plugin API hash
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* fix GenesisStateTest
Signed-off-by: Jason Frame <jason.frame@consensys.net>
* comment out unused evmWorldUpdater.parentUpdater() check
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* added CodeDelegationProcessorTest
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* code clean up
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* spotless
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
* fix TransactionLocation in DefaultBlockchain unsafeImportBlock() and make some readability improvements
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
* Upgrade to Promethus java client 1.x and adapt the code to the new version
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG.md
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
BesuContext was not a helpful name for an interface that only manipulates services to be used by plugins.
---------
Signed-off-by: jflo <justin+github@florentine.us>
* Add support for counter metric with external supplied value
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Don't create reward account if no reward
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Remove unnecessary test stub
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Extra check to only create 0 balance accounts if clearEmptyAccounts isn't set
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Consolidate all metric collectors into the metrics system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fixes
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Do not recreate the Prometheus metric system
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* add optional worldstate move to debug_setHead
* make state rolling occur incrementally so as not to overwhelm memory and resources
Signed-off-by: garyschulte <garyschulte@gmail.com>
decoupled parent block header from block creators
optionalized some fields of ProtocolSchedule constructor, which will allow us to reduce number of constructors later.
Refactored JsonBlockImporterTest so it can provide a BesuComponent
ProtocolScheduleBuilder optionalizes the default chainid
Blocks SubCommand is now Dagger aware
Creates but rarely uses ProtocolSpec and ProtocolSchedule modules. Deeper adoption pending.
Adds a Coinbase module with fixed values for use in testing.
Introduces an EthereumCoreComponent, to be used as a subcomponent of BesuComponent in the future.
Introduces a MiningParameters module with common static values used by tests. Removes MiningParameters static constructor.
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: jflo <justin+github@florentine.us>
* Make timeout feature use vertx timer.
* Handle all errors resulting from timeout.
* Ensure that after the timeout occurs, we properly handle the response and don't allow the execution to continue.
---------
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
Signed-off-by: cloudspores <ade.lucas@consensys.net>
Co-authored-by: Ade Lucas <adelucas@gc950powy.lan>
Co-authored-by: Ade Lucas <adelucas@macbook-pro.lan>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Renaming and refactoring the classes common to both Bonsai and Verkle to facilitate the future integration of Verkle.
---------
Signed-off-by: Karim Taam <karim.t2am@gmail.com>