Skip to content

fix(api): remove strict 130-char signature length regex to support EIP-1271 smart account signatures (#8008) - #8049

Open
TanmayDagur wants to merge 1 commit into
Uniswap:mainfrom
TanmayDagur:fix/eip1271-signature-validation
Open

fix(api): remove strict 130-char signature length regex to support EIP-1271 smart account signatures (#8008)#8049
TanmayDagur wants to merge 1 commit into
Uniswap:mainfrom
TanmayDagur:fix/eip1271-signature-validation

Conversation

@TanmayDagur

Copy link
Copy Markdown

📝 Overview & Problem

This PR resolves Issue #8008, where users leveraging Smart Contract Wallets (e.g., Safe, Ambire, Argent, Biconomy) encounter client-side and OpenAPI schema validation errors when signing transaction steps or placing Limit Orders/UniswapX trades:

{
    "detail": "\"signature\" with value \"0xf0640...\" fails to match the required pattern: /^0x[0-9,a-z,A-Z]{130}$/",
    "errorCode": "VALIDATION_ERROR"
}

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.

[Bug] Signatures > 130 length are treated as invalid

1 participant