Skip to content

Align Distribution Balance#46

Draft
jhb10c wants to merge 2 commits into
mainfrom
jhb10c/mip11-distribution
Draft

Align Distribution Balance#46
jhb10c wants to merge 2 commits into
mainfrom
jhb10c/mip11-distribution

Conversation

@jhb10c
Copy link
Copy Markdown
Contributor

@jhb10c jhb10c commented May 18, 2026

Align langauge of MIP with implementation. More generally balance is awarded automatically instead of just priority fees.

Copy link
Copy Markdown
Collaborator

@pdobacz pdobacz left a comment

Choose a reason for hiding this comment

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

Not going diving deep into protocol aspects, but update LGTM, some editorial nits

Comment thread MIPS/MIP-11.md
@@ -46,13 +46,33 @@ class distribution_account:

# This function is only callable via execution; no transaction can call it.
def syscall_distribute(address block_leader):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
def syscall_distribute(address block_leader):
def distribute(address block_leader):

still says syscall_distribute is this intended?

Comment thread MIPS/MIP-11.md
# 3. Get relevant validator info
val_execution = val_execution(val_id)
val_consensus = val_consensus(val_id)
auth = delegator(val_id,val_execution.auth_address)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
auth = delegator(val_id,val_execution.auth_address)
auth = delegator(val_id, val_execution.auth_address)

Comment thread MIPS/MIP-11.md

# 4. Get Commission Fee if applicable
commission_amount = 0
distribute_amount = 0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this initialization seem unnecessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants