From 12552d68c15f407780bc70ddf83ef5b125bce23d Mon Sep 17 00:00:00 2001 From: ioBanker <37595908+ioBanker@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:18:02 +0300 Subject: [PATCH 1/2] FIXING BUG RUNNING CODE: Disabling a cyclic dependency used for custom authority in the backend Disabling a cyclic dependency for custom authority since feature is disabled in the backend. --- packages/serializer/src/operations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/serializer/src/operations.js b/packages/serializer/src/operations.js index 7c5236a..69054bb 100644 --- a/packages/serializer/src/operations.js +++ b/packages/serializer/src/operations.js @@ -1442,8 +1442,8 @@ export const restriction = new Serializer("restriction", { set(protocol_id_type("vesting_balance")), set(protocol_id_type("worker")), set(protocol_id_type("balance")), - array(restriction), - array(array(restriction)), +// array(restriction), +// array(array(restriction)), // fixme: pair> ]), extensions: set(future_extensions), From 83b7648bec409480ccea48db19e0018fe46dd436 Mon Sep 17 00:00:00 2001 From: ioBanker <37595908+ioBanker@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:25:05 +0300 Subject: [PATCH 2/2] Update operations.js --- packages/serializer/src/operations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/serializer/src/operations.js b/packages/serializer/src/operations.js index 69054bb..6afb54c 100644 --- a/packages/serializer/src/operations.js +++ b/packages/serializer/src/operations.js @@ -1442,8 +1442,8 @@ export const restriction = new Serializer("restriction", { set(protocol_id_type("vesting_balance")), set(protocol_id_type("worker")), set(protocol_id_type("balance")), -// array(restriction), -// array(array(restriction)), + // array(restriction), + // array(array(restriction)), // fixme: pair> ]), extensions: set(future_extensions),