Skip to content

Commit

Permalink
Add note about boxes and MBR.
Browse files Browse the repository at this point in the history
  • Loading branch information
jannotti committed Dec 4, 2023
1 parent f7624c7 commit ba9abf9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/transactions/logic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,12 @@ Account fields used in the `acct_params_get` opcode.

### Box Access

Box opcodes that create, delete, or resize boxes affect the minimum
balance requirement of the calling application's account. The change
is immediate, and can be observed after exection by using
`min_balance`. If the account does not possess the new minimum
balance, the opcode fails.

All box related opcodes fail immediately if used in a
ClearStateProgram. This behavior is meant to discourage Smart Contract
authors from depending upon the availability of boxes in a ClearState
Expand Down
6 changes: 6 additions & 0 deletions data/transactions/logic/README_in.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@ Account fields used in the `acct_params_get` opcode.

### Box Access

Box opcodes that create, delete, or resize boxes affect the minimum
balance requirement of the calling application's account. The change
is immediate, and can be observed after exection by using
`min_balance`. If the account does not possess the new minimum
balance, the opcode fails.

All box related opcodes fail immediately if used in a
ClearStateProgram. This behavior is meant to discourage Smart Contract
authors from depending upon the availability of boxes in a ClearState
Expand Down

0 comments on commit ba9abf9

Please sign in to comment.