fix(WalletConnect): Fixing sign for uniswap and paraswap
There are two fixes needed here. 1. Status-go fix for unknown primitive when signing the message 2. Fix for Paraswap pairing failure due to required namespaces mismatch Needs: https://github.com/status-im/status-go/pull/5755
This commit is contained in:
parent
d3131c2bb9
commit
736075b817
|
@ -700,7 +700,7 @@ Item {
|
||||||
verify(eip155.hasOwnProperty("methods"))
|
verify(eip155.hasOwnProperty("methods"))
|
||||||
verify(eip155.methods.length > 0)
|
verify(eip155.methods.length > 0)
|
||||||
verify(eip155.hasOwnProperty("events"))
|
verify(eip155.hasOwnProperty("events"))
|
||||||
compare(eip155.events.length, 2)
|
compare(eip155.events.length, 5)
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_getAccountsInSession() {
|
function test_getAccountsInSession() {
|
||||||
|
|
|
@ -68,7 +68,7 @@ function buildSupportedNamespaces(chainIds, addresses, methods) {
|
||||||
"eip155":{
|
"eip155":{
|
||||||
"chains": [${eipChainIds.join(',')}],
|
"chains": [${eipChainIds.join(',')}],
|
||||||
"methods": [${methodsStr}],
|
"methods": [${methodsStr}],
|
||||||
"events": ["accountsChanged", "chainChanged"],
|
"events": ["chainChanged","accountsChanged","message","disconnect","connect"],
|
||||||
"accounts": [${eipAddresses.join(',')}]
|
"accounts": [${eipAddresses.join(',')}]
|
||||||
}
|
}
|
||||||
}`
|
}`
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a00bf6977b1f0b279e20546df575397c36461339
|
Subproject commit 2c430568b108b5080852dd60e669b92ac5631865
|
Loading…
Reference in New Issue