Danno Ferrin
b3c420cde0
merge main
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Danno Ferrin
960145683f
Update execution-spec-tests support ( #6942 )
...
Update t8n, b11r, and friends to support current execution spec
* bonsai migration introduced issues with deleted storage/accounts
* status on pre-constantinople json was invalid
* track refund across tx, not call frame
* allow tests to be executed by name
* fix withdrawal self-destruct test
* trace support in execution-spec-tests
* fix blob tests
* t8n results changes
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Fabio Di Fabio
941ab01426
Split acceptance tests by time ( #6953 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
7 months ago
Simon Dudley
b1d8554e23
Revert 7e46889
which slowed down ATs ( #6948 )
...
This reverts commit 7e46889817
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Danno Ferrin
43f14a071c
merge main
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
ahamlat
da03bf2417
Change block miner log to include all the performance number on one line with Info level ( #6939 )
...
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
garyschulte
b67ad6903e
Docker develop publishing task ( #6893 )
...
Publish to dockerhub on merge to the main branch
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
7 months ago
Sally MacFarlane
6699907204
check for empty in disconnect reason bytes ( #6938 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
garyschulte
ec06ab5567
Fix named network default disabled for downgrade protection ( #6943 )
...
* fix default disabled for downgrade protection on named networks
implement comparable for VersionMetadata, add explicit coverage
Signed-off-by: garyschulte <garyschulte@gmail.com>
* test method rename
Signed-off-by: garyschulte <garyschulte@gmail.com>
* remove errant comment
Signed-off-by: garyschulte <garyschulte@gmail.com>
* do not use static version metadata, to facilitate unit tests
Signed-off-by: garyschulte <garyschulte@gmail.com>
---------
Signed-off-by: garyschulte <garyschulte@gmail.com>
7 months ago
Danno Ferrin
27ade870ea
Consistent nonce handling ( #6941 )
...
Make handling of absurdly large nonces
more consistent across txpool and EVM.
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Sally MacFarlane
bc04751284
Fix Flaky test permv2 ( #6936 )
...
* verify
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Danno Ferrin
05eb920f8d
Add Paris Support to tests ( #6933 )
...
Execution-spec-tests and reference tests have migrated Merge to Paris.
Support both.
Signed-off-by: Danno Ferrin <danno@numisight.com>
7 months ago
Gabriel Fukushima
3c54da63dd
fix npe on trace msg ( #6934 )
...
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
7 months ago
Simon Dudley
5858a8b707
Fix permissions publish and gradle issue for publishArtifactory ( #6930 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Sally MacFarlane
909b6ca355
added an else and extra logging ( #6931 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
7 months ago
Brindrajsinh Chauhan
627e0a994e
add rlp decode subcommand ( #6895 )
...
* add rlp decode subcommand
Signed-off-by: Brindrajsinh-Chauhan <brindrajsinh@gmail.com>
---------
Signed-off-by: Brindrajsinh-Chauhan <brindrajsinh@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
fbe9898653
Refactor Gas Calculator Create methods ( #6905 )
...
Preparatory for EOF. Refactor the gas calculation logic so that it does
not depend on specific stack entries, and break out the pieces of the
calculation for readability.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Danno Ferrin <danno@numisight.com>
8 months ago
Sally MacFarlane
2a74ea1f1b
richness for breach of protocol reasons ( #6925 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
dc60b1d586
follow up improvement in ordering to fix flakiness ( #6922 )
...
* follow up improvement in ordering to fix flakiness
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
5a1ddaa9d7
initcode transaction tests
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
L.Y
c1314d53a6
feat: add --genesis-state-hash-cache-enabled paramater ( #6758 )
...
Signed-off-by: lyfsn <dev.wangyu@proton.me>
8 months ago
ahamlat
756ed5fcd3
Add RPC errors metric ( #6919 )
...
* Add RPC errors metric.
This metric has two labels : RPC method and RPC error type.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Spotless.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Add changelog.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
---------
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
4c21d63413
Fix flaky test ( #6917 )
...
* check for chain height not syncing status
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
93b1442c79
EOFCreate and TXCreate operation unit tests
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
mbaxter
66176c0619
[Issue-6301] Add bad block events ( #6848 )
...
Signed-off-by: mbaxter <mbaxter.dev@gmail.com>
8 months ago
Fabio Di Fabio
b6a26c422e
Fix and reformat produced block timing log ( #6916 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Sally MacFarlane
a7a9691e27
disable the two tests that fail on Mac ( #6912 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
5ae2823792
add peer count ( #6911 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Lucas Saldanha
efd98de5ba
Added waitTime option on engine ATs ( #6907 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Danno Ferrin
001080a72b
Upgrade spotless to 1.22.0 ( #6898 )
...
Upgrade spotless to 1.22.0 and reformat.
This is required for Java21 support.
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Justin Florentine
3c32d03e8e
marks flaky test as such ( #6906 )
...
Signed-off-by: Justin Florentine <justin+github@florentine.us>
8 months ago
Danno Ferrin
ad7df01b5a
Testing fixes
...
* migrate Merge to Paris
* Allow for truncated data in most cases
* Require the targets of EOFCREATE and TXCREATE to have full data
* Add parenthesis to SWAPN check
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Danno Ferrin
ac51b80659
preliminary TXCREATE support
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Danno Ferrin
26ce584c14
Merge remote-tracking branch 'refs/remotes/origin/refactor-create-gas-calculator' into mega-eof
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
# Conflicts:
# evm/src/main/java/org/hyperledger/besu/evm/gascalculator/GasCalculator.java
# evm/src/main/java/org/hyperledger/besu/evm/operation/AbstractCreateOperation.java
# evm/src/main/java/org/hyperledger/besu/evm/operation/Create2Operation.java
# evm/src/main/java/org/hyperledger/besu/evm/operation/CreateOperation.java
# evm/src/test/java/org/hyperledger/besu/evm/operation/AbstractCreateOperationTest.java
8 months ago
Danno Ferrin
50d88313cf
javadoc
...
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Danno Ferrin
5c22d55645
Merge branch 'main' into refactor-create-gas-calculator
8 months ago
Danno Ferrin
39d097b5e9
Refactor Gas Calculator Create methods
...
Preparatory for EOF. Refactor the gas calculation logic so that it does
not depend on specific stack entries, and break out the pieces of the
calculation for readability.
Signed-off-by: Danno Ferrin <danno@numisight.com>
8 months ago
Fabio Di Fabio
e8e1e4c449
Expose transaction count by type metrics for the layered txpool ( #6903 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Fabio Di Fabio
8064da0217
Log detailed timing of block creation steps ( #6880 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
8 months ago
Sally MacFarlane
6208f8fa2a
filtered out the noisy Invalid Trace log messages ( #6825 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Fabio Di Fabio
f26f3f5224
Correctly initialize the txpool as disabled on creation ( #6890 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Sally MacFarlane
d753b2a5d6
added richness to useless peer disconnect reasons ( #6899 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
8 months ago
Justin Florentine
c589c5b39d
One JDK to rule them all ( #6865 )
...
* reduce number of jvms provided
* consistent sha length
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
8 months ago
Danno Ferrin
5415ecd7d3
Align exchange with EVMONE
...
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
8 months ago
Jason Frame
758adc7d74
Improve logging of peer disconnects due to subprotocol triggered reason ( #6886 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
8 months ago
Simon Dudley
d9bb7a6022
Add debug logging to see why we stop downloading from peer ( #6885 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
8 months ago
Danno Ferrin
e82cbc7037
exchange operation
...
Implement exchange, along with stack validation rules.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
8 months ago
Usman Saleem
80c6c04db6
fix: Use HttpRequest authority instead of host ( #6879 )
...
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method
Signed-off-by: Usman Saleem <usman@usmans.info>
8 months ago
Lucas Saldanha
1e77a6c419
EIP-7002: Add exits/exits_root to block/block_header ( #6801 )
...
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
8 months ago
Jason Frame
a7b10dbece
Bws internal error fix ( #6806 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
8 months ago