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

fix(docs): Correct grammatical errors #2738

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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 cli/cmd/staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func newUnjailCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "unjail",
Short: "Unjail a validator",
Long: "Sign and broadcast a unjail transaction that unjails a jailed validator. " +
Long: "Sign and broadcast an unjail transaction that unjails a jailed validator. " +
"This transaction must be sent by the operator address and costs 0.1 OMNI.",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, _ []string) error {
Expand Down
2 changes: 1 addition & 1 deletion contracts/avs/test/common/Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ contract Utils is Fixtures {
vm.startPrank(sender);
string memory emptyStringForMetadataURI;
delegation.registerAsOperator(operatorDetails, emptyStringForMetadataURI);
assertTrue(delegation.isOperator(sender), "testRegisterAsOperator: sender is not a operator");
assertTrue(delegation.isOperator(sender), "testRegisterAsOperator: sender is not an operator");

assertTrue(
keccak256(abi.encode(delegation.operatorDetails(sender))) == keccak256(abi.encode(operatorDetails)),
Expand Down
2 changes: 1 addition & 1 deletion contracts/bindings/slashing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/core/src/octane/Staking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Secp256k1 } from "../libraries/Secp256k1.sol";
* @dev This contract is predeployed, and requires storage slots to be set in genesis.
* initialize(...) is called pre-deployment, in script/genesis/AllocPredeploys.s.sol
* Initializers on the implementation are disabled via manual storage updates, rather than in a constructor.
* If an new implementation is required, a constructor should be added.
* If a new implementation is required, a constructor should be added.
*/
contract Staking is OwnableUpgradeable, EIP712Upgradeable {
/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/core/src/octane/Upgrade.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/O
* @dev This contract is predeployed, and requires storage slots to be set in genesis.
* initialize(...) is called pre-deployment, in script/genesis/AllocPredeploys.s.sol
* Initializers on the implementation are disabled via manual storage updates, rather than in a constructor.
* If an new implementation is required, a constructor should be added.
* If a new implementation is required, a constructor should be added.
*/
contract Upgrade is OwnableUpgradeable {
/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/core/src/token/OmniBridgeNative.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { XTypes } from "../libraries/XTypes.sol";
* @dev This contract is predeployed, and requires storage slots to be set in genesis.
* initialize(...) is called pre-deployment, in script/genesis/AllocPredeploys.s.sol
* Initializers on the implementation are disabled via manual storage updates, rather than in a constructor.
* If an new implementation is required, a constructor should be added.
* If a new implementation is required, a constructor should be added.
*/
contract OmniBridgeNative is OmniBridgeCommon {
/**
Expand Down
2 changes: 1 addition & 1 deletion docs/content/operate/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Consensus public key: 02e47138b658317e8a9ce3fd59c4c41ede153cf2051de3bf9926bd6cfe

At this point, it is only possible to register a validator using the `omni` CLI which only supports insecure hex-encoded private key files.

To generate such a operator private key, run the following `omni` CLI command:
To generate such an operator private key, run the following `omni` CLI command:

`$ omni operator create-operator-key`

Expand Down
2 changes: 1 addition & 1 deletion e2e/app/key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (t Type) String() string {
return string(t)
}

// Key wraps a cometBFT private key adding custom a address function.
// Key wraps a cometBFT private key adding custom an address function.
type Key struct {
crypto.PrivKey
}
Expand Down