From e5748d01fca2c09b2dee3e2babf888077934629f Mon Sep 17 00:00:00 2001 From: haouvw Date: Wed, 26 Jun 2024 15:16:31 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: haouvw --- docs/gravity-bridge/dev-setup-guide.md | 2 +- docs/static/openapi.yml | 4 ++-- integration_tests/cosmoscli.py | 2 +- integration_tests/test_basic.py | 4 ++-- integration_tests/test_replay_block.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/gravity-bridge/dev-setup-guide.md b/docs/gravity-bridge/dev-setup-guide.md index 95270f048c..5242cb4284 100644 --- a/docs/gravity-bridge/dev-setup-guide.md +++ b/docs/gravity-bridge/dev-setup-guide.md @@ -165,4 +165,4 @@ releases](https://github.com/PeggyJV/gravity-bridge/releases). --ethereum-key="orch_eth" ``` -After all the orchestrator processes run, the gravity bridge between ethereum and cronos is setup succesfully. +After all the orchestrator processes run, the gravity bridge between ethereum and cronos is setup successfully. diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 60b058bf3f..e183504fa2 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -1576,7 +1576,7 @@ paths: type: object properties: commission: - description: commission defines the commision the validator received. + description: commission defines the commission the validator received. type: object properties: commission: @@ -17460,7 +17460,7 @@ definitions: type: object properties: commission: - description: commission defines the commision the validator received. + description: commission defines the commission the validator received. type: object properties: commission: diff --git a/integration_tests/cosmoscli.py b/integration_tests/cosmoscli.py index a34cb9df7f..061befc439 100644 --- a/integration_tests/cosmoscli.py +++ b/integration_tests/cosmoscli.py @@ -632,7 +632,7 @@ def create_validator( amount=amount, pubkey=pubkey, min_self_delegation=min_self_delegation, - # commision + # commission commission_rate=commission_rate, commission_max_rate=commission_max_rate, commission_max_change_rate=commission_max_change_rate, diff --git a/integration_tests/test_basic.py b/integration_tests/test_basic.py index 2fb58922f5..2d0d50dff6 100644 --- a/integration_tests/test_basic.py +++ b/integration_tests/test_basic.py @@ -283,7 +283,7 @@ def test_statesync(cronos): == initial_balance + tx_value + tx_value ) - print("succesfully syncing") + print("successfully syncing") clustercli.supervisor.stopProcess(f"{clustercli.chain_id}-node{i}") @@ -572,7 +572,7 @@ def test_exception(cluster): receipt = send_transaction( w3, contract.functions.transfer(5 * (10**18)).build_transaction() ) - assert receipt.status == 1, "should be succesfully" + assert receipt.status == 1, "should be successfully" assert 5 * (10**18) == contract.caller.query() diff --git a/integration_tests/test_replay_block.py b/integration_tests/test_replay_block.py index 89791f94ac..a7a65eccc7 100644 --- a/integration_tests/test_replay_block.py +++ b/integration_tests/test_replay_block.py @@ -94,7 +94,7 @@ def test_block_overflow(custom_cronos): else: assert False, "timeout" - # the first tx succeds. + # the first tx succeeds. assert success.status == 1 assert success.gasUsed < gas_limits[success["from"]] assert success.cumulativeGasUsed == success.gasUsed