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

Create codec mod #22

Merged
merged 11 commits into from
Jan 3, 2025
Merged

Create codec mod #22

merged 11 commits into from
Jan 3, 2025

Conversation

bxue-l2
Copy link
Collaborator

@bxue-l2 bxue-l2 commented Jan 3, 2025

This PR pull encode and decode into its own file

This PR depends on Layr-Labs/eigenda-proxy#223

The da-server image now depends on image: ghcr.io/layr-labs/eigenda-proxy:main

@bxue-l2 bxue-l2 requested a review from samlaf January 3, 2025 08:12
.gitignore Show resolved Hide resolved
crates/eigenda/src/codec.rs Outdated Show resolved Hide resolved
crates/eigenda/src/codec.rs Outdated Show resolved Hide resolved
crates/eigenda/src/codec.rs Outdated Show resolved Hide resolved
crates/eigenda/src/codec.rs Outdated Show resolved Hide resolved
crates/eigenda/src/eigenda_data.rs Outdated Show resolved Hide resolved
crates/eigenda/src/codec.rs Outdated Show resolved Hide resolved
@bxue-l2
Copy link
Collaborator Author

bxue-l2 commented Jan 3, 2025

Now use eigenda-proxy:main that has fixed the bug

@samlaf another fix is that we don't require the encoded data from the struct EigenDABlobData to be power of 2.

@bxue-l2 bxue-l2 requested a review from samlaf January 3, 2025 22:27
Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after you fix the proxy version in the patch

@@ -18,7 +18,7 @@ index adcaea8f4..5c5e2e8ee 100644
- --port=3100
- --log.level=debug
- --generic-commitment="${ALTDA_GENERIC_DA}"
+ image: ghcr.io/layr-labs/eigenda-proxy:v1.6.1
+ image: ghcr.io/layr-labs/eigenda-proxy:main
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use main. pin to specific version for better reproducibility. Can also add a TODO comment to change to 1.6.2 after we release it. And describe why we need this (for the fix: link to your PR)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added todo, will keep to main for the moment

@bxue-l2 bxue-l2 merged commit 9cce574 into master Jan 3, 2025
5 checks passed
@bxue-l2 bxue-l2 deleted the create-codec-mod branch January 3, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants