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:
Alex Jbanca 2024-08-21 08:42:25 +03:00 committed by Alex Jbanca
parent d3131c2bb9
commit 736075b817
3 changed files with 3 additions and 3 deletions

View File

@ -700,7 +700,7 @@ Item {
verify(eip155.hasOwnProperty("methods"))
verify(eip155.methods.length > 0)
verify(eip155.hasOwnProperty("events"))
compare(eip155.events.length, 2)
compare(eip155.events.length, 5)
}
function test_getAccountsInSession() {

View File

@ -68,7 +68,7 @@ function buildSupportedNamespaces(chainIds, addresses, methods) {
"eip155":{
"chains": [${eipChainIds.join(',')}],
"methods": [${methodsStr}],
"events": ["accountsChanged", "chainChanged"],
"events": ["chainChanged","accountsChanged","message","disconnect","connect"],
"accounts": [${eipAddresses.join(',')}]
}
}`

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit a00bf6977b1f0b279e20546df575397c36461339
Subproject commit 2c430568b108b5080852dd60e669b92ac5631865