Uniswap / Uniswap/interface

personal_sign params are inverted with respect to ether.js

Open
#7,745 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

In ether.js, personal_signhas payload and address params in this order
https://github.com/ethers-io/ethers.js/blob/fc66b8ad405df9e703d42a4b23bc452ec3be118f/src.ts/providers/provider-jsonrpc.ts#L435

In uniswap, we should invert params ? So we need to be specific for this wallet in DApps.

Why this difference please ?
Is it a mistake ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the personal_sign parameter order described in ethers.js provider-jsonrpc.ts at line 435 with Uniswap's current handling. The issue does not identify the Uniswap entry point or tests; completion requires determining the intended order and documenting or implementing the wallet-specific behavior after that decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, typescript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.