After upgrading @metamask/snaps-cli from 0.27.1 to 0.31.0 I get this error when trying to install/connect to the snap (using Flask 10.26.1):
{
"code": -32603,
"message": "Failed to fetch Snap \"local:http://localhost:7070/\": Invalid Snap manifest: manifest shasum does not match computed shasum..",
"data": {
"originalError": {}
}
}
No errors are given building using snaps-cli and the manifest looks like this:
{
"version": "0.2.0",
"description": "Snap using threshold signatures to sign messages and transactions.",
"proposedName": "Threshold Signatures",
"repository": {
"type": "git",
"url": "https://github.com/LavaMoat/tss-snap"
},
"source": {
"shasum": "6eELF6Z5UV8ypUeI9P9HadxswDp4BUCi00nGSDg+CkE=",
"location": {
"npm": {
"filePath": "bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@lavamoat/tss-snap",
"registry": "https://registry.npmjs.org/"
}
}
},
"initialPermissions": {
"snap_manageState": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
}
},
"manifestVersion": "0.1"
}
I tried removing the snap first and that didn't help.
Any ideas what I need to do to get this working again please?
For now I will downgrade.
After upgrading
@metamask/snaps-clifrom0.27.1to0.31.0I get this error when trying to install/connect to the snap (using Flask 10.26.1):No errors are given building using
snaps-cliand the manifest looks like this:{ "version": "0.2.0", "description": "Snap using threshold signatures to sign messages and transactions.", "proposedName": "Threshold Signatures", "repository": { "type": "git", "url": "https://github.com/LavaMoat/tss-snap" }, "source": { "shasum": "6eELF6Z5UV8ypUeI9P9HadxswDp4BUCi00nGSDg+CkE=", "location": { "npm": { "filePath": "bundle.js", "iconPath": "images/icon.svg", "packageName": "@lavamoat/tss-snap", "registry": "https://registry.npmjs.org/" } } }, "initialPermissions": { "snap_manageState": {}, "endowment:rpc": { "dapps": true, "snaps": false } }, "manifestVersion": "0.1" }I tried removing the snap first and that didn't help.
Any ideas what I need to do to get this working again please?
For now I will downgrade.