Skip to content

Commit 89bb723

Browse files
authored
"docs: update module and OpenAPI specs from zeta-chain/node"
1 parent b2b6791 commit 89bb723

3 files changed

Lines changed: 67 additions & 1 deletion

File tree

public/data/openapi.swagger.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55638,6 +55638,9 @@ definitions:
5563855638
description: |-
5563955639
Skip actions that require scanning the contents of each block.
5564055640
The main thing this disables is transfers directly to the TSS address.
55641+
gasPriceMultiplier:
55642+
type: string
55643+
title: The multiplier to be applied to the observed gas price
5564155644
zetachain.zetacore.observer.ChainParamsList:
5564255645
type: object
5564355646
properties:
@@ -55748,6 +55751,8 @@ definitions:
5574855751
type: object
5574955752
zetachain.zetacore.observer.MsgRemoveChainParamsResponse:
5575055753
type: object
55754+
zetachain.zetacore.observer.MsgRemoveObserverResponse:
55755+
type: object
5575155756
zetachain.zetacore.observer.MsgResetChainNoncesResponse:
5575255757
type: object
5575355758
zetachain.zetacore.observer.MsgUpdateChainParamsResponse:

src/pages/developers/architecture/modules.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,17 @@ message MsgAddObserver {
816816
}
817817
```
818818

819+
#### MsgRemoveObserver
820+
821+
RemoveObserver removes an observer address from the observer set and node account list
822+
823+
```proto
824+
message MsgRemoveObserver {
825+
string creator = 1;
826+
string observer_address = 2;
827+
}
828+
```
829+
819830
#### MsgUpdateObserver
820831

821832
UpdateObserver handles updating an observer address

src/pages/developers/architecture/zetacored.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Zetacore Daemon (server)
2424
* [zetacored comet](#zetacored-comet) - CometBFT subcommands
2525
* [zetacored config](#zetacored-config) - Utilities for managing application configuration
2626
* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application
27+
* [zetacored devnet](#zetacored-devnet) - Modify state to create devnet from current local data
2728
* [zetacored docs](#zetacored-docs) - Generate markdown documentation for zetacored
2829
* [zetacored export](#zetacored-export) - Export state to JSON
2930
* [zetacored gentx](#zetacored-gentx) - Generate a genesis tx carrying a self delegation
@@ -990,6 +991,52 @@ zetacored debug raw-bytes '[72 101 108 108 111 44 32 112 108 97 121 103 114 111
990991

991992
* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application
992993

994+
## zetacored devnet
995+
996+
Modify state to create devnet from current local data
997+
998+
### Synopsis
999+
1000+
Modify state to create a devnet from current local state. This will set the chain ID to the provided newChainID.
1001+
The provided operatorAddress is used as the operator for the single validator in this network. The existing node key is reused.
1002+
The optional upgradeVersion parameter schedules an upgrade to that version (e.g., v37.0.0). If not provided, no upgrade is scheduled.
1003+
1004+
1005+
```
1006+
zetacored devnet [newChainID] [operatorAddress] [upgradeVersion] [flags]
1007+
```
1008+
1009+
### Examples
1010+
1011+
```
1012+
zetacored devnet devnet_70000-1 zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax
1013+
zetacored devnet devnet_70000-1 zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax v37.0.0
1014+
```
1015+
1016+
### Options
1017+
1018+
```
1019+
-h, --help help for devnet
1020+
--shutdown-grace duration On Shutdown, duration to wait for resource clean up (default 3s)
1021+
--skip-confirmation Skip the confirmation prompt
1022+
--trace-store string Enable KVStore tracing to an output file
1023+
--with-cometbft Run abci app embedded in-process with CometBFT (default true)
1024+
```
1025+
1026+
### Options inherited from parent commands
1027+
1028+
```
1029+
--home string directory for config and data
1030+
--log_format string The logging format (json|plain)
1031+
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:[level],[key]:[level]')
1032+
--log_no_color Disable colored logs
1033+
--trace print out full stack trace on errors
1034+
```
1035+
1036+
### SEE ALSO
1037+
1038+
* [zetacored](#zetacored) - Zetacore Daemon (server)
1039+
9931040
## zetacored docs
9941041

9951042
Generate markdown documentation for zetacored
@@ -9722,6 +9769,7 @@ zetacored start [flags]
97229769
--home string The application home directory
97239770
--inter-block-cache Enable inter-block caching (default true)
97249771
--inv-check-period uint Assert registered invariants every N blocks
9772+
--is-devnet Enable devnet mode to fork from existing state
97259773
--json-rpc.address string the JSON-RPC server address to listen on
97269774
--json-rpc.allow-insecure-unlock Allow insecure account unlocking when account-related RPCs are exposed by http (default true)
97279775
--json-rpc.allow-unprotected-txs Allow for unprotected (non EIP155 signed) transactions to be submitted via the node's RPC when the global parameter is disabled
@@ -9742,6 +9790,7 @@ zetacored start [flags]
97429790
--min-retain-blocks uint Minimum block height offset during ABCI commit to prune CometBFT blocks
97439791
--minimum-gas-prices string Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 20000000000azeta)
97449792
--moniker string node name
9793+
--new-chain-ID string New chain ID to use when running in devnet mode
97459794
--p2p.external-address string ip:port address to advertise to peers for them to dial
97469795
--p2p.laddr string node listen address. (0.0.0.0:0 means any interface, any port)
97479796
--p2p.persistent_peers string comma-delimited ID@host:port persistent peers
@@ -9759,7 +9808,8 @@ zetacored start [flags]
97599808
--rpc.laddr string RPC listen address. Port required
97609809
--rpc.pprof_laddr string pprof listen address (https://golang.org/pkg/net/http/pprof)
97619810
--rpc.unsafe enabled unsafe rpc methods
9762-
--skip-config-overwrite Skip running the config configuration overwrite handler.This is used for testing purposes only and skips using the default timeouts hardcoded and uses the config file instead
9811+
--shutdown-grace duration On Shutdown, duration to wait for resource clean up (default 3s)
9812+
--skip-config-overwrite Skip running the config configuration overwrite handler. This is used for testing purposes only and skips using the default timeouts hardcoded and uses the config file instead
97639813
--state-sync.snapshot-interval uint State sync snapshot interval
97649814
--state-sync.snapshot-keep-recent uint32 State sync snapshot to keep (default 2)
97659815
--tls.certificate-path string the cert.pem file path for the server TLS configuration

0 commit comments

Comments
 (0)