Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eigenda-m0): EigenDA M0 #391

Open
wants to merge 157 commits into
base: main
Choose a base branch
from
Open

feat(eigenda-m0): EigenDA M0 #391

wants to merge 157 commits into from

Conversation

gianbelinche
Copy link

What ❔

Add needed features for Eigen client M0 implementation:

  • Grafana Metrics
  • Client Extraction

It replaces old PR

Why ❔

Extend data availability functionality

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

juan518munoz and others added 30 commits October 31, 2024 17:14
Implement non auth blob dispersal for eigen client

---------

Co-authored-by: Gianbelinche <[email protected]>
feat(eigen-client-extra-features): get inclusion data
* initial commit

* Add tests

* Add memstore

* Add assert to tests

* Add rest of memstore

* Address pr comments

* Remove to retriable error

* Fix conflicts

* Document memstore

* Fix typo

---------

Co-authored-by: Juan Munoz <[email protected]>
blob size limit

---------

Co-authored-by: Gianbelinche <[email protected]>
* initial commit

* Add tests

* Add memstore

* Add assert to tests

* Add rest of memstore

* Add soft confirmations

* Remove print

* Address pr comments

* Remove to retriable error

* Fix conflicts

* Add inclusion data

* Change status query timeout to millis

* Document memstore

* Fix typo

* Fix typo

* Format

---------

Co-authored-by: Juan Munoz <[email protected]>
* initial commit

* Add tests

* Add memstore

* Add assert to tests

* Add rest of memstore

* Address pr comments

* Remove to retriable error

* Fix conflicts

* Add verifier

* Fix verifier

* Add path to points to config

* Fix typo

* Fix eigenda env test

* Fix verifier test

* Move eigendaservicemanager to generated

* Remove unneeded imports

* Document verifier

* Modify errors

* Address comments

* Fix conflicts

---------

Co-authored-by: Juan Munoz <[email protected]>
* initial commit

* move file location

* fix step
#329)

* Remove unused custom quorum numbers

* Add serial to tests
feat(eigen-client-extra-features): fix clippy and add doc
feat(eigen-client-extra-features): merge main
…dule-update

feat(eigen-client-extra-features): update contracts submodule
* Remove kzgpad

* Add empty pad and unpad test
juan518munoz and others added 18 commits February 10, 2025 14:58
…fix-hashes

fix(eigen-client-extra-features): fix hashes
* Update contracts

* Remove validators

* Add comments
…dress (matter-labs#3632)

## What ❔

- Fix `balance` in Avail client
- Improve error handling in `da_dispatcher`'s `poll_for_inclusion`
function
- Update the AvailL1DAValidator for Sepolia

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- The `Why` has to be clear to non-Matter Labs entities running their
own ZK Chain -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Is this a breaking change?
- [ ] Yes
- [x] No

## Operational changes
<!-- Any config changes? Any new flags? Any changes to any scripts? -->
<!-- Please add anything that non-Matter Labs entities running their own
ZK Chain may need to know -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
@gianbelinche gianbelinche changed the base branch from eigen-client-extra-features to main February 20, 2025 18:52
StanislavBreadless and others added 11 commits February 24, 2025 09:54
## What ❔

Do not rely on `zks_confirmedTokens` endpoint

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- The `Why` has to be clear to non-Matter Labs entities running their
own ZK Chain -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Is this a breaking change?
- [ ] Yes
- [ ] No

## Operational changes
<!-- Any config changes? Any new flags? Any changes to any scripts? -->
<!-- Please add anything that non-Matter Labs entities running their own
ZK Chain may need to know -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
## What ❔

Changes `received_at` timestamp assignment for transactions, so that
it's reassigned on persistence.

## Why ❔

This makes ordering by `received_at` timestamp causal (transactions with
an earlier timestamp cannot be added to the DB after transactions with a
later timestamp). Causal ordering is currently required for the pending
transactions filter to work correctly.

## Is this a breaking change?

- [ ] Yes
- [x] No

## Operational changes

None.

## 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 `zkstack dev fmt` and `zkstack dev
lint`.
* Update eigenda client crate

* Add published crate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants