From df80461f2a0d8c7c15b67e530462ca1e27a539ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 12:09:37 +0300 Subject: [PATCH] docs: update module and OpenAPI specs from the node repo (#492) Co-authored-by: fadeev --- public/data/openapi.swagger.yaml | 7 +- .../modules/crosschain/messages.md | 8 +-- src/pages/architecture/zetacored/cli.md | 69 ++++++++----------- 3 files changed, 36 insertions(+), 48 deletions(-) diff --git a/public/data/openapi.swagger.yaml b/public/data/openapi.swagger.yaml index e4a4ae96..7113d00a 100644 --- a/public/data/openapi.swagger.yaml +++ b/public/data/openapi.swagger.yaml @@ -57202,6 +57202,11 @@ definitions: format: uint64 tx_finalization_status: $ref: '#/definitions/crosschainTxFinalizationStatus' + is_cross_chain_call: + type: boolean + title: |- + this field describes if a smart contract call should be made for a inbound + with assets only used for protocol contract version 2 crosschainInboundTracker: type: object properties: @@ -57598,8 +57603,6 @@ definitions: type: string tx_signer: type: string - proved: - type: boolean cryptoPubKeySet: type: object properties: diff --git a/src/pages/architecture/modules/crosschain/messages.md b/src/pages/architecture/modules/crosschain/messages.md index c369443d..1a2a8629 100644 --- a/src/pages/architecture/modules/crosschain/messages.md +++ b/src/pages/architecture/modules/crosschain/messages.md @@ -12,9 +12,6 @@ message MsgAddOutboundTracker { int64 chain_id = 2; uint64 nonce = 3; string tx_hash = 4; - pkg.proofs.Proof proof = 5; - string block_hash = 6; - int64 tx_index = 7; } ``` @@ -28,9 +25,6 @@ message MsgAddInboundTracker { int64 chain_id = 2; string tx_hash = 3; pkg.coin.CoinType coin_type = 4; - pkg.proofs.Proof proof = 5; - string block_hash = 6; - int64 tx_index = 7; } ``` @@ -63,6 +57,7 @@ message MsgVoteGasPrice { uint64 price = 3; uint64 priority_fee = 6; uint64 block_number = 4; + string supply = 5; } ``` @@ -190,6 +185,7 @@ message MsgVoteInbound { ProtocolContractVersion protocol_contract_version = 16; RevertOptions revert_options = 17; CallOptions call_options = 18; + bool is_cross_chain_call = 19; } ``` diff --git a/src/pages/architecture/zetacored/cli.md b/src/pages/architecture/zetacored/cli.md index 36440f27..96c6e715 100644 --- a/src/pages/architecture/zetacored/cli.md +++ b/src/pages/architecture/zetacored/cli.md @@ -33,13 +33,13 @@ Zetacore Daemon (server) * [zetacored parse-genesis-file](#zetacored-parse-genesis-file) - Parse the provided genesis file and import the required data into the optionally provided genesis file * [zetacored query](#zetacored-query) - Querying subcommands * [zetacored rollback](#zetacored-rollback) - rollback cosmos-sdk and tendermint state by one height -* [zetacored rosetta](#zetacored-rosetta) - spin up a rosetta server * [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots * [zetacored start](#zetacored-start) - Run the full node * [zetacored status](#zetacored-status) - Query remote node for status * [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands * [zetacored testnet](#zetacored-testnet) - subcommands for starting or configuring local testnets * [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored upgrade-handler-version](#zetacored-upgrade-handler-version) - Print the default upgrade handler version * [zetacored validate-genesis](#zetacored-validate-genesis) - validates the genesis file at the default location or at the location passed as an arg * [zetacored version](#zetacored-version) - Print the application binary version information @@ -7363,45 +7363,6 @@ zetacored rollback [flags] * [zetacored](#zetacored) - Zetacore Daemon (server) -## zetacored rosetta - -spin up a rosetta server - -``` -zetacored rosetta [flags] -``` - -### Options - -``` - --addr string the address rosetta will bind to - --blockchain string the blockchain type - --denom-to-suggest string default denom for fee suggestion - --enable-fee-suggestion enable default fee suggestion - --gas-to-suggest int default gas for fee suggestion (default 200000) - --grpc string the app gRPC endpoint - -h, --help help for rosetta - --network string the network name - --offline run rosetta only with construction API - --prices-to-suggest string default prices for fee suggestion - --retries int the number of retries that will be done before quitting (default 5) - --tendermint string the tendermint rpc endpoint, without tcp:// -``` - -### Options inherited from parent commands - -``` - --home string directory for config and data - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --log_no_color Disable colored logs - --trace print out full stack trace on errors -``` - -### SEE ALSO - -* [zetacored](#zetacored) - Zetacore Daemon (server) - ## zetacored snapshots Manage local snapshots @@ -14386,6 +14347,34 @@ zetacored tx vesting create-vesting-account [to_address] [amount] [end_time] [fl * [zetacored tx vesting](#zetacored-tx-vesting) - Vesting transaction subcommands +## zetacored upgrade-handler-version + +Print the default upgrade handler version + +``` +zetacored upgrade-handler-version [flags] +``` + +### Options + +``` + -h, --help help for upgrade-handler-version +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + ## zetacored validate-genesis validates the genesis file at the default location or at the location passed as an arg