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 #1537

Merged
merged 2 commits into from
Aug 19, 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 contracts/src/ModuleCRC20Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ contract ModuleCRC20Proxy is DSMath {
emit __CronosSendToIbc(msg.sender, channel_id, recipient, amount, extraData);
}

// cancel a send to chain transaction considering if it hasnt been batched yet.
// cancel a send to chain transaction considering if it hasn't been batched yet.
function cancel_send_to_evm_chain(uint256 id) external {
emit __CronosCancelSendToEvmChain(msg.sender, id);
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/ModuleCRC21.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ contract ModuleCRC21 is DSToken {
emit __CronosSendToEvmChain(msg.sender, recipient, chain_id, amount, bridge_fee, extraData);
}

// cancel a send to chain transaction considering if it hasnt been batched yet.
// cancel a send to chain transaction considering if it hasn't been batched yet.
function cancel_send_to_evm_chain(uint256 id) external {
emit __CronosCancelSendToEvmChain(msg.sender, id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ contract CronosGravityCancellation {

event __CronosCancelSendToEvmChain(address indexed sender, uint256 id);

// Cancel a send to chain transaction considering if it hasnt been batched yet.
// Cancel a send to chain transaction considering if it hasn't been batched yet.
function cancelTransaction(uint256 id) public {
emit __CronosCancelSendToEvmChain(msg.sender, id);
}
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/contracts/contracts/TestCRC20Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract TestCRC20Proxy {
emit __CronosSendToEvmChain(msg.sender, recipient, chain_id, amount, bridge_fee, extraData);
}

// cancel a send to chain transaction considering if it hasnt been batched yet.
// cancel a send to chain transaction considering if it hasn't been batched yet.
function cancel_send_to_evm_chain(uint256 id) external {
emit __CronosCancelSendToEvmChain(msg.sender, id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ contract TestERC21Source is ERC20 {
emit __CronosSendToEvmChain(msg.sender, recipient, chain_id, amount, bridge_fee, extraData);
}

// cancel a send to chain transaction considering if it hasnt been batched yet.
// cancel a send to chain transaction considering if it hasn't been batched yet.
function cancel_send_to_evm_chain(uint256 id) external {
emit __CronosCancelSendToEvmChain(msg.sender, id);
}
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def test_local_statesync(cronos, tmp_path_factory):
cronos.supervisorctl("stop", "cronos_777-1-node0")
tarball = cli0.data_dir / "snapshot.tar.gz"
height = int(sync_info["latest_block_height"])
# round down to multplies of memiavl.snapshot-interval
# round down to multiples of memiavl.snapshot-interval
height -= height % 5

if height not in set(item.height for item in cli0.list_snapshot()):
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_gravity_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def check_gravity_native_tokens():
# Wait enough for orchestrator to relay the event
wait_for_new_blocks(cli, 30)

# check that the bridge has not been desactivated
# check that the bridge has not been deactivated
activate = cli.query_gravity_params()["params"]["bridge_active"]
assert activate is True

Expand Down
2 changes: 1 addition & 1 deletion x/cronos/events/decoders.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (d ValueDecoders) GetDecoder(name string) (ValueDecoder, bool) {
const (
// intBase is the base `int`s are parsed in, 10.
intBase = 10
// int64Bits is the number of bits stored in a variabe of `int64` type.
// int64Bits is the number of bits stored in a variable of `int64` type.
int64Bits = 64
)

Expand Down
Loading