Skip to content

Commit eba06a9

Browse files
committed
chore: fix some comments to improve readability
Signed-off-by: findfluctuate <[email protected]>
1 parent 63b6a38 commit eba06a9

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ release-dry-run:
160160
SIMAPP = github.com/crypto-org-chain/cronos/app
161161

162162
# Install the runsim binary with a temporary workaround of entering an outside
163-
# directory as the "go get" command ignores the -mod option and will polute the
163+
# directory as the "go get" command ignores the -mod option and will pollute the
164164
# go.{mod, sum} files.
165165
#
166166
# ref: https://github.com/golang/go/issues/30515

app/app.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import (
4949
evmhandlers "github.com/crypto-org-chain/cronos/x/cronos/keeper/evmhandlers"
5050
cronosprecompiles "github.com/crypto-org-chain/cronos/x/cronos/keeper/precompiles"
5151
"github.com/crypto-org-chain/cronos/x/cronos/middleware"
52+
5253
// force register the extension json-rpc.
5354
_ "github.com/crypto-org-chain/cronos/x/cronos/rpc"
5455
cronostypes "github.com/crypto-org-chain/cronos/x/cronos/types"
@@ -57,6 +58,7 @@ import (
5758
e2eekeyring "github.com/crypto-org-chain/cronos/x/e2ee/keyring"
5859
e2eetypes "github.com/crypto-org-chain/cronos/x/e2ee/types"
5960
"github.com/ethereum/go-ethereum/common"
61+
6062
// Force-load the tracer engines to trigger registration
6163
"github.com/ethereum/go-ethereum/core/vm"
6264
_ "github.com/ethereum/go-ethereum/eth/tracers/js"

integration_tests/test_ica.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def submit_msgs(msg_num, timeout_in_s=no_timeout, gas="200000"):
112112
submit_msgs(msg_num, 0.005, "600000")
113113
assert cli_host.balance(ica_address, denom=denom) == balance
114114
if order == ChannelOrder.UNORDERED.value:
115-
# regiser new account for unordered channel, will not update the original
115+
# register new account for unordered channel, will not update the original
116116
# channel.
117117
register_acc(cli_controller, connid)
118118
else:

integration_tests/test_versiondb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_versiondb_migration(cronos: Cronos):
4949
changeset_dir = tempfile.mkdtemp(dir=cronos.base_dir)
5050
print("dump to:", changeset_dir)
5151

52-
# only restore to an intermidiate version to test version mismatch behavior
52+
# only restore to an intermediate version to test version mismatch behavior
5353
print(cli1.changeset_dump(changeset_dir, end_version=block1 + 1))
5454

5555
snapshot_dir = tempfile.mkdtemp(dir=cronos.base_dir)

x/cronos/rpc/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (api *CronosAPI) GetTransactionReceiptsByBlock(blockNrOrHash rpctypes.Block
204204
"blockNumber": hexutil.Uint64(blockNumber),
205205
"transactionIndex": hexutil.Uint64(txIndex),
206206

207-
// sender and receiver (contract or EOA) addreses
207+
// sender and receiver (contract or EOA) addresses
208208
"from": from,
209209
"to": txData.To(),
210210
"type": hexutil.Uint(txData.Type()),
@@ -338,7 +338,7 @@ func (api *CronosAPI) ReplayBlock(blockNrOrHash rpctypes.BlockNumberOrHash, post
338338
"blockNumber": hexutil.Uint64(blockNumber),
339339
"transactionIndex": hexutil.Uint64(txIndex),
340340

341-
// sender and receiver (contract or EOA) addreses
341+
// sender and receiver (contract or EOA) addresses
342342
"from": from,
343343
"to": txData.GetTo(),
344344
}

0 commit comments

Comments
 (0)