Skip to content

Commit

Permalink
Fixed eip 1599 to 1559
Browse files Browse the repository at this point in the history
  • Loading branch information
mininny committed Oct 15, 2024
1 parent 9cf8675 commit 099c714
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion consensus/misc/eip1559.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (f eip1559Calculator) CurrentFees(chainConfig *chain.Config, db kv.Getter)
return baseFee, blobFee, minBlobGasPrice, currentHeader.GasLimit, nil
}

// DecodeHolocene1599Params extracts the Holcene 1599 parameters from the encoded form:
// DecodeHolocene1559Params extracts the Holcene 1559 parameters from the encoded form:
// https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/holocene/exec-engine.md#eip1559params-encoding
func DecodeHolocene1559Params(params types.BlockNonce) (uint64, uint64) {
elasticity := binary.BigEndian.Uint32(params[4:])
Expand Down
12 changes: 6 additions & 6 deletions erigon-lib/gointerfaces/execution/execution.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion turbo/execution/eth1/block_building.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (e *EthereumExecutionModule) AssembleBlock(ctx context.Context, req *execut
Transactions: req.Transactions,
NoTxPool: req.NoTxPool,
GasLimit: req.GasLimit,
EIP1559Params: req.Eip_1599Params,
EIP1559Params: req.Eip_1559Params,
}

if err := e.checkWithdrawalsPresence(param.Timestamp, param.Withdrawals); err != nil {
Expand Down

0 comments on commit 099c714

Please sign in to comment.