Skip to content

Commit

Permalink
"docs: update module and OpenAPI specs from zeta-chain/node"
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Aug 29, 2023
1 parent 6a5f316 commit 01d1ec2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/architecture/modules/observer/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

## MsgAddObserver

Not implemented.
AddObserver adds in a new observer to the store.It can be executed using an admin policy account
Once added, the function also resets keygen and pauses inbound so that a new TSS can be generated.

```proto
message MsgAddObserver {
string creator = 1;
int64 chain_id = 2;
ObservationType observationType = 3;
string observer_address = 2;
string zetaclient_grantee_pubkey = 3;
}
```

Expand Down Expand Up @@ -50,6 +51,7 @@ Only the admin policy account is authorized to broadcast this message.
message MsgUpdatePermissionFlags {
string creator = 1;
bool isInboundEnabled = 3;
bool isOutboundEnabled = 4;
}
```

Expand Down
3 changes: 3 additions & 0 deletions static/data/openapi.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50736,6 +50736,8 @@ definitions:
properties:
isInboundEnabled:
type: boolean
isOutboundEnabled:
type: boolean
observerPolicy_Type:
type: string
enum:
Expand All @@ -50744,6 +50746,7 @@ definitions:
- update_client_params
- update_keygen_block
- out_tx_tracker
- add_observer
default: stop_inbound_cctx
title: '- stop_inbound_cctx: some observer sees inbound tx'
observerQueryAllBlameRecordsResponse:
Expand Down

0 comments on commit 01d1ec2

Please sign in to comment.