Skip to content

Allow setting block proposer in DevMode#6238

Closed
nullun wants to merge 1 commit intoalgorand:masterfrom
nullun:feature/devmode-set-proposer
Closed

Allow setting block proposer in DevMode#6238
nullun wants to merge 1 commit intoalgorand:masterfrom
nullun:feature/devmode-set-proposer

Conversation

@nullun
Copy link
Copy Markdown
Contributor

@nullun nullun commented Jan 28, 2025

WIP,

Introduces two new API endpoints:
GET /v2/devmode/blocks/proposer
POST /v2/devmode/blocks/proposer/{address}

If the proposer address is set, the proposer is added to the block header and the proposer payout will be paid out to them.
If the proposer isn't set, the proposer payout (pp) field is unset in the block header. This prevents Indexer from creating a synthetic payment transaction to the global zero address.

@gmalouf
Copy link
Copy Markdown
Contributor

gmalouf commented Jan 29, 2025

Closing in favor of #6239

@gmalouf gmalouf closed this Jan 29, 2025
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