Skip to content

The block endpoint does not include 'partupdrmv' for expired participation accounts #1045

@jasonpaulos

Description

@jasonpaulos

Summary

The /v2/blocks/{round-number} endpoint does not return the expired participation accounts field, called partupdrmv in msgpack and introduced to algod in algorand/go-algorand#2924.

Scope

It seems to me that indexer's REST API schema should be updated to include this field and it should be populated when the /v2/blocks/{round-number} endpoint returns a block that has a value for it.

I'm not sure of the urgency of this issue, but since I couldn't find any other mention of it, I wanted to document it.

I understand we have some checks in place to make sure we don't forget to add new fields to indexer, I wonder if that system can be extended to also check algod's bookkeeping.Block structure as well (which isn't tracked by algod's REST spec, but perhaps it should be).

Acceptance criteria

  • Update Indexer spec to include the new data (array of accounts)
  • Update the handlers to return the new data.
  • Update SDK models to handle the new data. Because this is only changing model objects, go/js/java should be generated automatically. Python still must be manually updated.
  • New tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions