From db8a76e29f3fe89d11a2b272a5963a13fed942cc Mon Sep 17 00:00:00 2001 From: Gav Date: Wed, 30 Aug 2023 18:01:20 +0200 Subject: [PATCH] Tweaks --- text/coreplay.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/coreplay.md b/text/coreplay.md index 6093712..afb8604 100644 --- a/text/coreplay.md +++ b/text/coreplay.md @@ -109,7 +109,7 @@ This document proposes a new kind of Task (rather than the Para-Task), the Actor AVF code blobs: - include metadata describing format and platform (WebAssembly and RISKV are both reasonable formats). - have two required entry-points: - - `fn service()` + - `async fn main(args: Vec)` - `fn call(origin: Option, data: Vec) -> Result, ()>` - have two recommended inspector entry-points, used by Actor-Sequencers. - `fn payout(now: RelayChainBlockNumber) -> RelayChainBalance` @@ -123,7 +123,7 @@ struct AgendaItem { entry: Invocation, } enum Invocation { - Service, + Service { times: u32 }, Call { in: Vec, out: Vec }, } struct Slab {