Skip to content

Commit

Permalink
chore: fix some comments (#1517)
Browse files Browse the repository at this point in the history
Signed-off-by: pudongair <[email protected]>
Co-authored-by: mmsqe <[email protected]>
  • Loading branch information
pudongair and mmsqe authored Jul 22, 2024
1 parent 8384cad commit 901d841
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/architecture/adr-007.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ event __CronosSendToIbc(address indexed sender, uint256 indexed channelId, strin

#### Description

- Event `__CronosSendToIbc` has differnt signature in CRC20 and CR21.
- Event `__CronosSendToIbc` has different signature in CRC20 and CR21.
- The chain logic will distinguish between the two formats and behave accordingly.
- Channel ID argument is added to support sending to specified IBC channel.
- For token originated from Cronos, this channel ID could be any available IBC channel.
Expand Down
2 changes: 1 addition & 1 deletion docs/gravity-bridge/dev-setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down Expand Up @@ -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()


Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_replay_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion memiavl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ IAVL snapshot is composed by four files:

#### Compression

The items in snapshot reference with each other by file offsets, we can apply some block compression techniques to compress keys and values files while maintain random accessbility by uncompressed file offset, for example zstd's experimental seekable format[^1].
The items in snapshot reference with each other by file offsets, we can apply some block compression techniques to compress keys and values files while maintain random accessibility by uncompressed file offset, for example zstd's experimental seekable format[^1].

### VersionDB

Expand Down
2 changes: 1 addition & 1 deletion memiavl/multitree.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (t *MultiTree) SaveVersion(updateCommitInfo bool) (int64, error) {
if updateCommitInfo {
t.UpdateCommitInfo()
} else {
// clear the dirty informaton
// clear the dirty information
t.lastCommitInfo.StoreInfos = []StoreInfo{}
}

Expand Down

0 comments on commit 901d841

Please sign in to comment.