From d8ed2e0040dfdff30949fe05fb0e3f2cfa9c2d4e Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:14:11 +0100 Subject: [PATCH 1/8] typo staking.go --- cli/cmd/staking.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/staking.go b/cli/cmd/staking.go index 400d13ff0..dee9b9f40 100644 --- a/cli/cmd/staking.go +++ b/cli/cmd/staking.go @@ -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 { From ee78dee04bde422e751164ec244934e58412df10 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:15:05 +0100 Subject: [PATCH 2/8] typo Utils.sol --- contracts/avs/test/common/Utils.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/avs/test/common/Utils.sol b/contracts/avs/test/common/Utils.sol index 219fe95da..bbcb7884a 100644 --- a/contracts/avs/test/common/Utils.sol +++ b/contracts/avs/test/common/Utils.sol @@ -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)), From 73506b91290fbcd29744ba92a2586b7f203bddaa Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:15:47 +0100 Subject: [PATCH 3/8] typo slashing.go --- contracts/bindings/slashing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/bindings/slashing.go b/contracts/bindings/slashing.go index bcbcf0e8b..48a1b2a15 100644 --- a/contracts/bindings/slashing.go +++ b/contracts/bindings/slashing.go @@ -321,7 +321,7 @@ func (it *SlashingUnjailIterator) Close() error { return nil } -// SlashingUnjail represents a Unjail event raised by the Slashing contract. +// SlashingUnjail represents an Unjail event raised by the Slashing contract. type SlashingUnjail struct { Validator common.Address Raw types.Log // Blockchain specific contextual infos From 6ac28137ef4ac13e705e5de0b97be86514ce6cac Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:16:26 +0100 Subject: [PATCH 4/8] typo Staking.sol --- contracts/core/src/octane/Staking.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/src/octane/Staking.sol b/contracts/core/src/octane/Staking.sol index f96487bb2..692c338dd 100644 --- a/contracts/core/src/octane/Staking.sol +++ b/contracts/core/src/octane/Staking.sol @@ -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 { /** From 82665a09bb8363ff3ea7009986d5dae3a2d6b128 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:17:03 +0100 Subject: [PATCH 5/8] typo Upgrade.sol --- contracts/core/src/octane/Upgrade.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/src/octane/Upgrade.sol b/contracts/core/src/octane/Upgrade.sol index 7ef8ba5ef..8f1cd25a5 100644 --- a/contracts/core/src/octane/Upgrade.sol +++ b/contracts/core/src/octane/Upgrade.sol @@ -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 { /** From cfb7322ced55217d5da38fddd158ed3a7d88044a Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:17:40 +0100 Subject: [PATCH 6/8] typo OmniBridgeNative.sol --- contracts/core/src/token/OmniBridgeNative.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/src/token/OmniBridgeNative.sol b/contracts/core/src/token/OmniBridgeNative.sol index e30cbe0f4..3c581b21b 100644 --- a/contracts/core/src/token/OmniBridgeNative.sol +++ b/contracts/core/src/token/OmniBridgeNative.sol @@ -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 { /** From f089b7f6c014ae8231381465b8a6069000ffbdef Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:18:33 +0100 Subject: [PATCH 7/8] typo validator.md --- docs/content/operate/validator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/operate/validator.md b/docs/content/operate/validator.md index 5e10e8360..be2ef80ea 100644 --- a/docs/content/operate/validator.md +++ b/docs/content/operate/validator.md @@ -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` From cbd6a927e2fa43bfbc8f64122966d36995600f33 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 26 Dec 2024 17:19:04 +0100 Subject: [PATCH 8/8] typo key.go --- e2e/app/key/key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/app/key/key.go b/e2e/app/key/key.go index 008257cca..1178bd294 100644 --- a/e2e/app/key/key.go +++ b/e2e/app/key/key.go @@ -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 }