# DA Integration Tests
2 tasks spawned in the outer node
- **Prove Current Block**: Stores the state diff as calldata in the DB. Runs SNOS if validity mode is selected.
- **Update State**: Verify last published state. Publish state diff on DA layer.
## What should be tested
In CI we should use matrix with each da layer.
For each DA layer we want the following test suite:
- Run a local node of the corresponding DA layer
- Run a local madara node
- Perform some txs (gomu gomu?)
- `last_published_state`
This implies that we have specific test configs.
## Open Questions
- Should we have a mode where the chain's state is synced from the DA layer in the same fashion as "Sync from L1" ?
### Related Discussion
**Sovereign**
https://github.com/Sovereign-Labs/sovereign-sdk/blob/6ac3fdfe057219f61d81dd191701cae6111acd87/rollup-interface/specs/interfaces/da.md?plain=1#L176
https://mirror.xyz/sovlabs.eth/Hwe-6x6MTUjvpuTuuwIoN2E8lgpg1euDnn_vZgwoH0Y
**Validium**
https://twitter.com/bkiepuszewski/status/1481173682219270146