From a91273cb97572969979b2d1c39769f57cefa5559 Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Thu, 5 Aug 2021 15:16:56 -0400 Subject: [PATCH] ExtraProgramPages is used in apps update --- dev/ledger.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/ledger.md b/dev/ledger.md index ad92033..4701d46 100644 --- a/dev/ledger.md +++ b/dev/ledger.md @@ -362,6 +362,7 @@ parameters_, which can be encoded as a msgpack struct: lengths of `ApprovalProgram` and `ClearStateProgram` may not exceed 2048*(1+`ExtraProgramPages`) bytes. This field is encoded with msgpack field `epp` and may not exceed 3. + This `ExtraProgramPages` field is taken into account on application update as well. - The "global state" (`GlobalState`) associated with this application, stored as a [TEAL Key/Value Store][TEAL Key/Value Stores]. This field is encoded with @@ -426,7 +427,7 @@ the `LocalStateSchema` for that application, described by following formula: `28500 * schema.NumUint + 50000 * schema.NumByteSlice` microalgos. When creating an application, there is a base minimum balance increase -of 100000 microalgos. There is an additional minimum blance increase +of 100000 microalgos. There is an additional minimum balance increase of `100000 * ExtraProgramPages` microalgos. Finally, there is an additional minimum balance increase based on the `GlobalStateSchema` for that application, described by the following formula: