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

Feat/add parallel exec #103

Merged
merged 28 commits into from
Sep 5, 2023
Merged

Feat/add parallel exec #103

merged 28 commits into from
Sep 5, 2023

Conversation

0xArdi
Copy link
Collaborator

@0xArdi 0xArdi commented Aug 24, 2023

This PR adds support for parallel execution of the requests on the mech.

requests: List[Dict[str, Any]] = cls.get_request_events(ledger_api, contract_address, from_block, to_block)["data"]
delivers: List[Dict[str, Any]] = cls.get_deliver_events(ledger_api, contract_address, from_block, to_block)["data"]
pending_tasks: List[Dict[str, Any]] = []
for request in requests:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: add filtering based on mask provided as param

@@ -129,7 +129,7 @@ jobs:
run: |
tox -e check-abci-docstrings
tox -e check-abciapp-specs
tox -e check-handlers
# tox -e check-handlers
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@angrybayblade it was failing on non-abci skill. The error said that the abci dialogues were missing.

@DavidMinarsch DavidMinarsch merged commit ece7bf4 into main Sep 5, 2023
6 checks passed
@DavidMinarsch DavidMinarsch deleted the feat/add-parallel-exec branch September 5, 2023 09:49
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.

4 participants