From 408d1453e20bf709bc724ac974a69c584acbde32 Mon Sep 17 00:00:00 2001 From: cuiweiyuan Date: Thu, 15 Aug 2024 14:18:47 +0800 Subject: [PATCH] chore: fix some comments (#1075) Signed-off-by: cuiweiyuan --- app/docs/swagger_legacy.yaml | 4 ++-- app/types.go | 4 ++-- integration_tests/test_basic.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/docs/swagger_legacy.yaml b/app/docs/swagger_legacy.yaml index 48f5021d5..ec9cd030b 100644 --- a/app/docs/swagger_legacy.yaml +++ b/app/docs/swagger_legacy.yaml @@ -301,7 +301,7 @@ paths: parameters: - in: body name: txBroadcast - description: The tx must be a signed StdTx. The supported broadcast modes include `"block"`(return after tx commit), `"sync"`(return afer CheckTx) and `"async"`(return right away). + description: The tx must be a signed StdTx. The supported broadcast modes include `"block"`(return after tx commit), `"sync"`(return after CheckTx) and `"async"`(return right away). required: true schema: type: object @@ -524,7 +524,7 @@ paths: sequence: type: string 500: - description: Server internel error + description: Server internal error /staking/delegators/{delegatorAddr}/delegations: parameters: - in: path diff --git a/app/types.go b/app/types.go index 00cb0b05b..02b13e057 100644 --- a/app/types.go +++ b/app/types.go @@ -16,7 +16,7 @@ type App interface { Name() string // The application types codec. - // NOTE: This shoult be sealed before being returned. + // NOTE: This should be sealed before being returned. LegacyAmino() *codec.LegacyAmino // Application updates every begin block. @@ -36,6 +36,6 @@ type App interface { forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error) - // All the registered module account addreses. + // All the registered module account addresses. ModuleAccountAddrs() map[string]bool } diff --git a/integration_tests/test_basic.py b/integration_tests/test_basic.py index 4b679b40f..79eacf33f 100644 --- a/integration_tests/test_basic.py +++ b/integration_tests/test_basic.py @@ -103,4 +103,4 @@ def test_statesync(cluster): # discovery_time is set to 5 seconds, add extra seconds for processing wait_for_block(cluster.cosmos_cli(i), 10) - print("succesfully syncing") + print("successfully syncing")