-
Notifications
You must be signed in to change notification settings - Fork 0
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
Etc mystique #1
base: develop
Are you sure you want to change the base?
Etc mystique #1
Conversation
meowsbits
commented
Oct 25, 2022
•
edited
Loading
edited
- (client) core-geth development branch: https://github.com/etclabscore/core-geth/tree/merge/foundation-release/1.10.23-tests-generate-fixes-statefix-difficulty-test-v2-ripemd-tx-debug
|
||
# Run a single test, alternate command. | ||
# NOTE: It is not clear what the root directory of the 'testfile' argument should be. "tests/"? The absolute path to the tests/ directory? | ||
# The former works for me as expected, the latter seems to cause ./dretesteth to run eternally (or a long time). |
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.
Ths is a bug
The path to file should be as of inside the docker where testpath is mounted
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.
absolute
# Fill tests for a suite of tests, still for a single fork. | ||
# ./dretesteth.sh -t GeneralStateTests/stArgsZeroOneBalance -- --filltests --testpath "${testspath}" --clients t8ntooletc --singlenet ETC_Mystique | ||
./build/retesteth/retesteth -t GeneralStateTests/stArgsZeroOneBalance -- --filltests --testpath "${testspath}" --clients t8ntooletc --singlenet ETC_Mystique | ||
# Beware, this one takes a long time. |
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.
You can use -j thread option.
Dont fill batch tests with selectors, the geneated files will be incomplete. Selectors are for debug (singlenet t d v)
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.
Is there any value in thinking about a --forks
(or --pluralnets
😜) flag, so you could choose a subset of forks? For example, so we could fill test files that only contained ETC_
forks?
so that if you mostly use chainID 5 after 1 most of the transactions init with 5 and no convertion needed
…th clone Date: 2022-10-25 08:45:19-07:00 Signed-off-by: meows <[email protected]>
I assume these are comparable fork values, and hope this will introduce retesteth support for ETC's Mystique fork. Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
This reverts commit 47c1e3c.
This reverts commit 7bc71fe.
…/core-geth" This reverts commit 5c98609.
This reverts commit e9b7b4e.
…emote with clone" This reverts commit 1ef050b.
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
Signed-off-by: meows <[email protected]>
This reverts commit 5eca8d8.
Note that this ALSO (re)sets the chainID - the 'global' chain id - to 1 for compatibility with ETH. Signed-off-by: meows <[email protected]>
711770b
to
9e6dc0e
Compare