Open jpuri opened 2 months ago
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.
cosmos
verifyingContract
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
Perhaps contract verification can be toggled/configured via a constructor parameter in a way that could make this transition non-breaking?
We have added code to allow
cosmos
as validverifyingContract
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#L29Once users stop using this SDK we can remove this hard coded condition.
Ref: https://github.com/MetaMask/metamask-extension/issues/26980