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

Lk86/fix rosetta conflicts develop #10055

Merged
merged 216 commits into from
Jan 29, 2022
Merged

Conversation

lk86
Copy link
Contributor

@lk86 lk86 commented Jan 19, 2022

This PR resolves the minor conflicts between recent compatible changes and develop to get them in sync. Tested in CI to ensure the replayer test (and others) still pass as expected.

bkase and others added 30 commits November 3, 2021 18:04
Adds explicit invalid transaction errors to Rosetta. Sadly, due to the
way we raise these errors in GraphQL it's hacky and relies on substring
search. Where relevant, I've added comments to the strings in the daemon
that we rely on for this code to continue working. In the future, we
should refactor the GraphQL submit code path to understand errors more
explicitly rather than relying on strings.

All failure modes were reproduced by manually manipulating test-curl/ scripts
and GraphQL error strings were inspected to create the patterns seen in
this PR. After implementing the changes, I tested a few again to make sure
they were parsing properly.
We hope this fixes the memory errors

Note: This is the first commit specifically on this branch for the first
time and not a cherry-pick
Bump the concurrency up to 64 as 16 is too slow
The rosetta side of the equation
Make sure the recursive query stops before going too far, and fallback
to the historical query in that case with (min_recent_height-1)
@lk86 lk86 requested review from a team as code owners January 19, 2022 23:06
@lk86 lk86 added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Jan 19, 2022
@lk86 lk86 merged commit d4f99a6 into develop Jan 29, 2022
@lk86 lk86 deleted the lk86/fix-rosetta-conflicts-develop branch January 29, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants