Open zwilling opened 1 week ago
I am experiencing a similar issue, when I include the following configuration in my Snap manifest:
"endowment:lifecycle-hooks": {
"maxRequestTime": 18000
},
I encounter an error during the installation process: Error#95: Permissions for target "endowment: lifecycle-hooks" may not have caveats of type "maxRequestTime".
@zwilling The Simulator definitely needs to be updated, there is just a few breaking changes that need to land before then. Once https://github.com/MetaMask/snaps/pull/2409 is merged, we should be able to cut a new release of the simulator and fix this problem 👍
Hello,
While trying to verify an updated manifest in https://metamask.github.io/snaps/snaps-simulator/latest/#/manifest , the simulator rejects our permissions with the error message
This seems wrong because the documentation suggests that this field accepts numbers: https://docs.metamask.io/snaps/reference/permissions/#snap-defined-timeouts
To reproduce it, you can
0.7.3
.It looks like the error was already reported for snaps-cli in https://github.com/MetaMask/snaps/issues/2290 and has been fixed in https://github.com/MetaMask/snaps/pull/2291 . The latest npm release of the snaps-simulator is older than the fix.
Could it be that the simulator just needs to be rebuild and redeployed with the updated dependencies?