Danno Ferrin
719ea398f1
EOF Code Validation CLI ( #4845 )
...
A CLI tool to validate EOF formatted code.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
2 years ago
Sally MacFarlane
083b5d1e9b
rollback dco on push ( #4855 )
...
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Gabriel-Trintinalia
a483f79cc8
Initial implementation of EngineGetPayloadV2 ( #4833 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 years ago
Jason Frame
38316ef188
EIP-6122 Timestamp based fork IDs ( #4841 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 years ago
Zhenyang Shi
13213e2c7d
Ignore extra RocksDB column families for experimental features ( #4842 )
...
Signed-off-by: Zhenyang Shi <wcgcyx@gmail.com>
2 years ago
Gabriel Fukushima
7d5988d4b5
PoS checkpoint sync ( #4844 )
...
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
2 years ago
matkt
d3b6b32fdd
Use safe block as pivot block suring snapsync ( #4819 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Sally MacFarlane
fa9f99d283
DCO check on main ( #4847 )
...
* run dco on push to main
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* release branches
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* add test-dco* branch
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Danno Ferrin
5fbf53ea8a
EIP-5450 - EOF Stack Validation ( #4805 )
...
Implement stack validation logic as required by EOF-5450.
Move validation logic into CodeV1 class.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
2 years ago
Simon Dudley
34d4421192
Delete unused classes ( #4846 )
...
Originally committed in 435c9e388c
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 years ago
Danno Ferrin
47545373b4
EIP-4750 EOF Functions ( #4781 )
...
Implement CALLF, RETF, and JUMPF operations. This introduces the
notion of "code sections" into the code. For legacy code section zero
consists of all of the code and is the only code section. Also
implements EIP specified code validation to ensure validated EOF code
won't use CALLF or JUMPF to a non-existent section.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
2 years ago
Sally MacFarlane
4fbca8dc1b
Fix some flaky tests ( #4843 )
...
* override port conflict check
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* add enum for special test type
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Sally MacFarlane
4b160e5daa
Deprecation notice for GoQuorum-compatible privacy and IBFT 1.0 ( #4839 )
...
* remove quorum ats task
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* add deprecation notice
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* typo
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Diego López León
c3c934d706
Add EIP-4200: EOF - Static relative jumps ( #4760 )
...
* Remove opSize field from Operation
With the introduction of RJUMPV, operations don't have fixed size anymore. This field isn't used anyware in the code so it's safe to delete it
Signed-off-by: Diego López León <dieguitoll@gmail.com>
* Add comments
Signed-off-by: Diego López León <dieguitoll@gmail.com>
* Add some EIP-3670 and EIP-3540 tests
Signed-off-by: Diego López León <dieguitoll@gmail.com>
* Replace jumpdest bitmap with BitSet
Signed-off-by: Diego López León <dieguitoll@gmail.com>
* Implement EIP-4200: EOF - Static relative jumps
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com>
2 years ago
Fabio Di Fabio
8b46caf019
Memoize transaction size and hash at the same time ( #4812 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 years ago
Zhenyang Shi
d6fbe02622
Use blocking executor in test ( #4832 )
...
Signed-off-by: Zhenyang Shi <wcgcyx@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 years ago
Jiri Peinlich
3fd0681e3d
Support timestamp forks and implement shanghaiTime ( #4743 )
...
Implement shanghaiTime including TimestampSchedule and associated infrastructure code.
TimestampSchedule sits alongside the pre and post ProtocolSchedules in TransitionProtocolSchedule.
Introduces getByTimestamp, wrapped inside getByBlockHeader (to also support getByBlockNumber).
General call pattern followed is that if a given timestamp precedes the first timestamp in the schedule, i.e. a pre-shanghai block, then delegate to the appropriate pre or post merge ProtocolSchedule to get by block instead.
cancunTime and a placeholder cancunDefinition has also been implemented in order to effectively test fork order logic.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
2b9956a328
Add download sha sums for 22.10.3 release ( #4827 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
b29cc88e46
Fix docker release workflow login ( #4826 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
1c59bdc7d8
Docker release task for latest tags ( #4810 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Gabriel-Trintinalia
4cf6c38e76
Add accessList field to Transaction Call Object ( #4802 )
...
Signed-off-by: Gabriel Trintinalia gabriel.trintinalia@gmail.com
2 years ago
Zhenyang Shi
97588ae744
Add chain data pruning experimental feature ( #4686 )
...
* Add chain pruner
* Increase minimum blocks to retain
* Skip ancestor check in pruning mode
* Separate class for pruning storage
* Move pruning to separate thread
* Limit total pruning threads
Signed-off-by: wcgcyx <wcgcyx@gmail.com>
Signed-off-by: Zhenyang Shi <wcgcyx@gmail.com>
Co-authored-by: Simon Dudley <simon.l.dudley@hotmail.com>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
2 years ago
kevaundray
f3b7db1580
Update Element.java ( #4804 )
...
Signed-off-by: kevaundray <kevtheappdev@gmail.com>
Signed-off-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2 years ago
Gabriel-Trintinalia
bd964ed3f5
Fix typo ( #4803 )
...
Signed-off-by: Gabriel Trintinalia <gabriel.trintinalia@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Sally MacFarlane
bedecbed76
Runner test refactor ( #4798 )
...
* refactoring
* don't build the aheadController twice
* added a peer count step to check peering
* use non-deprecated RequestBody.create()
* removed jetbrains annotation
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Antoine Toulme
f9bc1b76e4
add bandersnatch point ( #4647 )
...
* add bandersnatch point
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* fix build
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* fix build
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* fix build
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* fix build
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* spotless
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* comment test
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Update ethereum/verkletrie/src/main/java/org/hyperledger/besu/ethereum/verkletrie/bandersnatch/fp/Element.java
Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
2 years ago
Jason Frame
9006445147
Prepare for version 22.10.4-SNAPSHOT ( #4800 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
5161b613a0
Release 22.10.3 ( #4799 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Jason Frame
1205e3a6f0
Docker release builds to no longer add latest tag ( #4791 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2 years ago
Danno Ferrin
19077be0a1
Set default curve in EVMTool ( #4790 )
...
Set default EC curve when starting up EVMTool.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
2 years ago
lukelee-sl
609904e509
gradle modifications to support java 19 ( #4797 )
...
* gradle modifications to support java 19
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Co-authored-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
2 years ago
Gabriel-Trintinalia
72387a5b8c
Hidden option to enforce maximum or minimum eth capability ( #4752 )
2 years ago
Jason Frame
efa0a759a3
Add Gabriel Fukushima as a maintainer ( #4750 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2 years ago
Danno Ferrin
89ce75a614
Speedup modexp ( #4780 )
...
Increate the speed of ModExp gas calculations by using primitive types.
Use a native lib for modexp precompile.
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* Native modexp
2 years ago
Sally MacFarlane
4120501e5f
Moved besu docs devs to emeritus ( #4782 )
...
* emeritus
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com>
2 years ago
Gabriel-Trintinalia
c9fba126e6
Implement eth/68 (EIP-5793) ( #4730 )
2 years ago
Gabriel-Trintinalia
64a5d7421a
Fix storage key format for eth_getProof ( #4564 )
2 years ago
mark-terry
27257e64ba
Changed chain download error log level from error to debug. ( #4775 )
...
Signed-off-by: mark-terry <mark.terry@consensys.net>
2 years ago
mark-terry
6973a07b72
Added max range CLI option for eth_getLogs. ( #4597 )
...
* Added max range CLI option for eth_getLogs. Default value: 1000.
Signed-off-by: mark-terry <mark.terry@consensys.net>
Signed-off-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
garyschulte
01fcb42edd
Prepare for version 22.10.3-SNAPSHOT ( #4773 )
...
* Update version to 22.10.3-SNAPSHOT
Signed-off-by: garyschulte <garyschulte@gmail.com>
* update changelog for 22.10.3
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
ebd8c70bf7
22.10.2 release ( #4772 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
e40def3a25
subscribe prior to getting stateTrieNode in cacheStorageNodes ( #4771 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
27412b4b2b
prep changelog for 22.10.2 ( #4769 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
ahamlat
2b4e5653bd
Ensure that Snashot worldstates remain open for async operations ( #4767 )
...
* Fix segfault on async operations on closed snapshot worldstate
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Co-authored-by: matkt <t2am.karim@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
2 years ago
Diego López León
fe92b24908
Set PUSH0 as valid opcode for EOF1 validation ( #4733 )
...
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com>
2 years ago
Justin Traglia
b1f5a7df36
Use value comparisons instead of reference comparisons in some places ( #4757 )
...
Signed-off-by: Justin Traglia <jtraglia@pm.me>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Simon Dudley
24e9fe24de
Print the rpc params as serialized json to make it easier to copy-paste requests when debugging ( #4753 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
Simon Dudley
5b55a7e6f2
Add log to show when we've found a peer on a matching chain id ( #4751 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 years ago
garyschulte
39be2e6485
Prepare for version 22.10.2-SNAPSHOT ( #4762 )
...
* Update version to 22.10.2-SNAPSHOT
* add download links
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago
garyschulte
71148c1225
22.10.1 release ( #4761 )
...
Signed-off-by: garyschulte <garyschulte@gmail.com>
2 years ago