Skip to content
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

Fast adding transaction to pool, without recover address from public key #219

Closed
wants to merge 1 commit into from

Conversation

doutv
Copy link

@doutv doutv commented Dec 27, 2024

Revert some changes made in 0xPolygonHermez#1480

Passkey + EOA, batch size 10, UOPS from 80 -> 130+

Waiting for Polygon's response, I comment in their PR

Revert some changes made in 0xPolygonHermez#1480
@doutv doutv linked an issue Dec 27, 2024 that may be closed by this pull request
@doutv doutv changed the title Fix slow pool transaction Fast adding transaction to pool, without recover address from public key Dec 27, 2024
toRemove = append(toRemove, slot.TxIds[idx])
continue
}
// sender, err := signer.SenderWithContext(cryptoContext, transaction)

Choose a reason for hiding this comment

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

Seams in some case, the tx will error.
We can execute concurrently in advance, before the for loop and remote the tx, then it will have the same function and better safety.

@doutv doutv closed this Jan 13, 2025
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.

Accelerate secp256k1 outside EVM
2 participants