-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable consensus_sim #2441
Enable consensus_sim #2441
Conversation
proc main() = | ||
const basePath = "tests" / "fixtures" / "eth_tests" / "BlockchainTests" | ||
const basePath = "tests/fixtures/eth_tests/BlockchainTests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this preserve functionality on Windows? /
uses DirSep
, which might also be \
on Windows.
While for non-\\?\
based paths in Windows, or those for many purposes for the Win32 APIs, they'll handle either /
or \
, it means that if one has to switch to the style of paths which allow more than MAX_PATH == 260
length, e.g, because of a source directory with a long name, then using /
in a hardcoded way would cause this to fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far the blockchain tests folder only contains shallow recursion and the file names also short. And it still works on windows
* Enable consensus_sim * Remove isFile check
* Wiring ForkedChainRef to other components - Disable majority of hive simulators - Only enable pyspec_sim for the moment - The pyspec_sim is using a smaller RPC service wired to ForkedChainRef - The RPC service will gradually grow * Addressing PR review * Fix test_beacon/setup_env * Enable consensus_sim (#2441) * Enable consensus_sim * Remove isFile check * Enable Engine API jwt auth tests and exchange cap tests * Enable engine api in build_sim.sh * Wire ForkedChainRef to Engine API newPayload * Wire Engine API getBodies to ForkedChainRef * Wire Engine API api_forkchoice to ForkedChainRef * Wire more RPC methods to ForkedChainRef * Implement eth_syncing * Implement eth_call and eth_getlogs * TxPool: simplify smartHead * Fix smartHead usage * Fix txpool headDiff * Remove hasBlockHeader and use headerExists * Addressing review
This PR meant to be merged to #2423