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

Unified admin rpc #26

Merged
merged 17 commits into from
Dec 5, 2023
Merged

Unified admin rpc #26

merged 17 commits into from
Dec 5, 2023

Conversation

brennanjl
Copy link
Contributor

This PR includes:

  • validator commands in the admin service
  • remote signing in the admin svc
  • a function svc, based on the auxiliary VerifySignature rpc we have (we will likely expand on these auxiliaries as the gateway's responsibilities / other services we sell grow).
  • fixed several issues that caused incomplete data to be returned from the txsvc

Copy link
Member

@jchappelow jchappelow left a comment

Choose a reason for hiding this comment

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

LGTM. The join status and list endpoints are semi-public and don't involve txns, but it does seem best in admin regardless.
I suppose we'll wait to merge this until kwilteam/kwil-db#403 is ready?

@brennanjl
Copy link
Contributor Author

LGTM. The join status and list endpoints are semi-public and don't involve txns, but it does seem best in admin regardless.
I suppose we'll wait to merge this until kwilteam/kwil-db#403 is ready?

Yeah they should probably get merged at the same time.

We can move the join-status and list to the txsvc if we want; the admin svc has access to the tx svc anyways

@brennanjl
Copy link
Contributor Author

@KwilLuke please see changes in commit 3b6d97a

@KwilLuke
Copy link
Contributor

KwilLuke commented Dec 5, 2023

Is this going in this week's release? Or after?

@brennanjl
Copy link
Contributor Author

Is this going in this week's release? Or after?

This week

@jchappelow jchappelow merged commit 6fa7f85 into main Dec 5, 2023
@jchappelow jchappelow deleted the unified-admin-rpc branch December 5, 2023 19:22
KwilMachine pushed a commit to kwilteam/kwil-js that referenced this pull request Dec 5, 2023
Due to the proto change (here: kwilteam/proto#26 (comment)), KwilD
now returns list database an array of the owner, db name, and dbid. There interface on the
listDatabases request now matched that, returning the owner as a Uint8Array.

BREAKING CHANGE: The kwil.listDatabases() method now returns an array of db-objects (owner,
identifier, dbid). Previously, only the db name would be returned when an owner's address was passed
to `listDatabases()`.
KwilMachine pushed a commit to kwilteam/kwil-js that referenced this pull request Dec 5, 2023
Due to the proto change (here: kwilteam/proto#26 (comment)), KwilD
now returns list database an array of the owner, db name, and dbid. There interface on the
listDatabases request now matched that, returning the owner as a Uint8Array.

BREAKING CHANGE: The kwil.listDatabases() method now returns an array of db-objects (owner,
identifier, dbid). Previously, only the db name would be returned when an owner's address was passed
to `listDatabases()`.
KwilMachine pushed a commit to kwilteam/kwil-js that referenced this pull request Dec 5, 2023
Due to the proto change (here: kwilteam/proto#26 (comment)), KwilD
now returns list database an array of the owner, db name, and dbid. There interface on the
listDatabases request now matched that, returning the owner as a Uint8Array.

BREAKING CHANGE: The kwil.listDatabases() method now returns an array of db-objects (owner,
identifier, dbid). Previously, only the db name would be returned when an owner's address was passed
to `listDatabases()`.
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.

3 participants