andromedaprotocol / andromeda.js

Command line interface for interactions with Andromeda contracts.
1 stars 1 forks source link

#CU-2xd8er3 & #CU-2ww891k | Chain Configs & ADOP to MongoDB #36

Closed crnbarr93 closed 2 years ago

crnbarr93 commented 2 years ago

Motivation

To avoid having to push CLI updates to add a new config or update a current one the configs themselves have been moved to MongoDB. They are exposed via our GraphQL system with their own custom query. The ADOP feature was always intended to be external to the CLI so similar changes were made.

Implementation

Four new queries were added to GraphQL:

These are exposed via appropriate functions within the andromeda.js package. Updates were made to the CLI to adjust for querying configs and schemas from GraphQL.

Testing

N/A

Notes

Asynchronous changes had to be made to several command definitions. Testing must be carried out to investigate any potential unseen issues.

Future work

N/A

crnbarr93 commented 2 years ago

Task linked: CU-2xd8er3 Chain config updates to Mongo DB

crnbarr93 commented 2 years ago

Task linked: CU-2ww891k Move ADO Registry data to MongoDB