optimism
optimism copied to clipboard
Spec and implementation disagree about URL
The OP alt-DA spec requires
Request:
POST /put
Content-Type: application/octet-stream
Body: <preimage_bytes>
Response:
200 OK
Content-Type: application/octet-stream
Body: <hex_encoded_commitment>
But the implementation only listens at the URL /put/ (with trailing slash). Should the implementation change or the spec?
This is a good catch. I lean towards saying the spec is correct and updating the implementation to handle either /put or /put/