Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #1517

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading