-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support Zircuit fraud transactions and zk overflow detection #14629
Support Zircuit fraud transactions and zk overflow detection #14629
Conversation
…n, need dedup and unit test
@@ -1,5 +1,5 @@ | |||
ChainID = '48900' | |||
ChainType = 'optimismBedrock' | |||
ChainType = 'zircuit' |
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.
Can you also add that for the Sepolia defaults?
There are a few more places I think we need to add the new Zircuit chain type
|
for i, req := range txReqs { | ||
txHash := req.Args[0].(common.Hash) | ||
if req.Error != nil { | ||
d.lggr.Debugf("failed to check fraud transaction by hash (%s): %v", txHash.String(), req.Error) |
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.
I don't have any context on the use case for this feature, but... if the node is unable to verify whether transactions are fraudulent, shouldn't it flag an error, or at least warn about it? (Rather than just logging at level="debug"?)
…overflow-detection
Quality Gate passedIssues Measures |
Description
Zircuit has a unique validation that can cause transactions to get stuck in the mempool due to their Sequencer Layer Security (SLS). The chain has provided a custom endpoint zirc_isQuarantined to detect if any transactions have been quarantined for fraud.
Separately, ZK overflows will also be eventually possible so we should use the already built heuristic to detect overflows for when they are introduced.
Acceptance Criteria
The TXM can identify transactions stuck due to fraud detection and purge them with empty transactions
The TXM can identify overflow transactions using the heuristic and purge them with empty transactions
Tickets:
BCFR-974