Skip to content

Add traceability to rollup deposit source #1402

@joroshiba

Description

@joroshiba

Currently the deposit events created have no information about deposit source, this poses an issue for tracing if your deposit has landed without simply monitoring the account balance. It additionally creates an issue in the EVM where all deposit txs of the same value to the same account for the same asset create the same tx hash, which is again subpar for monitoring.

In order to fix this we should propogate the tx hash source through the deposit, similar to how on rollup withdrawals we track the withdrawal event id.

To do this we need to update the proto Deposit to include a string source_transaction_hash field, as well as updatess to the astria-core types and filling in during deposit creation.

After this is done as a follow up changes should be made to astria-geth to consume the new information as a part of the deposit tx.

┆Issue Number: ENG-744

Metadata

Metadata

Assignees

Labels

protopertaining to the Astria Protobuf specsequencerpertaining to the astria-sequencer crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions