Skip to content

Commit

Permalink
refactor(rollappparams): rollapp param da set default to mock (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
srene authored Sep 6, 2024
1 parent a28124a commit 9487b91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/rollappparams/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import (
const (
// length of the version commit string.
VersionLength = 40
// Data availability used by the RollApp. Default value used is mock da.
DefaultDA = "mock"
)

// Parameter store keys.
var (
KeyDa = []byte("da")
KeyVersion = []byte("version")

// Data availability used by the RollApp. it must be overwritten in the build process
DA = "<da>"
// git commit for the version used for the rollapp binary. it must be overwritten in the build process
Version = "<version>"
// default max block size accepted (equivalent to block max size it can fit into a celestia blob).
Expand All @@ -46,7 +46,7 @@ func NewParams(
// DefaultParams returns default x/rollappparams module parameters.
func DefaultParams() Params {
return Params{
Da: DA,
Da: DefaultDA,
Version: Version,
}
}
Expand Down

0 comments on commit 9487b91

Please sign in to comment.