Update 02_state.md

This commit is contained in:
futreall 2024-11-13 18:56:55 +02:00 committed by GitHub
parent 76eebc57c1
commit ac42119583
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ type Market struct {
type Markets []Market type Markets []Market
``` ```
`GenesisState` defines the state that must be persisted when the blockchain stops/stars in order for the normal function of the pricefeed to resume. `GenesisState` defines the state that must be persisted when the blockchain stops/starts in order for the normal function of the pricefeed to resume.
```go ```go
// GenesisState - pricefeed state that must be provided at genesis // GenesisState - pricefeed state that must be provided at genesis