Browse Source

upgrading: state store change (#5364)

## Description

Adding a section explaining the state store interface change. I wasn't aware this was used externally. Our infamous API strikes again.


<img width="462" alt="Screen Shot 2020-09-16 at 2 57 12 PM" src="https://user-images.githubusercontent.com/24299864/93342053-2835fe80-f82f-11ea-9296-9484c2931d9a.png">

Closes: #XXX
pull/5370/head
Marko 4 years ago
committed by GitHub
parent
commit
ed046966bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      UPGRADING.md

+ 2
- 0
UPGRADING.md View File

@ -138,6 +138,8 @@ A field `State.InitialHeight` has been added to record the initial chain height,
(not `0`) if starting from height `1`. This can be configured via the genesis field (not `0`) if starting from height `1`. This can be configured via the genesis field
`initial_height`. `initial_height`.
The state package has added a `Store` interface. All functions in [state/store.go](https://github.com/tendermint/tendermint/blob/56911ee35298191c95ef1c7d3d5ec508237aaff4/state/store.go#L42-L42) are now part of the interface. The interface returns errors on all methods and can be used by calling `state.NewStore(dbm.DB)`.
### Privval ### Privval
All requests are now accompanied by the chainID from the network. All requests are now accompanied by the chainID from the network.


Loading…
Cancel
Save