Skip to content

Conversation

@rjl493456442
Copy link
Member

This PR removes the legacy sidecar conversion logic.

After the Osaka fork, the blobpool will accept only blob sidecar version 1.
Any remaining version 0 blob transactions, if they still exist, will no longer
be eligible for inclusion.

Note that conversion at the RPC layer is still supported, and version 0 blob
transactions will be automatically converted to version 1 there.

// preCheck performs the static validation upon the provided tx.
//
// This function is pure static and lock free.
func (p *BlobPool) preCheck(tx *types.Transaction) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we want to keep this function? Inside of ValidateTransaction we are already checking whether we have entered osaka. Could we integrate it there or is there a specific reason to keep this function ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants