Skip to content

Commit

Permalink
re-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchon committed Nov 12, 2021
1 parent c1472a9 commit d9336a2
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 46 deletions.
156 changes: 110 additions & 46 deletions chain/oracle/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions chain/oracle/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,18 @@ func DefaultBandIBCParams() BandIBCParams {
func (p Params) Validate() error {
return nil
}

func DefaultTestBandIbcParams() *BandIBCParams {
return &BandIBCParams{
// true if Band IBC should be enabled
BandIbcEnabled: true,
// block request interval to send Band IBC prices
IbcRequestInterval: 10,
// band IBC source channel
IbcSourceChannel: "channel-0",
// band IBC version
IbcVersion: "bandchain-1",
// band IBC portID
IbcPortId: "oracle",
}
}

0 comments on commit d9336a2

Please sign in to comment.