From c6747b579a8e9f8e7f347c52fbe4381e04ba8ee7 Mon Sep 17 00:00:00 2001 From: Maksym Arutyunyan Date: Mon, 11 Dec 2023 11:29:09 +0000 Subject: [PATCH 1/4] allow start --- spec/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/index.md b/spec/index.md index 8affa1046..69ae1d6de 100644 --- a/spec/index.md +++ b/spec/index.md @@ -6470,7 +6470,6 @@ The pseudo-code below does *not* explicitly enforce the restrictions of which im Trap {cycles_used = es.cycles_used;} ic0.in_replicated_execution() : i32 = - if es.context = s then Trap {cycles_used = es.cycles_used;} if es.params.sysenv.certificate = NoCertificate then return 1 else return 0 From 0868cf39a760340c981a3a9415cca12f004bb5d6 Mon Sep 17 00:00:00 2001 From: Maksym Arutyunyan Date: Mon, 11 Dec 2023 11:45:54 +0000 Subject: [PATCH 2/4] * s --- spec/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/index.md b/spec/index.md index 69ae1d6de..add56e374 100644 --- a/spec/index.md +++ b/spec/index.md @@ -1344,7 +1344,7 @@ The following sections describe various System API functions, also referred to a ic0.global_timer_set : (timestamp : i64) -> i64; // I G U Ry Rt C T ic0.performance_counter : (counter_type : i32) -> (counter : i64); // * s ic0.is_controller: (src: i32, size: i32) -> ( result: i32); // * s - ic0.in_replicated_execution: () -> (result: i32); // * + ic0.in_replicated_execution: () -> (result: i32); // * s ic0.debug_print : (src : i32, size : i32) -> (); // * s ic0.trap : (src : i32, size : i32) -> (); // * s From 5152ce1e772ea69a897cf5eb319773d52d126d81 Mon Sep 17 00:00:00 2001 From: Maksym Arutyunyan Date: Mon, 11 Dec 2023 14:47:54 +0000 Subject: [PATCH 3/4] update change log --- spec/_attachments/interface-spec-changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/_attachments/interface-spec-changelog.md b/spec/_attachments/interface-spec-changelog.md index 6927f9dc2..233886c44 100644 --- a/spec/_attachments/interface-spec-changelog.md +++ b/spec/_attachments/interface-spec-changelog.md @@ -7,6 +7,7 @@ * The IC sends a `user-agent` header with the value `ic/1.0` in canister HTTPS outcalls if the canister does not provide one. * Add a management canister method for retrieving node metrics. * Specify the resource reservation mechanism. +* Allow `in_replicated_execution` system API method to be executed during `canister_start` ### 0.22.0 (2023-11-15) {#0_22_0} * Add metrics on subnet usage into the certified state tree and a new HTTP endpoint `/api/v2/subnet//read_state` for retrieving them. From 0f2c9af969527bff05d217e036a3cb8810bb987c Mon Sep 17 00:00:00 2001 From: Maksym Arutyunyan Date: Mon, 11 Dec 2023 14:53:59 +0000 Subject: [PATCH 4/4] typo --- spec/_attachments/interface-spec-changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/_attachments/interface-spec-changelog.md b/spec/_attachments/interface-spec-changelog.md index 233886c44..e06bccd6a 100644 --- a/spec/_attachments/interface-spec-changelog.md +++ b/spec/_attachments/interface-spec-changelog.md @@ -7,7 +7,7 @@ * The IC sends a `user-agent` header with the value `ic/1.0` in canister HTTPS outcalls if the canister does not provide one. * Add a management canister method for retrieving node metrics. * Specify the resource reservation mechanism. -* Allow `in_replicated_execution` system API method to be executed during `canister_start` +* Allow `in_replicated_execution` system API method to be executed during `canister_start`. ### 0.22.0 (2023-11-15) {#0_22_0} * Add metrics on subnet usage into the certified state tree and a new HTTP endpoint `/api/v2/subnet//read_state` for retrieving them.