Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Aug 8, 2024
1 parent 098243a commit 868200d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ func (st *StateTransition) getTreasuryAddress() common.Address {
)
}

// DecodeOntakeExtraData decodes an ontake block's extradata, returns basefeeSharingPctg configurations.
// DecodeOntakeExtraData decodes an ontake block's extradata, returns basefeeSharingPctg configurations,
// the corresponding enocding function in protocol is `LibProposing._encodeGasConfigs`.
func DecodeOntakeExtraData(extradata []byte) uint8 {
return uint8(new(big.Int).SetBytes(extradata).Uint64())
}

0 comments on commit 868200d

Please sign in to comment.