diff --git a/app/app.go b/app/app.go index b81f37b549..fdf469a716 100644 --- a/app/app.go +++ b/app/app.go @@ -1251,7 +1251,7 @@ type ChannelResult struct { result *abci.ExecTxResult } -// cacheContext returns a new context based off of the provided context with +// CacheContext returns a new context based off of the provided context with // a branched multi-store. func (app *App) CacheContext(ctx sdk.Context) (sdk.Context, sdk.CacheMultiStore) { ms := ctx.MultiStore() @@ -1445,7 +1445,7 @@ func (app *App) PartitionPrioritizedTxs(_ sdk.Context, txs [][]byte, typedTxs [] return prioritizedTxs, otherTxs, prioritizedTypedTxs, otherTypedTxs, prioritizedIndices, otherIndices } -// ExecuteTxsConcurrently calls the appropriate function for processing transacitons +// ExecuteTxsConcurrently calls the appropriate function for processing transactions func (app *App) ExecuteTxsConcurrently(ctx sdk.Context, txs [][]byte, typedTxs []sdk.Tx, absoluteTxIndices []int) ([]*abci.ExecTxResult, sdk.Context) { // TODO after OCC release, remove this check and call ProcessTXsWithOCC directly if ctx.IsOCCEnabled() { diff --git a/app/params/doc.go b/app/params/doc.go index 1c721342a9..50a67df508 100644 --- a/app/params/doc.go +++ b/app/params/doc.go @@ -5,7 +5,7 @@ It contains the default weights used for each transaction used on the module's simulation. These weights define the chance for a transaction to be simulated at any gived operation. -You can repace the default values for the weights by providing a params.json +You can replace the default values for the weights by providing a params.json file with the weights defined for each of the transaction operations: { diff --git a/evmrpc/rpcstack.go b/evmrpc/rpcstack.go index a1ec50835e..c5b4d22dd5 100644 --- a/evmrpc/rpcstack.go +++ b/evmrpc/rpcstack.go @@ -118,7 +118,7 @@ func (h *HTTPServer) SetListenAddr(host string, port int) error { return nil } -// listenAddr returns the listening address of the server. +// ListenAddr returns the listening address of the server. func (h *HTTPServer) ListenAddr() string { h.mu.Lock() defer h.mu.Unlock() diff --git a/loadtest/contracts/evm/foundry.toml b/loadtest/contracts/evm/foundry.toml index d250a76fb7..5c5658e2b9 100644 --- a/loadtest/contracts/evm/foundry.toml +++ b/loadtest/contracts/evm/foundry.toml @@ -1,7 +1,7 @@ [profile.default] # Foundry Configuration File -# Default definitions: https://github.com/gakonst/foundry/blob/b7917fa8491aedda4dd6db53fbb206ea233cd531/config/src/lib.rs#L782 -# See more config options at: https://github.com/gakonst/foundry/tree/master/config +# Default definitions: https://github.com/foundry-rs/foundry/blob/b7917fa8491aedda4dd6db53fbb206ea233cd531/config/src/lib.rs#L782 +# See more config options at: https://github.com/foundry-rs/foundry/tree/master/.config # The Default Profile # Sets the concrete solc version to use diff --git a/occ_tests/occ_test.go b/occ_tests/occ_test.go index e78e6f4a4a..b0f5ff66ed 100644 --- a/occ_tests/occ_test.go +++ b/occ_tests/occ_test.go @@ -69,7 +69,7 @@ func assertEqualEvents(t *testing.T, expected, actual []types.Event, testName st } } -// assertEqualExecTxResults validates the code, so that all errors don't count as a success +// assertExecTxResultCode validates the code, so that all errors don't count as a success func assertExecTxResultCode(t *testing.T, expected, actual []*types.ExecTxResult, code uint32, testName string) { for _, e := range expected { require.Equal(t, code, e.Code, "%s: Expected code %d, got %d", testName, code, e.Code) diff --git a/oracle/price-feeder/README.md b/oracle/price-feeder/README.md index 2293e86251..3afd98fd5b 100644 --- a/oracle/price-feeder/README.md +++ b/oracle/price-feeder/README.md @@ -15,7 +15,7 @@ If a cluster is running Oracle price-feeder, your validator is also required to ## Create an account for Oracle Price Feeder Delegate -1) To avoid account sequence errors with the admin account, it's reccomended to create a different account as an Oracle delegate. To do so, you'll need to create the account with +1) To avoid account sequence errors with the admin account, it's recommended to create a different account as an Oracle delegate. To do so, you'll need to create the account with `seid keys add price-feeder-delegate` or any other account name. This may still cause account sequence errors for the delegate account but since it's only being used for the Oracle price feeder, it's not a concern 2) With the account address output, `export PRICE_FEEDER_DELEGATE_ADDR=` 3) `seid tx oracle set-feeder $PRICE_FEEDER_DELEGATE_ADDR --from --fees 2000usei -b block -y --chain-id {chain-id}` @@ -45,7 +45,7 @@ make install-price-feeder ``` ## Run Price Feeder -You can run it as a seperate binary but it's reccomedned to run it as a systemd serivce, you can use the following as an example. +You can run it as a seperate binary but it's reccomedned to run it as a systemd service, you can use the following as an example. You need to setup a config.toml file (see [this for example](./config.example.toml)), you need to set the following fields in diff --git a/oracle/price-feeder/config/config.go b/oracle/price-feeder/config/config.go index f1c2a835c0..307430d268 100644 --- a/oracle/price-feeder/config/config.go +++ b/oracle/price-feeder/config/config.go @@ -53,7 +53,7 @@ var ( ProviderMock: {}, } - // maxDeviationThreshold is the maxmimum allowed amount of standard + // maxDeviationThreshold is the maximum allowed amount of standard // deviations which validators are able to set for a given asset. maxDeviationThreshold = sdk.MustNewDecFromStr("3.0") diff --git a/oracle/price-feeder/dockerfile/README.md b/oracle/price-feeder/dockerfile/README.md index ddefbe7ad0..2669324a38 100644 --- a/oracle/price-feeder/dockerfile/README.md +++ b/oracle/price-feeder/dockerfile/README.md @@ -11,7 +11,7 @@ docker build --build-arg VERSION=$VERSION -t price-feeder:latest . ``` ## Create `config.toml` -Edit your `address`, `validator`, `grpc_endpoint`, `tmrpc_endpoint` you may need to modifify your firewall to allow this container to reach your chain-node. See [offical docs](https://docs.kujira.app/validators/run-a-node/oracle-price-feeder) for more details. +Edit your `address`, `validator`, `grpc_endpoint`, `tmrpc_endpoint` you may need to modifify your firewall to allow this container to reach your chain-node. See [official docs](https://docs.kujira.app/validators/run-a-node/oracle-price-feeder) for more details. ```bash sudo tee config.toml <