Skip to content

Commit abc54f7

Browse files
Merge pull request #50 from algorandskiy/pavel/extra-pages
ExtraProgramPages is used in apps update
2 parents 65b4ab3 + a91273c commit abc54f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/ledger.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ parameters_, which can be encoded as a msgpack struct:
362362
lengths of `ApprovalProgram` and `ClearStateProgram` may not exceed
363363
2048*(1+`ExtraProgramPages`) bytes. This field is encoded with
364364
msgpack field `epp` and may not exceed 3.
365+
This `ExtraProgramPages` field is taken into account on application update as well.
365366

366367
- The "global state" (`GlobalState`) associated with this application, stored as
367368
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:
426427
`28500 * schema.NumUint + 50000 * schema.NumByteSlice` microalgos.
427428

428429
When creating an application, there is a base minimum balance increase
429-
of 100000 microalgos. There is an additional minimum blance increase
430+
of 100000 microalgos. There is an additional minimum balance increase
430431
of `100000 * ExtraProgramPages` microalgos. Finally, there is an
431432
additional minimum balance increase based on the `GlobalStateSchema`
432433
for that application, described by the following formula:

0 commit comments

Comments
 (0)