* 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>
* QBFT: Fix validation of proposal based on older round's prepared block
* Add round numbers to new blocks and prepared based proposals
* QBFT fix around proposal validation by proposer and testcase updates
- Check the result of proposer's self proposal validation before sending prepare message
- Update roundchange testcases to include round numbers in blocks
* Update changelog with qbft fix
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
---------
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
This pull request addresses a minor stylistic improvement in the documentation.
Signed-off-by: Donny <130464015+defitricks@users.noreply.github.com>
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>
The phrase "private transaction created using v1.3.4" should be in the plural form: "private transactions created using v1.3.4".
Corrected.
Signed-off-by: Dmitry <98899785+mdqst@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Implementing Issue #7047 - Optionally load jemalloc
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc: fixes after review
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc: added entry to CHANGELOG
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Changes after review
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Added env var check in unix script
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Improved code and script, build and tested
Signed-off-by: amsmota <amsmota@gmail.com>
* Improved code and script, build and tested
Signed-off-by: amsmota <amsmota@gmail.com>
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
"ope.ex.mem" should be "op.ex.mem" — The abbreviation for "opcode execution" should be "op" rather than "ope."
Corrected.
Signed-off-by: Dmitry <98899785+mdqst@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>