Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nkitlabs committed May 9, 2024
1 parent 3df5c45 commit 0fc220d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@

## Unreleased

- (bump) use cosmos-sdk package v0.47.11
- (bump) replace github.com/tendermint/tendermint by github.com/cometbft/cometbft v0.37.5
- update example folder

## [v1.0.1]

- Move example folder

## [v1.0.0]

- Implemented the first version of the client package
- Implemented the first version of the requester package
4 changes: 2 additions & 2 deletions examples/requester/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func GetConfig(name string) (Config, error) {
return config, nil
}

func GetENV(key, fallback string) string {
func GetEnv(key, fallback string) string {
if value, ok := os.LookupEnv(key); ok {
return value
}
Expand Down Expand Up @@ -92,7 +92,7 @@ func GetOracleRequestData(reqConf RequestConfig, sender string) (oracletypes.Msg

func main() {
// Setup
config_file := GetENV("CONFIG_FILE", "example_band_laozi.yaml")
config_file := GetEnv("CONFIG_FILE", "example_band_laozi.yaml")
config, err := GetConfig(config_file)
if err != nil {
panic(err)
Expand Down

0 comments on commit 0fc220d

Please sign in to comment.