eth-json-rpc-middleware icon indicating copy to clipboard operation
eth-json-rpc-middleware copied to clipboard

fix: remove condition to allow 'cosmos' as valid value for verifyingContract field in typed signatures

Open jpuri opened this issue 5 months ago • 1 comments

We have added code to allow cosmos as valid verifyingContract value for typed signatures. The reason for this is to keep support signature signing on cosmos network.

A lot of cosmos dapps use this deprecated sdk with hard coded value of verifyingContract: https://github.com/evmos/ethermint/blob/main/ethereum/eip712/domain.go#L29

Once users stop using this SDK we can remove this hard coded condition.

Ref: https://github.com/MetaMask/metamask-extension/issues/26980

jpuri avatar Sep 19 '24 14:09 jpuri