yetanotherco / aligned_layer

Aligned is a verification layer for zero-knowledge proofs using EigenLayer. Our mission is to accelerate the adoption of zero-knowledge and validity proofs on Ethereum.
https://alignedlayer.com/
MIT License
146 stars 342 forks source link

fix: nil dereference on aggregator retries #1441

Closed Oppen closed 5 days ago

Oppen commented 5 days ago

fix: nil dereference on aggregator

SendAggregatedResponse would overwrite tx, which in the error case sets it to nil, causing the retry to dereference nil.

This fix consists on using separate variables for the simulated tx and the real one.

Type of change

Checklist