-
Notifications
You must be signed in to change notification settings - Fork 550
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
Supports "failed txns" #5931
Supports "failed txns" #5931
Conversation
bkase
commented
Sep 14, 2020
- Improved demo to use separate snark worker
- Supports "failed txns" properly
- Passes test-agent and rosetta-cli check:data tests
* Improved demo to use separate snark worker * Supports "failed txns" properly * Passes test-agent and rosetta-cli check:data tests
src/app/rosetta/test-agent/agent.ml
Outdated
@@ -103,6 +110,7 @@ let verify_in_mempool_and_block ~logger ~rosetta_uri ~graphql_uri | |||
"Found block index $index" ; | |||
(* Start staking so we get blocks *) | |||
let%bind _res = Poke.Staking.enable ~graphql_uri in | |||
(*let%bind () = wait (Span.of_sec 3.0) in*) |
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.
Should we remove this delay if it's no longer needed?
src/app/rosetta/test-agent/agent.ml
Outdated
@@ -546,6 +582,15 @@ let check_new_account_user_commands ~logger ~rosetta_uri ~graphql_uri = | |||
[%log info] "Created payment and waited" ; | |||
(* Stop staking so we can rely on things being in the mempool again *) | |||
let%bind _res = Poke.Staking.disable ~graphql_uri in | |||
(* TODO: Why does introducing this break everything?? *) |
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 this TODO done? If not, it would be good to add a little more info here.
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.
Yes, whoops