diff --git a/samples/constitutions/default/actions.js b/samples/constitutions/default/actions.js index 98f0ed2f7c0..7a41bc0a8e0 100644 --- a/samples/constitutions/default/actions.js +++ b/samples/constitutions/default/actions.js @@ -1049,19 +1049,6 @@ const actions = new Map([ }, ), ], - [ - "add_executor_node_code", - new Action( - function (args) { - checkType(args.executor_code_id, "string", "executor_code_id"); - }, - function (args) { - const codeId = ccf.strToBuf(args.executor_code_id); - const ALLOWED = ccf.jsonCompatibleToBuf("AllowedToExecute"); - ccf.kv["public:ccf.gov.nodes.executor_code_ids"].set(codeId, ALLOWED); - }, - ), - ], [ "add_snp_host_data", new Action( @@ -1254,18 +1241,6 @@ const actions = new Map([ }, ), ], - [ - "remove_executor_node_code", - new Action( - function (args) { - checkType(args.executor_code_id, "string", "executor_code_id"); - }, - function (args) { - const codeId = ccf.strToBuf(args.executor_code_id); - ccf.kv["public:ccf.gov.nodes.executor_code_ids"].delete(codeId); - }, - ), - ], [ "remove_node", new Action(