diff --git a/builder/builder.go b/builder/builder.go index f982f46b..6d4938b4 100644 --- a/builder/builder.go +++ b/builder/builder.go @@ -110,7 +110,7 @@ func (b *Builder) Build(ctx context.Context, payload *Payload) (*monomer.Block, if !payload.NoTxPool { for { // TODO there is risk of losing txs if mempool db fails. - // we need to fix db consistency in general, so we're just panicing on errors for now. + // we need to fix db consistency in general, so we're just panicking on errors for now. length, err := b.mempool.Len() if err != nil { panic(fmt.Errorf("enqueue: %v", err)) diff --git a/cmd/monogen/testapp/app/app_config.go b/cmd/monogen/testapp/app/app_config.go index 7bc42d24..70691b17 100644 --- a/cmd/monogen/testapp/app/app_config.go +++ b/cmd/monogen/testapp/app/app_config.go @@ -124,7 +124,7 @@ var ( Name: stakingtypes.ModuleName, Config: appconfig.WrapAny(&stakingmodulev1.Module{ // NOTE: specifying a prefix is only necessary when using bech32 addresses - // If not specfied, the auth Bech32Prefix appended with "valoper" and "valcons" is used by default + // If not specified, the auth Bech32Prefix appended with "valoper" and "valcons" is used by default Bech32PrefixValidator: AccountAddressPrefix + "valoper", Bech32PrefixConsensus: AccountAddressPrefix + "valcons", }), diff --git a/environment/environment.go b/environment/environment.go index fd16de32..d36fe39c 100644 --- a/environment/environment.go +++ b/environment/environment.go @@ -48,7 +48,7 @@ func (e *Env) DeferErr(errMsg string, fn func() error) { } // Close waits for all functions run with Go to finish. Then, it runs all Defer-ed functions. -// The defered functions are called in reverse order. The Environment must not be used after Close is called. +// The deferred functions are called in reverse order. The Environment must not be used after Close is called. func (e *Env) Close() error { e.wg.Wait() var combinedErr error diff --git a/x/rollup/keeper/deposits.go b/x/rollup/keeper/deposits.go index be01dafc..dd9990a8 100644 --- a/x/rollup/keeper/deposits.go +++ b/x/rollup/keeper/deposits.go @@ -38,7 +38,7 @@ func (k *Keeper) processL1UserDepositTxs( if tx.IsSystemTx() { return nil, errors.New("deposit tx must not be a system tx") } - // if the receipient is nil, it means the tx is creating a contract which we don't support, so return an error. + // if the recipient is nil, it means the tx is creating a contract which we don't support, so return an error. // see https://github.com/ethereum-optimism/op-geth/blob/v1.101301.0-rc.2/core/state_processor.go#L154 if tx.To() == nil { return nil, errors.New("contract creation is not supported")