Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/go_modules/go/github.com/cosmos…
Browse files Browse the repository at this point in the history
…/gogoproto-1.4.11
  • Loading branch information
crodriguezvega authored Aug 28, 2023
2 parents a88f01d + 625f479 commit 500ac98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,29 @@ updates:
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/js"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"

# Maintain dependencies for Composer
- package-ecosystem: "gomod"
directory: "/go"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"

# Maintain dependencies for Composer
- package-ecosystem: "cargo"
directory: "/rust"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
4 changes: 2 additions & 2 deletions go/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ func compressStep(step *InnerOp, lookup *[]*InnerOp, registry map[string]int32)
}

// load from cache if there
if num, ok := registry[string(bz)]; ok {
if num, ok := registry[string(bz)]; ok {
return num
}

// create new step if not there
num := int32(len(*lookup))
*lookup = append(*lookup, step)
registry[string(bz)] = num
registry[string(bz)] = num
return num
}

Expand Down

0 comments on commit 500ac98

Please sign in to comment.