chore(relayer): remove intermediary hop logic#21448
Conversation
|
Claude finished @MatusKysel's task in 1m 54s —— View job PR Review: chore(relayer): remove intermediary hop logic
Summary: Clean simplification removing the multi-hop intermediary chain logic (L2A → L1 → L2B style routing). The removal is complete and consistent across all layers — CLI flags, config, processor, and proof generation. Issues Found1.
encodedSignalProof, err := encoding.EncodeHopProofs([]encoding.HopProof{{
...
CacheOption: encoding.CACHE_NOTHING, // always 0, ignores p.cacheOption
...
}})
Minor Observations2. Trivial wrapper in
func (p *Prover) EncodedSignalProof(ctx context.Context, params SignalProofParams) ([]byte, error) {
return p.abiEncodeSignalProof(ctx, params)
}The public function is a single-line passthrough to a private function. With the hop abstraction gone, there's no reason to keep both — just make 3. Stale naming in encoding layer
What's Good
The |
Codecov Report❌ Patch coverage is Additional details and impacted files
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
ac01e7d to
2cf73de
Compare
No description provided.