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

CI tests for complex scenarios #52

Open
greenhat opened this issue Jun 14, 2022 · 0 comments · Fixed by #59
Open

CI tests for complex scenarios #52

greenhat opened this issue Jun 14, 2022 · 0 comments · Fixed by #59
Assignees

Comments

@greenhat
Copy link
Member

Motivation

To test more complex scenarios where outputs from one operation are the inputs to another operation. For example, consider the following scenario:

  1. Bootstrap new oracle pool;
  2. Invite oracles (send them oracle token + reward token);
  3. Invited oracles posting their datapoints;
  4. Run refresh command to collect posted datapoints;
  5. Repeat steps 3, and 4 one more time.

Manually testing this scenario is a tedious and error-prone job.

Implementation details

Firing up real nodes with attached oracles is a no-go. Let's try to simulate the node's role and the whole UTXO model with a simplified implementation similar to the one we have in https://github.com/ergoplatform/ergo-playgrounds (BlockchainSimulation and Party traits and their implementation)

@greenhat greenhat added this to the v2.0 milestone Jun 14, 2022
@greenhat greenhat self-assigned this Jun 14, 2022
@greenhat greenhat mentioned this issue Jun 16, 2022
2 tasks
@greenhat greenhat moved this to To do in greenhat WIP Jun 21, 2022
@greenhat greenhat moved this from To do to In progress in greenhat WIP Jun 21, 2022
Repository owner moved this from In progress to Done in greenhat WIP Jul 1, 2022
@greenhat greenhat reopened this Jul 1, 2022
Repository owner moved this from Done to In progress in greenhat WIP Jul 1, 2022
@greenhat greenhat moved this from In progress to To do in greenhat WIP Jul 9, 2022
@greenhat greenhat moved this from To do to In progress in greenhat WIP Sep 6, 2022
@greenhat greenhat moved this from In progress to To do in greenhat WIP Sep 7, 2022
@greenhat greenhat moved this from To do to In progress in greenhat WIP Sep 8, 2022
@greenhat greenhat moved this from In progress to To do in greenhat WIP Sep 13, 2022
@greenhat greenhat removed this from greenhat WIP Apr 5, 2023
@greenhat greenhat removed this from the v2.0-RC mainnet launch milestone Jun 9, 2023
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 a pull request may close this issue.

1 participant