gasp-xyz / gasp-monorepo

Repository with the whole infrastrucure needed to integrate with Eigen Layer
14 stars 11 forks source link

FEAT/MGX-1407/Withdrawals tracing #280

Closed olgakonsta closed 3 weeks ago

olgakonsta commented 3 weeks ago

Link to ticket here When stash is started it will start looking for withdrawals to trace. When stash is restarted it will continue with tracing where it stopped. Change of statuses will happen automatically when the event is emitted on L1/L2. Statuses: L2_INITIATED - WithdrawalRequestCreated event emitted on L2 - this is trigger for stash to start tracing the transaction. L2_CONFIRMED - TxBatchCreated event emitted on L2 L1_PROCESSED - WithdrawalClosed/FerriedWithdrawalClosed

Tests for logic added.