Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for block incentives and v11 opcodes #106

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

jannotti
Copy link
Contributor

@jannotti jannotti commented Dec 19, 2024

This adds explanations for block incentive payouts, heartbeat transactions, logicsig pooling and AVM v11 opcodes.

@jannotti jannotti force-pushed the algorand-v4 branch 3 times, most recently from 51a338d to 1781094 Compare December 19, 2024 18:04
dev/TEAL_opcodes.md Outdated Show resolved Hide resolved
dev/ledger.md Outdated Show resolved Hide resolved
dev/ledger.md Outdated Show resolved Hide resolved
nullun
nullun previously approved these changes Dec 19, 2024
Copy link

@nullun nullun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All understood and clear to me.

johnalanwoods
johnalanwoods previously approved these changes Dec 19, 2024
Copy link
Member

@johnalanwoods johnalanwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jannotti jannotti dismissed stale reviews from johnalanwoods and nullun via 4a10f6f December 19, 2024 20:44
dev/TEAL.md Outdated Show resolved Hide resolved
@giuliop giuliop marked this pull request as ready for review December 19, 2024 22:56
@giuliop giuliop merged commit 236dcc1 into algorandfoundation:master Dec 19, 2024
1 check passed
Copy link
Contributor

@cusma cusma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The only comments are about: missing FeeSink behavior in case of insufficient funds for the payout, a better specification of the units used in the descriptions of some fields/opcodes (as-in: microlgos should be used instead of algos), and some minor typos.

dev/TEAL.md Show resolved Hide resolved
dev/TEAL.md Show resolved Hide resolved
@@ -470,6 +470,11 @@ Fields
| 15 | AssetCreateMinBalance | uint64 | v10 | The additional minimum balance required to create (and opt-in to) an asset. |
| 16 | AssetOptInMinBalance | uint64 | v10 | The additional minimum balance required to opt-in to an asset. |
| 17 | GenesisHash | [32]byte | v10 | The Genesis Hash for the network. |
| 18 | PayoutsEnabled | bool | v11 | Whether block proposal payouts are enabled. |
| 19 | PayoutsGoOnlineFee | uint64 | v11 | The fee required in a keyreg transaction to make an account incentive eligible. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we specify this number is in microalgos?

Comment on lines +476 to +477
| 21 | PayoutsMinBalance | uint64 | v11 | The minimum algo balance an account must have in the agreement round to receive block payouts in the proposal round. |
| 22 | PayoutsMaxBalance | uint64 | v11 | The maximum algo balance an account can have in the agreement round to receive block payouts in the proposal round. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before, I think it would be better to point out the min/max are expressed in microalgos (unless I'm missing something).

dev/ledger.md Show resolved Hide resolved
Comment on lines +596 to +597
Participation updates contains a two list of addressess of accounts
for which changes are made to their particpation status.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typos: addressess (LOC 596) and particpation (LOC 597)


The second contains accounts that have been deemed to be
_suspended_. An account is said to be suspended according to the rules
specified above for _suspended particpation accounts_ list. Once
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: particpation (LOC 607)

dev/ledger.md Show resolved Hide resolved
dev/ledger.md Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants