Skip to content
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

Draft
wants to merge 24 commits into
base: develop
Choose a base branch
from
Draft

Etc mystique #1

wants to merge 24 commits into from

Conversation

meowsbits
Copy link
Member

@meowsbits meowsbits commented Oct 25, 2022


# 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).

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

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.

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)

Copy link
Member Author

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?

winsvega and others added 24 commits October 25, 2022 23:10
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]>
Note that this ALSO (re)sets the chainID
 - the 'global' chain id - to 1 for compatibility
with ETH.

Signed-off-by: meows <[email protected]>
@meowsbits meowsbits changed the base branch from master to develop October 26, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants