fix(deps)!: Update avm to 0.62 (#438)

* Update avm

* Update nox image

* Fix lint

* Bump marine

* fix lint

* update tag
This commit is contained in:
Akim
2024-02-24 01:37:00 +07:00
committed by GitHub
parent 3b1371f968
commit 702ad605a8
12 changed files with 48 additions and 103 deletions

View File

@@ -32,7 +32,7 @@
"dependencies": {
"@chainsafe/libp2p-noise": "14.0.0",
"@chainsafe/libp2p-yamux": "6.0.1",
"@fluencelabs/avm": "0.59.0",
"@fluencelabs/avm": "0.62.0",
"@fluencelabs/interfaces": "workspace:*",
"@fluencelabs/js-client-isomorphic": "workspace:*",
"@fluencelabs/marine-worker": "0.5.1",

View File

@@ -515,6 +515,15 @@ export abstract class FluencePeer {
item.callResults,
);
const [, , , forthParam] = args;
if (
typeof forthParam === "object" &&
"hard_limit_enabled" in forthParam
) {
forthParam["hard_limit_enabled"] = false;
}
let avmCallResult: InterpreterResult | Error;
try {

View File

@@ -55,7 +55,7 @@ export const allowServiceFn = (
*/
export const allowExactJsonPath = (jsonPath: string): SecurityGuard => {
return allowTetraplet((t) => {
return t.json_path === jsonPath;
return t.lens === jsonPath;
});
};

View File

@@ -221,7 +221,7 @@ export const makeTestTetraplet = (
peer_pk: initPeerId,
function_name: fnName,
service_id: serviceId,
json_path: "",
lens: "",
},
],
],