Skip to content

Update ERC-8211 canonicalization from merkle to composable#27

Merged
GsCommand merged 1 commit into
mainfrom
claude/wonderful-brown-w1WGC
May 22, 2026
Merged

Update ERC-8211 canonicalization from merkle to composable#27
GsCommand merged 1 commit into
mainfrom
claude/wonderful-brown-w1WGC

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Summary

This PR updates the ERC-8211 canonicalization method from "erc8211.merkle.v1" to "erc8211.composable.v1" and adjusts the verification logic to defer Merkle authorization verification pending the companion Merkle authorization ERC specification.

Key Changes

  • Updated the default allowed canonicalization method from "erc8211.merkle.v1" to "erc8211.composable.v1" in the verification options
  • Changed the canonicalization check to recognize "erc8211.composable.v1" instead of "erc8211.merkle.v1"
  • Replaced the error code ERR_UNSUPPORTED_MERKLE_VERIFICATION with ERR_MERKLE_AUTHORIZATION_DEFERRED to better reflect that Merkle authorization verification is intentionally deferred rather than unsupported
  • Added clarifying comments explaining that ERC-8211 composable execution canonicalization is recognized, but Merkle authorization verification is deferred pending the companion specification
  • Updated corresponding test case to verify the new canonicalization method and error code

Implementation Details

The change maintains backward compatibility in the verification flow while updating the canonical method identifier. The error handling now explicitly indicates that Merkle authorization verification is deferred rather than unsupported, which better communicates the intended behavior as the ERC-8211 specification evolves.

https://claude.ai/code/session_01HQCtc5GNqzudgSrLxJby5H

- Replace ERR_UNSUPPORTED_MERKLE_VERIFICATION with ERR_MERKLE_AUTHORIZATION_DEFERRED
- Add comment: ERC-8211 composable execution canonicalization recognized;
  Merkle authorization verification is deferred pending companion ERC
- Update test: canonicalization string, error code, and test description
@GsCommand GsCommand merged commit b34235e into main May 22, 2026
3 checks passed
@GsCommand GsCommand deleted the claude/wonderful-brown-w1WGC branch May 24, 2026 18:58
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.

1 participant