Skip to content

Commit

Permalink
Update stale comments
Browse files Browse the repository at this point in the history
  • Loading branch information
natebeauregard committed Aug 21, 2024
1 parent a3a07be commit 0b2e473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/rollup/keeper/deposits.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (k *Keeper) setL1BlockHistory(ctx context.Context, info *derive.L1BlockInfo
return nil
}

// processL1AttributesTx processes the L1 Attributes deposit tx and returns the L1 block info.
// processL1AttributesTx processes the L1 Attributes tx and returns the L1 block info.
func (k *Keeper) processL1AttributesTx(ctx sdk.Context, txBytes []byte) (*derive.L1BlockInfo, error) { //nolint:gocritic // hugeParam
var tx ethtypes.Transaction
if err := tx.UnmarshalBinary(txBytes); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion x/rollup/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (k *Keeper) ApplyL1Txs(goCtx context.Context, msg *types.MsgApplyL1Txs) (*t

ctx.Logger().Debug("Processing L1 txs", "txCount", len(msg.TxBytes))

// process L1 system deposit tx and get L1 block info
// process L1 attributes tx and get L1 block info
l1blockInfo, err := k.processL1AttributesTx(ctx, msg.TxBytes[0])
if err != nil {
ctx.Logger().Error("Failed to process L1 system deposit tx", "err", err)
Expand Down

0 comments on commit 0b2e473

Please sign in to comment.