algorand / go-algorand-sdk

Algorand Golang SDK

Home Page:https://pkg.go.dev/github.com/algorand/go-algorand-sdk/v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing ParticipationUpdates struct

barnjamin opened this issue · comments

Subject of the issue

When decoding a block, if the struct being decoded into does not have all the fields defined the decoder will error out. We're missing at least the ParticipationUpdates struct that is embedded in the BlockHeader

In go-algorand-sdk:

In go-algorand
https://github.com/algorand/go-algorand/blob/master/data/bookkeeping/block.go#L142

Thanks for this - this is a critical nasty one.

Closed by #306