Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

EIP-4844: Handle data gas in txpool #1029

Merged
merged 8 commits into from
Jun 23, 2023
Merged

EIP-4844: Handle data gas in txpool #1029

merged 8 commits into from
Jun 23, 2023

Conversation

yperbasis
Copy link
Collaborator

@yperbasis yperbasis commented Jun 21, 2023

Reworked bits of PR #850. Only stubs for transaction parsing.

@yperbasis yperbasis changed the title EIP-4844: Add availableDataGas to TxPool best EIP-4844: Handle data gas in txpool Jun 22, 2023
@yperbasis yperbasis marked this pull request as ready for review June 22, 2023 06:21
@yperbasis yperbasis requested a review from racytech June 22, 2023 06:22
@@ -108,6 +108,7 @@ func ParseGetPooledTransactions66(payload []byte, pos int, hashbuf []byte) (requ

// == Pooled transactions ==

// TODO(eip-4844) wrappedWithBlobs = true?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes probably true? (looks like I missed that in my PR)

txpool/pool.go Outdated
}

if intrinsicGas <= availableGas { // check for potential underflow
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: since the above clause continues the else is unnecessary

@yperbasis yperbasis added this pull request to the merge queue Jun 23, 2023
Merged via the queue into main with commit bfe9cca Jun 23, 2023
3 checks passed
@yperbasis yperbasis deleted the blob_txpool branch June 23, 2023 08:59
yperbasis added a commit to erigontech/erigon that referenced this pull request Jun 23, 2023
calmbeing pushed a commit to calmbeing/bsc-erigon-lib that referenced this pull request Jul 10, 2023
Reworked bits of PR ledgerwatch#850. Only stubs for transaction parsing.
calmbeing pushed a commit to calmbeing/bsc-erigon-lib that referenced this pull request Jul 12, 2023
Reworked bits of PR ledgerwatch#850. Only stubs for transaction parsing.
AskAlexSharov pushed a commit that referenced this pull request Sep 6, 2023
Reworked bits of PR #850. Only stubs for transaction parsing.
AskAlexSharov pushed a commit to erigontech/erigon that referenced this pull request Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants