Retesteth v0.2.1 - difficulty
Coming up with DifficultyTests for ArrowGlacier, new DifficultyTests test suite to point check the difficulty formula depening on fork
New test exceptions for transaction tests invalid RLP handling. T8N, T9N support.
New test suite: -t DifficultyTests
New test method: VALUE test_calculateDifficulty(FORK, VALUE _blockNumber, _parentTimestamp, VALUE _parentDifficulty, VALUE _currentTimestamp, VALUE _uncleNumber)
New options:
--vmtrace.nomemory "Disable memory in vmtrace/vmtraceraw"
--vmtrace.nostack "Disable stack in vmtrace/vmtraceraw"
--vmtrace.noreturndata "Disable returndata in vmtrace/vmtraceraw"
Announcment
Retesteth is ethereum test runner / generator tool for the tests (https://github.com/ethereum/tests)
Uses existing clients to run/generate the tests. See documentation. (https://ethereum-tests.readthedocs.io/en/latest/)
The test process diagram: http://tinyurl.com/2ctak8yn
Testing stats
Testing results are available at http://retesteth.ethdevops.io/
There is a web tool for vmtracing the tests using supported clients and retesteth: http://retesteth.ethdevops.io/web/
All blockchain tests are being run by hive tool: https://hivetests.ethdevops.io/
Changelog
- suppot TransactionTests suite. handle invalid transaction RLPs
- continue development of
0x:bigint
feature, fix bugs - condition variable on the main thread instead of checking finalization of jobs in cycle (actually slows down, because of the safety mutex)
- make bash scripts more safe with other versions of shell
- Added stEIP3607 to BCGeneralStateTests
- t8ntool ArrowGlacier support
- t8ntool more exceptions to check invalid transactions
- t9ntool support (transaction tests)
- more unit tests, fix potential thread lock places and memory leaks
- fix bug with generated test hash calculation for blockchain tests (1 test to many blockchain tests)
ubuntu 18.04.3:
http://retesteth.ethdevops.io/release/0.2.1-difficulty/ubuntu-18.04.3/retesteth-0.2.1-difficulty-ubuntu-18.04.3
Might need the dependecies install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-4.9
- sudo apt-get install --only-upgrade libstdc++6
macOS-XCode11:
http://retesteth.ethdevops.io/release/0.2.1-difficulty/macOS-XCode11/retesteth-0.2.1-difficulty-macOS-XCode11
Docker:
geth version: Version: 1.10.14-unstable Git Commit: 4ebeca19d739a243dc0549bcaf014946cde95c4f
geth evm version: evm version 1.10.14-unstable-4ebeca19-20211125
lllc version: 0.5.14-develop.2021.11.27+commit.401d5358.mod.Linux.g++
solidity version: Version: 0.8.5+commit.a4f2e591.Linux.g++
http://retesteth.ethdevops.io/release/0.2.1-difficulty/dretesteth-0.2.1-difficulty.tar
Documentation:
https://ethereum-tests.readthedocs.io/en/latest/