zksync-era
zksync-era copied to clipboard
feat: Implement gas relay mode and inclusion data for data attestation
What ❔
This PR adds gas relay API support for gasless submission to the Avail network, it also provides the attestation implementation necessary for data attestation.
Why ❔
Gas relay API support is required for Avail partners that choose to pay in a different token. Data attestation ensures that arbitrary tx data cannot be used for rollup finality and that no data withholding attack can occur.
Checklist
- [X] PR title corresponds to the body of PR (we generate changelog entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [X] Documentation comments have been added / updated.
- [X] Code has been formatted via
zk fmtandzk lint.