Rename TestChain
field LastHeader
to LatestCommittedHeader
#3971
Labels
change: api breaking
Issues or PRs that break Go API (need to be release in a new major version)
good first issue
Good for newcomers
help wanted
Issues for which we would appreciate help/support from the community
testing
Testing package and unit/integration tests
type: code hygiene
Clean up code but without changing functionality or interfaces
Milestone
Summary
Rename
TestChain
fieldLastHeader
toLatestCommittedHeader
The testing package keeps track of what is currently called the last header and a current header. In reality, these are the latest committed header and the current uncommitted header. I propose we make these fields more explicitly named as reading the testing code can get confusing if you don't have the distinction between committed and uncommitted, otherwise you may think that if the current header is 6, then it's block state is considered committed
For Admin Use
The text was updated successfully, but these errors were encountered: