-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[1/2][aggregator-server] set up server crate with todos #402
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
base: main
Are you sure you want to change the base?
Conversation
76840ea to
758aa00
Compare
758aa00 to
0e5df2d
Compare
| sui-rpc = "0.1.0" | ||
| tonic = "0.14" | ||
|
|
||
| axum = { version = "0.8", features = ["macros"] } |
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.
let's use those from the other crates
| @@ -0,0 +1,32 @@ | |||
| # Aggregator Server | |||
|
|
|||
| Aggregator server for Seal committee mode. It fetches encrypted partial keys from committee member servers, verifies encrypted signatures. | |||
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.
| Aggregator server for Seal committee mode. It fetches encrypted partial keys from committee member servers, verifies encrypted signatures. | |
| Aggregator server for a Seal committee. It fetches encrypted partial keys from committee member servers, verifies encrypted signatures. |
| # Aggregator Server | ||
|
|
||
| Aggregator server for Seal committee mode. It fetches encrypted partial keys from committee member servers, verifies encrypted signatures. | ||
|
|
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.
also mention that it uses private api keys for accessing the key servers
|
|
||
| let app = get_mysten_service::<AppState>(package_name!(), package_version!()) | ||
| .merge(Router::new().route("/v1/fetch_key", post(handle_fetch_key))) | ||
| .with_state(state) |
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.
let's also have /service return error
Description
a scaffolding to agree on the design and high level steps.
Test plan
it runs.