mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: add geth reference for call fee check (#10970)
This commit is contained in:
@ -136,6 +136,7 @@ impl CallFees {
|
||||
RpcInvalidTransactionError::TipAboveFeeCap.into(),
|
||||
)
|
||||
}
|
||||
// ref <https://github.com/ethereum/go-ethereum/blob/0dd173a727dd2d2409b8e401b22e85d20c25b71f/internal/ethapi/transaction_args.go#L446-L446>
|
||||
Ok(min(
|
||||
max_fee,
|
||||
block_base_fee.checked_add(max_priority_fee_per_gas).ok_or_else(|| {
|
||||
|
||||
Reference in New Issue
Block a user