From f0bd227f0bd42fa461a305737e83633a23531117 Mon Sep 17 00:00:00 2001 From: josh crites Date: Mon, 26 Aug 2024 09:04:31 -0400 Subject: [PATCH] update entrypoint details --- docs/docs/aztec/concepts/accounts/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/aztec/concepts/accounts/index.md b/docs/docs/aztec/concepts/accounts/index.md index f8fd5c16f29..538b3d4cea6 100644 --- a/docs/docs/aztec/concepts/accounts/index.md +++ b/docs/docs/aztec/concepts/accounts/index.md @@ -106,7 +106,10 @@ As an example, we can think of a lottery contract, where at some point a prize n Notice that the Signerless wallet doesn't invoke an entrypoint function of an account contract but instead invokes the target contract function directly. :::info -In case no contract entrypoint is used `msg_sender` is set to 0. +Entrypoints for the following cases: +- if no contract entrypoint is used `msg_sender` is set to `Field.max`. +- in a private to public entrypoint, `msg_sender` is the contract making the private to public call +- when calling the entrypoint on an account contract, `msg_sender` is set to the account contract address ::: ### Account initialization