Split out of feat-shamir so the wire contract can be reviewed on its own. Rebased onto main: main's UNSEAL_RESULT_LOCKED_OUT keeps tag 4, so UNSEAL_RESULT_AWAITING_CONTRIBUTIONS moved to 5. BREAKING CHANGE: `shared.VaultState` renumbers SEALED/UNSEALED/ERROR to make room for VAULT_STATE_BOOSTRAPPING = 2. Old and new peers disagree on every vault state value. - operator: new `governance` branch in OperatorRequest/Response (field 5) - vault: new `rekey` branch in vault Request/Response (field 4) - bootstrap/unseal: passphrase and recovery-passphrase contribution payloads
32 lines
811 B
Protocol Buffer
32 lines
811 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package arbiter.operator;
|
|
|
|
import "operator/auth.proto";
|
|
import "operator/evm.proto";
|
|
import "operator/governance.proto";
|
|
import "operator/sdk_client.proto";
|
|
import "operator/vault/vault.proto";
|
|
|
|
message OperatorRequest {
|
|
int32 id = 16;
|
|
oneof payload {
|
|
auth.Request auth = 1;
|
|
vault.Request vault = 2;
|
|
evm.Request evm = 3;
|
|
sdk_client.Request sdk_client = 4;
|
|
governance.Request governance = 5;
|
|
}
|
|
}
|
|
|
|
message OperatorResponse {
|
|
optional int32 id = 16;
|
|
oneof payload {
|
|
auth.Response auth = 1;
|
|
vault.Response vault = 2;
|
|
evm.Response evm = 3;
|
|
sdk_client.Response sdk_client = 4;
|
|
governance.Response governance = 5;
|
|
}
|
|
}
|