-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[wip] feat(osaka): convert blobs around transition #19056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Your PR title doesn't follow the Conventional Commit guidelines. Example of valid titles:
Usage:
Breaking Changes Breaking changes are noted by using an exclamation mark. For example:
Help For more information, follow the guidelines here: https://www.conventionalcommits.org/en/v1.0.0/ |
mattsse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in order for this to be reachable we also need to disable the check in validator itself because this currently enforce pre vs post sidecar versions
77b2a0c to
39ef247
Compare
| // collect a vec of transactions that need to be added to the pool | ||
| let (ready_results, to_add): (Vec<_>, Vec<_>) = txs | ||
| .into_iter() | ||
| .map(|(origin, tx)| match tx { | ||
| TransactionValidationOutcome::Valid { | ||
| transaction: | ||
| ValidTransaction::ValidWithSidecar { | ||
| transaction, | ||
| sidecar: | ||
| PoolTransactionSidecar::Eip4844 { sidecar, should_convert: true }, | ||
| }, | ||
| .. | ||
| } => { | ||
| let this = self.clone(); | ||
| let hash = *transaction.hash(); | ||
| tokio::task::spawn(async move { | ||
| let Some(converted) = | ||
| this.pool.blob_sidecar_converter().convert(sidecar).await |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this feels a bit weird because we don't really ensure that we actually add the transaction if I understand this correctly
|
superseded |
No description provided.