Fabio Di Fabio
8b5b40d21e
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/acceptance-tests.yml
# .github/workflows/codeql.yml
# .github/workflows/integration-tests.yml
# .github/workflows/pre-review.yml
# .github/workflows/reference-tests.yml
# build.gradle
2025-03-18 11:23:20 +01:00
Simon Dudley
789542f76d
Pull in Consensys/tuweni v2.7.0 ( #8330 )
...
This replaces io.tmio/tuweni with the Consensys fork.
Also Includes:
- reduce check argument args allocations - https://github.com/Consensys/tuweni/pull/10
which should reduce Integer and int[] and therefore gc pressure
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
2025-03-17 19:42:25 +10:00
Fabio Di Fabio
ca2e5692f7
Add a method to get the encoded preimage of a transaction ( #8414 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2025-03-14 11:19:14 +00:00
Fabio Di Fabio
bdc6423779
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/pre-review.yml
# .github/workflows/reference-tests.yml
2025-02-12 16:05:20 +01:00
Gabriel-Trintinalia
3638944a6c
Make prague evm spec ready ( #8277 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-02-12 00:48:10 +00:00
Fabio Di Fabio
271edbb97d
Merge branch 'main' into zkbesu
2025-02-05 21:34:59 +01:00
Fabio Di Fabio
a81879370e
Use PendingTransaction interface in block creation classes ( #8254 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2025-02-05 21:31:09 +01:00
Fabio Di Fabio
1d875cfa0e
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/pull_request_template.md
# .github/workflows/sonarcloud.yml
2025-02-03 14:15:40 +01:00
Gabriel-Trintinalia
8d360a3d0e
Simulation: Add state to StateOverride (eth_call, eth_simulateV1). ( #8166 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-02-02 23:50:47 +00:00
Gabriel-Trintinalia
97a69b03c8
Devnet5 Fix requests tests ( #8201 )
...
* Fix hive tests for eip7685
* Pass correct empty request hash
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-01-31 05:11:52 +00:00
Fabio Di Fabio
3485e296f3
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/verify_artifacts.py
2025-01-27 15:29:49 +01:00
daniellehrner
e9a94f3682
Devnet-5: bug fixes for 7702 ( #8148 )
...
* * fix code hash for delegated accounts in ExtCodeHashOperation
* move common code to AbstractExtCodeOperation class
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* * rename DelegatedCode -> CodeDelegation, for consistency
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* * rename authorization -> CodeDelegation, for consistency
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* rename method to start with lower case
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
2025-01-22 21:59:27 +01:00
Fabio Di Fabio
1bb7624325
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/draft-release.yml
2025-01-15 11:24:31 +01:00
Gabriel-Trintinalia
5cc309a26e
Add support for movePrecompileToAddress in State Overrides (eth_call) ( #8115 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-01-15 04:27:57 +00:00
daniellehrner
8308650ef9
Exclude empty requests from requests hash ( #8036 )
...
* exclude empty requests from requests hash
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Exclude empty requests and prepend request type byte in engine_getPayloadV4
Fixes https://github.com/ethereum/execution-apis/pull/599 change to EIP-7685
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
* fix test
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix prague tests: change request hash, reorder json elements
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix extracting of request for new payload
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix test by fixing request object creation
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* spotless
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* set request type to only one byte, fixed creation of request list in T8nExecutor
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix expected json output to exclude empty requests
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
2025-01-14 19:45:10 +01:00
Fabio Di Fabio
0b17320927
Merge branch 'main' into zkbesu
2025-01-13 17:28:36 +01:00
Gabriel-Trintinalia
4eb6fb07b7
Rename accountOverride to stateOverride to match spec ( #8111 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2025-01-13 03:48:43 +00:00
garyschulte
2aadbfcb0a
implement the proposed gas changes for bls / eip-2537 ( #8008 )
...
* implement the proposed gas changes for bls / eip-2537 for pectra-devnet-5
* disable eip-2537 testing until we have new artifacts that reflect pectra gas costs
Signed-off-by: garyschulte <garyschulte@gmail.com >
2025-01-10 00:25:00 +00:00
Fabio Di Fabio
6e255ceb6c
Merge branch 'main' into zkbesu
...
# Conflicts:
# build.gradle
# gradle/verification-metadata.xml
2024-12-13 12:23:25 +01:00
Sally MacFarlane
98780efd15
eth_call state override bugfix - movePrecompileToAddress ( #8024 )
...
* add ignore unknown prop to builder
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-12-13 14:27:55 +10:00
ahamlat
c62cd21cfb
Improve equals performance on Address ( #8013 )
...
* Improve equals performance operation on Address
* Use toArrayUnsafe instead of toArray to reduce GC overhead
Signed-off-by: Ameziane H. <ameziane.hamlat@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-12-11 07:18:56 +01:00
Gabriel-Trintinalia
8148f0d961
Use unsigned long parameter ( #8003 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-09 05:15:17 +00:00
Gabriel-Trintinalia
84cd52fdeb
Small refactoring - Move UnsignedLongParameter to datatypes ( #8001 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-12-09 02:47:02 +00:00
Sally MacFarlane
8e3d51fa4f
Merge branch 'main' into zkbesu
2024-12-09 12:41:28 +10:00
Sally MacFarlane
4033d3b719
account overrides: parse hex string into nonce long ( #7999 )
2024-12-09 02:24:03 +00:00
Fabio Di Fabio
cf5047911e
Merge branch 'main' into zkbesu
2024-12-06 13:51:27 +01:00
ahamlat
d595eeebb3
Improve newPayload and FCU logs ( #7961 )
...
* Change the output log on newPayload and FCU executions
Signed-off-by: Ameziane H. <ameziane.hamlat@consensys.net >
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
2024-12-05 16:49:05 +00:00
Daniel Lehrner
a8c1c90176
Merge branch 'main' into zkbesu
...
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
2024-12-04 15:28:16 +01:00
daniellehrner
07637cfc12
EIP-7702: devnet-4 changes ( #7809 )
...
* 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 >
2024-12-03 10:51:43 +00:00
Gabriel-Trintinalia
660a354237
Merge branch 'main' into zkbesu
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-11-25 11:22:47 +11:00
Sally MacFarlane
55920e002a
add Tx simulate method that accepts state override ( #7892 )
...
* move AccountOverrides into plugin datatypes; add simulate method that accepts this param
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-11-21 08:53:54 +10:00
Fabio Di Fabio
0037615dc4
Merge branch 'main' into zkbesu
...
# Conflicts:
# build.gradle
2024-10-24 12:01:44 +02:00
Jason Frame
f16d3526db
Change execution requests to use flat encoding ( #7771 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net >
2024-10-24 09:02:43 +00:00
Fabio Di Fabio
1f5bd254c5
Merge branch 'main' into zkbesu
2024-10-11 10:33:47 +02:00
Danno Ferrin
efb6906e13
Move EOF to the Osaka Fork ( #7719 )
...
* Move EOF to the Osaka Fork
* Ensure Osaka activations are working
* Remove CancunEOF and PragueEOF forks
* Move EOF tools to default to Osaka
Signed-off-by: Danno Ferrin <danno@numisight.com >
* remove eof tests that fail only because of fork
Signed-off-by: Danno Ferrin <danno@numisight.com >
* Restore CancunEOF
* Update unit tests to use "Cancun" as pre-eof fork
* Make PC in trace zeroed to start of code section 0
* Update extcall to consider precompiles warm
* Add stack checking to CALLF operation
Signed-off-by: Danno Ferrin <danno@numisight.com >
---------
Signed-off-by: Danno Ferrin <danno@numisight.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-10-11 09:43:17 +10:00
Fabio Di Fabio
75a540175d
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/acceptance-tests.yml
# .github/workflows/pre-review.yml
# build.gradle
2024-09-06 16:30:57 +02:00
daniellehrner
8eee569887
7702 for devenet-3 ( #7444 )
...
* wrapped WorldUpdater into `EVMWorldupdater` to remove the authority code injection from the implementation of the actual world updaters
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* add CHANGELOG entry
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* first draft for 7702 v2
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* change return value of DelegatedCodeGasCostHelper
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix upfront gas cost calculation, fix setting code multiple times in MutableDelegatedCodeAccount
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix gas refund for delegated code when account already exists, added gas cost deduction for code delegation resolution to ExtCodeSizeOperation
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* allow accounts with delegated code to send transactions
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* add refund for already existing account after nonce check
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* resolve delegated code only the first time to avoid delegation loops
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* handle invalid authorization signatures properly
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* refactored CodeDelegationProcessor to compute authorizer of a code delegation after the chain id check
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix canSetDelegatedCode method by checking code how it is in the trie and not the resolved code
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* optimize code hash calculation for empty code, fix check for empty code delegation list
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* check the all code delegation signatures hava a valid s value
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* rename encoder & decoder, handle invalid signature values in T8nExecutor
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* create the signatures for code delegation authorizations in T8nExecutor without checking if they are valid to test them later during the tx execution
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* check that recid is either 0 or 1
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fixed acceptance tests, renamed the the remaining instances of set code to code delegation
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix delegate encoder & encoder unit tests
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* spotless
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* changed empty check for delegated accounts, fixed test
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix hasDelegatedCode method when code is null
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* run acceptance tests without deamon
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* disable CodeDelegationTransactionAcceptanceTest to check if it is causing the stuck ci pipeline
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* check if shouldTransferAllEthOfAuthorizerToSponsor is causing pipeline to stall
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* check if shouldCheckNonceAfterNonceIncreaseOfSender is causing pipeline to stall
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* check if closing the cluster after every test is causing pipeline to stall
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 >
Co-authored-by: Danno Ferrin <danno@numisight.com >
2024-09-06 12:04:41 +02:00
Fabio Di Fabio
af80dfbd86
Merge branch 'main' into zkbesu
...
# Conflicts:
# crypto/algorithms/build.gradle
# crypto/services/build.gradle
# datatypes/build.gradle
# ethereum/rlp/build.gradle
# evm/build.gradle
# plugin-api/build.gradle
# util/build.gradle
2024-09-02 12:25:58 +02:00
Matilda-Clerke
da98fa5541
Reintroduce engine get client version v1 with commit in manifest ( #7548 )
...
* Include Commit-Hash in manifests
* Add commit method in BesuInfo
* Use 8 character hash in EngineGetClientVersionV1 and revert calculateVersion back to original spec
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
Co-authored-by: garyschulte <garyschulte@gmail.com >
2024-08-30 18:13:53 +00:00
Fabio Di Fabio
0e16693e1b
Merge branch 'main' into zkbesu
...
# Conflicts:
# build.gradle
2024-08-27 15:05:02 +02:00
Danno Ferrin
a851507cb3
evmtool was not respecting the --genesis option ( #7518 )
...
* EVMTool should respect --genesis option
Update the code so that the genesis file option will be respected when
set. Also, default --fork options should set a rational base fee.
Signed-off-by: Danno Ferrin <danno@numisight.com >
---------
Signed-off-by: Danno Ferrin <danno@numisight.com >
2024-08-26 14:33:05 +10:00
Gabriel-Trintinalia
68db5e8d55
Merge branch 'main' into zkbesu
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
2024-08-16 16:44:07 +10:00
Danno Ferrin
51335954c2
Reuse HardforkId in EvmSpecVersion ( #7448 )
...
* Reuse HardforkId in EvmSpecVersion
Move the HardforkId into datatypes and re-use the data in
EvmSpecVersion, keeping evm specific details in the evm and merging the
rest into datatypes.
Signed-off-by: Danno Ferrin <danno@numisight.com >
* Update evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com >
---------
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
2024-08-16 04:02:26 +00:00
Fabio Di Fabio
149e34f997
Merge branch 'main' into zkbesu
...
# Conflicts:
# consensus/clique/src/test/java/org/hyperledger/besu/consensus/clique/jsonrpc/methods/DiscardTest.java
# consensus/clique/src/test/java/org/hyperledger/besu/consensus/clique/jsonrpc/methods/ProposeTest.java
# datatypes/src/main/java/org/hyperledger/besu/datatypes/rpc/JsonRpcResponse.java
# datatypes/src/main/java/org/hyperledger/besu/datatypes/rpc/JsonRpcResponseType.java
# ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/DebugTraceTransactionIntegrationTest.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/handlers/JsonRpcArrayExecutor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/handlers/JsonRpcObjectExecutor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/execution/TracedJsonRpcProcessor.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcNoResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcResponseType.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcSuccessResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/JsonRpcUnauthorizedResponse.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/ipc/JsonRpcIpcService.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/websocket/WebSocketMessageHandler.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetBlockByNumberTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineForkchoiceUpdatedTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineNewPayloadTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineExchangeCapabilitiesTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineExchangeTransitionConfigurationTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineGetPayloadBodiesByHashV1Test.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/EngineGetPayloadBodiesByRangeV1Test.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/privacy/methods/MultiTenancyRpcMethodDecoratorTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/privacy/methods/priv/PrivDebugGetStateRootTest.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/response/MutableJsonRpcSuccessResponse.java
# ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/PrivacyApiGroupJsonRpcMethodsTest.java
# plugin-api/build.gradle
# plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponseType.java
2024-07-29 16:53:28 +02:00
Fabio Di Fabio
26f89ac505
Merge branch 'main' into zkbesu
...
# Conflicts:
# gradle/verification-metadata.xml
# plugin-api/build.gradle
2024-07-23 15:06:14 +02:00
Karim Taam
30c96c7a1d
Optimistic parallelization of transactions to improve performance ( #7296 )
...
Optimistic transaction parallelization execution during block processing to improve the performances. This feature can enabled with a flag --Xbonsai-parallel-tx-processing-enabled=true
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
Co-authored-by: Ameziane H <ameziane.hamlat@consensys.net >
Co-authored-by: garyschulte <garyschulte@gmail.com >
2024-07-19 09:11:30 -07:00
daniellehrner
895c17d5d2
EIP 7702 ( #7237 )
...
* EIP 7702 first draft
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* added CHANGELOG.md entry
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* bug fixes, added first tests
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* container verify GitHub workflow (#7239 )
Container verification step in release process automated with the container verify GitHub workflow. New workflow is triggered at the end of the release workflow which will check the release container images starts successfully. Verification test only checks container starts and reach the Ethereum main loop
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Investigate chain halts when syncing (#7162 )
Fix some reasons for chain download halts when syncing
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Check for EOFCreate subcontainer rules (#7232 )
Check and test for the unused container rule, and only returncontract
targets can have truncated data rule.
Also test the other subcontainer rules in unit tests.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Remove deprecation message for `--Xp2p-peer-lower-bound` (#7247 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* less invasive code injection approach
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* added missing java doc & fixed test
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* added (currently non-working) acceptance test, some bug fixes in the transaction validation and tx pool logic
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix spotless
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* updated acceptance test, still not working, newPayload request seems to be necessary before final fork choice update
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* use correct world state to inject temporary code, inject code in existing accounts as well
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* renamed test service to prague, because the engine versions used are only available in the prague hard fork
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fixed acceptance test, some bug fixes if authorized account does not yet exist
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Add build version option to prefix git hash with custom version property (#7222 )
* Add build version option to prefix git hash with custom version property
* Refactor to make appending the git hash a boolean property. Include a commented-out example of how to use the properties in the gradle file
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Handle invalid snap getTrieNode requests with empty paths gracefully (#7221 )
Signed-off-by: Jason Frame <jason.frame@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix typos in CHANGELOG (#7226 )
Signed-off-by: Ties <71668189+TiesD@users.noreply.github.com >
Co-authored-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* feat: Add network option for LUKSO Mainnet (#7223 )
* Add option for LUKSO network
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Add tests for LUKSO
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Apply spotless
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Add changelog entry
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Fix duplicate func
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Fix changelog
Signed-off-by: Wolmin <lamonos123@gmail.com >
* Add bootnodes to genesis
Signed-off-by: Wolmin <lamonos123@gmail.com >
---------
Signed-off-by: Wolmin <lamonos123@gmail.com >
Signed-off-by: Wolmin <44748271+Wolmin@users.noreply.github.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Update Docker base image to Ubuntu 24.04 (#7251 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Reconfigure how Protocol Specs are created WRT EVM condiguration (#7245 )
Make the max code size and max initcode size a part of the EVM
configuration. As part of the change we need to move the tasks
CodeFactory once handled as a static class and move it into the EVM.
This has a nice follow on effect that we don't need to pass in max EOF
versions or max code sizes anymore.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fix the wrong 'Identifier' and 'Synchronizer' usage (#7252 )
* fix the synchronizer usage
Signed-off-by: Leni <leniram159@gmail.com >
* fix Identifier usage
Signed-off-by: Leni <leniram159@gmail.com >
---------
Signed-off-by: Leni <leniram159@gmail.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fix flaky SECP256R1 test (#7249 )
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* update to work with the new max retries value (#7253 )
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Temporary CancunEOF fork for EOF testing. (#7227 )
Add Genesis ("CancunEOFTime") and reference test ("CancunEOF") support
for a temporary Cancun+EOF fork, in anticipation of potential devnets.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fixed bug introduced through merge of main, made acceptance test easier to understand
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* added missing java docs
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* removed unnecessary tag
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* make encodeSingleSetCode public again
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Snapserver responses to return at least one response (#7190 )
Signed-off-by: Jason Frame <jason.frame@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* copy setCodeTransactionPayloads as well
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fixed bug during tests with forrest db
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Snapserver GetTrieNodes request to handle short hash for storage (#7264 )
Signed-off-by: Jason Frame <jason.frame@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* javadoc: Adding javadoc for ethstats module (#7269 )
* javadoc: Adding javadoc for ethstats module
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fix javadoc for ethereum:core top level package (#7270 )
* javadoc - Apply javadoc to ethereum core top level package
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Disable Flaky tests - permissioning (#7256 )
* disable some flaky tests
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* correct name for test
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* disable some flaky tests
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Add bootnodes to the maintained peer list (#7257 )
* Add bootnodes to the maintained peer list
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update unit tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add entry in changelog
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Tweak unit test
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor to keep common steps the same for both cases
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add debug log, call sanitizePeers() only once
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fix javadoc for ethereum api module, graphql package (#7272 )
* javadoc - Adding missing javadocs ethereum:api graphql package
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* T8n support for isStateTest and empty accounts (#7275 )
Update t8n executor to support new isStateTest env flag that will
disable extra-transactional processing such as block rewards and beacon
root.
Also, make sure such extra-transactional commits don't create empty
accounts.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Co-authored-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Promote storage x-trie-log subcommand to trie-log (#7278 )
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Evm tool readme update (#7274 )
* update paths to binary. update docker build to use java 21
* updated suggested jdk
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* javadoc - Add missing javadoc for evmtool module (#7277 )
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Rename ValidatorPublicKey to ValidatorPubKey (#7280 )
Adapt to EIP-7002 name change for validator public key in all places.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Add info-level diagnostic logs to aid with resolving stalled BFT chains (#7271 )
* Add info-level diagnostic logs to aid with resolving stalled BFT chains
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add javadoc
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Update EIP-2935 contract (#7281 )
Use the updated contract and address for EIP-2539.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* add evmtool compability, fixing bugs related to sender recovery of 7702 txs and handling authorizations to empty accounts
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Deeper tracing of self-destructed accounts (#7284 )
Consider previously self-destructed accounts when creating accounts.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* next release version after 24.7.0 (#7285 )
Signed-off-by: garyschulte <garyschulte@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Add experimental `--Xsnapsync-bft-enabled` which enables snap sync for BFT chains (#7140 )
* Create a BFT-specific pivot block handler
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Change visibility
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor sync-peer-count internal variable to match name, add experimental flag to enabled snap + BFT
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Merge with main
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Fix uppercase
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Address synchronization issue with trie pruning. Create BFT-specific account range handler. Add pipeline name and logs
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Remove debug log
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* fixing snapsync for empty state
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
* Don't queue up events we can't handle
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Fix timing window where a validator with an empty data dir sometimes falls back to full sync if peer status isn't received quickly enough
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Remove BFT-specific account request class. Not needed
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor some more 'fast' sync variables that are common to all pivot-based sync types
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* In FULL sync mode, disable bonsai-limit-trie-logs-enabled instead of failing to start
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add javadoc comments, clarify overriding bonsai-limit-trie-logs-enabled
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Add BFT pivot block selector tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Fix failure error message
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Remove the unnamed Pipe constructor and update tests to set a pipe name
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Revert some info logs back to debug given the feedback on noise in the logs syncing with holesky
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Refactor fastSyncPivotDistance to syncPivotDistance
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Incomplete refactoring
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Update BFT event queueing tests
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Event queue test fixes
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
* Remove automatic setting of bonsai-limit-trie-logs-enabled to false if sync-mode = FULL (moving to another PR)
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Co-authored-by: Karim Taam <karim.t2am@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Turn off CicleCI for Besu (#7291 )
All the CI jobs run in GitHub actions and Circle CI it no longer needed in Besu project
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Check for snap server (#6609 )
* EthPeer add isServingSnap to be able to make sure that we have enough snap servers connected when we are snap syncing
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Implement System Calls (#7263 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* wrap WorldUpdater inside a WorldUpdaterService to inject the authorized code whenever needed
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Update limit trie logs validation message for sync-mode=FULL (#7279 )
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Execute requests before block persist (#7295 )
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fixed MainnetTransactionProcessor retrieval of correctn `to` account with injected code, fixed code injection
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* only first authorization is accepted, all the following ones are ignored
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* don't cache account with empty code
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* revert wrapping of world updater, as its `updater()` method creates a type of nesting that is not compatible with wrapping it. Instead a service is injected in the world updater to inject the code into the authorized accounts
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fixed outdated tech redirect link. (#7297 )
* fix wiki link
Signed-off-by: Snazzy <snazzysam933@gmail.com >
* fix format
Signed-off-by: Snazzy <snazzysam933@gmail.com >
* change knownHash
Signed-off-by: Snazzy <snazzysam933@gmail.com >
---------
Signed-off-by: Snazzy <snazzysam933@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Increment private nonce even if transaction failed. (#6593 )
Increment private nonce even if transaction failed
Signed-off-by: George Tebrean <george@web3labs.com >
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Co-authored-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* feat: Enhance --profile to load external profiles (#7292 )
* feat: --profile can load external profiles
* fix external profile name method
* fix ProfilesCompletionCandidate
* test: Add unit tests
* changelog: Update changelog
* test: Fix TomlConfigurationDefaultProviderTest
* test: Fix BesuCommandTest
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Fix status badge for documentation (#7304 )
Documentation has been moved to GitHub pages and no longer use readthedocs. Updated the README status badge for docs with correct link
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* [MINOR] Fixed some typos (#7299 )
* typos
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* refactored to share one AuthorizedAccountService between the different instances of the world updater, renamed some classes
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* spotless
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* load code for authorization at the beginning of the transaction
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* ignore authorization if chain id doesn't match
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* cache authority address, evmtool: do not fail if sender address is wrong
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Add evmtool block-test subcommand (#7293 )
* Add evmtool block-test subcommand
Add an evmtool subcommand that will run non-hive blockchain tests.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Make the retrying snap tasks switching (#7307 )
* make snap tasks switching
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* 6612: Remove deprecated sync modes and related helper methods (#7309 )
* 6612: Remove deprecated sync modes and related helper methods
Signed-off-by: Matilda-Clerke <matilda.shay.clerke@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* EOF Reference Test Fixes (#7306 )
Fix a number of issues found in reference tests and evmone tests.
- Be tolerant of more nulls in json
- Support ContainerKind in reference tests
- re-order EXTCALL oeprands
- correct return value for REVERT in EXT*CALL
- re-order EOFCREATE code validation
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* test template refactor, bump besu-native to 0.9.2 (#7315 )
Signed-off-by: garyschulte <garyschulte@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Feature/use gnark-crypto for eip-2537 (#7316 )
* use gnark-crypto for bls precompiles
Signed-off-by: garyschulte <garyschulte@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* 6612 update changelog with removed syncmodes (#7320 )
* 6612: Update changelog with removal of deprecated sync modes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 6612: Update changelog with removal of deprecated sync modes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
* 6612: Update changelog with removal of deprecated sync modes
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Update datacopy (#7319 )
Check for OOG earlier in DataCopy.
Add unit tests to cover operation branches.
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* disable flaky test (#7308 )
* disable flaky test
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* disable flaky test
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Update unit test (#7317 )
* Update parameterized unit tests so the enumerate with --dry-run
* Update the prague-withdrawal.json unit test to handle current code
Signed-off-by: Danno Ferrin <danno@numisight.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* persist accounts that have storage updates, but no nonce, balance nor code
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Revert "persist accounts that have storage updates, but no nonce, balance nor code"
This reverts commit 9c9121a115ecb09f1c3add1fff4da3b102f8b429.
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* removed PKI backed QBFT (#7310 )
* removed PKI backed QBFT
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
* changelog
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* EIP-7251 add consolidation request type (#7266 )
* add request type for consolidations, encoder, decoder and tests
* added raw tx for consolidation
* add consolidation reqs to EngineGetPayloadResultV4
* set storage slot value to 0 initially and value for tx
* updates plugin api
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* fix: `eth_call` deserialization to correctly ignore unknown fields in the transaction object (#7323 )
* fix: Use Builder for JsonCallParameter
* changelog
* add additional unit tests
* fix: Update builder to withGas to match the json eth_call
---------
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* Stop transaction selection on TX_EVALUATION_TOO_LONG (#7330 )
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* message frame buider will create AuthorizedCodeService by itsef if it isn't set
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* get correct nonce for authorization
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* nonce only returns a vaid nonce, new method nonceList returns all the nonces
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* plugs leaky abstraction
Signed-off-by: Justin Florentine <justin+github@florentine.us >
* some renaming, acceptance tests checks for exact balance of tx sponsor at the end.
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* inject the 7702 code into DiffBasedWorldStateUpdateAccumulator.createAccount
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* spotless
Signed-off-by: Justin Florentine <justin+github@florentine.us >
* spotless fix, removed todos
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
* make AuthorityProcessor & chain id for it optional
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
---------
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net >
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com >
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Signed-off-by: Danno Ferrin <danno@numisight.com >
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com >
Signed-off-by: Jason Frame <jason.frame@consensys.net >
Signed-off-by: Ties <71668189+TiesD@users.noreply.github.com >
Signed-off-by: Wolmin <lamonos123@gmail.com >
Signed-off-by: Wolmin <44748271+Wolmin@users.noreply.github.com >
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Signed-off-by: Leni <leniram159@gmail.com >
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Usman Saleem <usman@usmans.info >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Simon Dudley <simon.dudley@consensys.net >
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Signed-off-by: garyschulte <garyschulte@gmail.com >
Signed-off-by: Karim Taam <karim.t2am@gmail.com >
Signed-off-by: Snazzy <snazzysam933@gmail.com >
Signed-off-by: George Tebrean <george@web3labs.com >
Signed-off-by: Matilda-Clerke <matilda.shay.clerke@gmail.com >
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net >
Co-authored-by: Chaminda Divitotawela <cdivitotawela@users.noreply.github.com >
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com >
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com >
Co-authored-by: Danno Ferrin <danno@numisight.com >
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net >
Co-authored-by: Matt Whitehead <matthew.whitehead@kaleido.io >
Co-authored-by: Jason Frame <jason.frame@consensys.net >
Co-authored-by: Ties <71668189+TiesD@users.noreply.github.com >
Co-authored-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com >
Co-authored-by: Wolmin <44748271+Wolmin@users.noreply.github.com >
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net >
Co-authored-by: leniram159 <leniram159@gmail.com >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Usman Saleem <usman@usmans.info >
Co-authored-by: Simon Dudley <simon.dudley@consensys.net >
Co-authored-by: garyschulte <garyschulte@gmail.com >
Co-authored-by: Karim Taam <karim.t2am@gmail.com >
Co-authored-by: gringsam <snazzysam933@gmail.com >
Co-authored-by: George Tebrean <99179176+gtebrean@users.noreply.github.com >
Co-authored-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net >
Co-authored-by: Matilda-Clerke <matilda.shay.clerke@gmail.com >
2024-07-17 19:00:48 +00:00
Fabio Di Fabio
b19ae8cd26
Merge branch 'main' into zkbesu
...
# Conflicts:
# .github/workflows/release.yml
# besu/src/main/java/org/hyperledger/besu/controller/BesuController.java
# ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthEstimateGas.java
# ethereum/evmtool/build.gradle
# evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
# gradle/verification-metadata.xml
# plugin-api/build.gradle
2024-07-16 17:22:21 +02:00
Sally MacFarlane
223f1bc3bb
EIP-7251 add consolidation request type ( #7266 )
...
* add request type for consolidations, encoder, decoder and tests
* added raw tx for consolidation
* add consolidation reqs to EngineGetPayloadResultV4
* set storage slot value to 0 initially and value for tx
* updates plugin api
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com >
Signed-off-by: Justin Florentine <justin+github@florentine.us >
Co-authored-by: Justin Florentine <justin+github@florentine.us >
2024-07-16 00:44:06 +00:00
Fabio Di Fabio
0cfa46b14b
In process RPC service ( #40 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net >
2024-05-30 11:53:25 +02:00