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

Initial pass at Rosetta test-agent #5516

Merged
merged 2 commits into from
Jul 28, 2020
Merged

Initial pass at Rosetta test-agent #5516

merged 2 commits into from
Jul 28, 2020

Conversation

bkase
Copy link
Member

@bkase bkase commented Jul 28, 2020

The test agent process runs alongside the network + archive + rosetta.
It pokes Coda to manipulate its state (starting/stopping staking,
sending transactions, etc). And it peeks at Rosetta to observe that
after poking the state of the world makes sense.

This PR sets up the initial scaffolding for the above system with a
simple GraphQL mutation and Rosetta request.

For now, peeking at Rosetta is done via making HTTP requests, but we can
complement it with peeking actions performed by the Rosetta
CLI
in future commits.

This agent can be used with a local demo build, but also is reusable
against QA-nets and real networks.

Reviewers

I'm intentionally putting up this simple version for review now for folks
to raise concerns with the high-level structure of this system before I
dive too deep implementing a bunch of tests. Please raise those concerns
should they exist now.

The test agent process runs alongside the network + archive + rosetta.
It pokes Coda to manipulate it's state (starting/stopping staking,
sending transactions, etc). And it peeks at Rosetta to observe that
after poking the state of the world makes sense.

This PR sets up the initial scaffolding for the above system with a
simple GraphQL mutation and Rosetta request.

For now, peeking at Rosetta is done via making HTTP requests, but we can
complement it with peeking actions performed by the [Rosetta
CLI](https://github.com/coinbase/rosetta-cli) in future commits.

This agent can be used with a local demo build, but also is reusable
against QA-nets and real networks.
@bkase bkase requested review from nholland94, lk86 and mrmr1993 July 28, 2020 03:41
@bkase bkase added ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR labels Jul 28, 2020
@mergify mergify bot merged commit a1c039f into develop Jul 28, 2020
@mergify mergify bot deleted the initial-test-agent branch July 28, 2020 18:23
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 ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants