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

Use DA /put path from spec #12081

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

karlb
Copy link
Contributor

@karlb karlb commented Sep 24, 2024

Description

The OP alt-DA spec mandates using /put and not /put/, so that is what we should do. To ease the migration, the DA server supports both paths for now.

Warning: The changed path in the DA client will break DA solutions that only accept /put/ at the moment. It is recommended that DA solutions support both paths for a while, so that updating OP-stack can happen independently of the exact DA implementation version.

If we want to give other DAs a head start on supporting both paths, we can only merge the first commit now and delay the second commit (but should communicate the upcoming change).

Tests

The existing DA tests should cover this just as well as the previous version. I can modify the tests to run against both paths if desired, but I'm not sure if that isn't too much considering that having both paths active is a temporary measure.

Metadata

In addition to the currently used `/put/` path to ease the migration.
See ethereum-optimism#11499.
The spec mandates using `/put` and not `/put/`, so that is what we
should do.

Warning: This will break DA solutions that only accept `/put/` at the
moment. It is recommended that DA solutions support both paths for a
while, so that updating OP-stack can happen independently of the exact
DA implementation version.

Closes ethereum-optimism#11499.
@karlb karlb marked this pull request as ready for review September 24, 2024 15:07
@karlb karlb requested review from a team as code owners September 24, 2024 15:07
@karlb karlb requested a review from axelKingsley September 24, 2024 15:07
@tynes tynes added this pull request to the merge queue Sep 27, 2024
Merged via the queue into ethereum-optimism:develop with commit a9c7f34 Sep 27, 2024
58 checks passed
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* Accept /put path as described in spec

In addition to the currently used `/put/` path to ease the migration.
See ethereum-optimism#11499.

* alt-DA: write to /put path as described in spec

The spec mandates using `/put` and not `/put/`, so that is what we
should do.

Warning: This will break DA solutions that only accept `/put/` at the
moment. It is recommended that DA solutions support both paths for a
while, so that updating OP-stack can happen independently of the exact
DA implementation version.

Closes ethereum-optimism#11499.
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.

Spec and implementation disagree about URL
2 participants