Skip to content
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 builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion cmd/monogen/testapp/app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}),
Expand Down
2 changes: 1 addition & 1 deletion environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion x/rollup/keeper/deposits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down