Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 79bf82f559be4e0164d066d50057d158607ace1f
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Sep 9 00:20:04 2022 +0530

    build: Automated semantic release with Goreleaser [DEV-1718] (#26)

    * Create .releaserc.json
    * Move golang CI linter config
    * Update .goreleaser.yml
    * Versioned Docker image numbers
    * Fix Golang CI version
    * Disable Markdown linting
    * Temporarily disable YAML linter
    * Fix indentation

commit 6f9e39bf5b9f244bd0ff2e49d4f1b8a019459126
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Sep 8 19:38:10 2022 +0530

    feat: Sync upstream changes on BDJuno v0.3.4 [DEV-1715] (#25)

    * chore: release v3.2.0

    * build(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#447)

    Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang's releases</a>.</em></p>
    <blockquote>
    <h2>## 1.13.0 / 2022-08-06</h2>
    <ul>
    <li>[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version).</li>
    <li>[ENHANCEMENT] Added <code>prometheus.TransactionalGatherer</code> interface for <code>promhttp.Handler</code> use which allows using low allocation update techniques for custom collectors. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/989">#989</a></li>
    <li>[ENHANCEMENT] Added exemplar support to <code>prometheus.NewConstHistogram</code>. See <a href="https://github.com/prometheus/client_golang/blob/HEAD/prometheus/examples_test.go#L602"><code>ExampleNewConstHistogram_WithExemplar</code></a> example on how to use it. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/986">#986</a></li>
    <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> now has context-aware methods that pass context to HTTP requests. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1028">#1028</a></li>
    <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now <code>Error</code> method that retrieve last error. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1075">#1075</a></li>
    <li>[ENHANCEMENT] <code>testutil.GatherAndCompare</code> provides now readable diff on failed comparisons. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/998">#998</a></li>
    <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1014">#1014</a></li>
    <li>[ENHANCEMENT] New <code>MetricVec</code> method <code>DeletePartialMatch(labels Labels)</code> for deleting all metrics that match provided labels. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1013">#1013</a></li>
    <li>[ENHANCEMENT] <code>api.Config</code> now accepts passing custom <code>*http.Client</code>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1025">#1025</a></li>
    <li>[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1091">#1091</a></li>
    <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1094">#1094</a></li>
    <li>[ENHANCEMENT] Most <code>promhttp.Instrument*</code> middlewares now support adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and puts it in exemplar if present. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a></li>
    <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a></li>
    <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a></li>
    <li>[ENHANCEMENT] :warning: Added way to specify what <code>runtime/metrics</code>  <code>collectors.NewGoCollector</code> should use. See <a href="https://github.com/prometheus/client_golang/blob/HEAD/prometheus/collectors/go_collector_latest_test.go#L263"><code>ExampleGoCollector_WithAdvancedGoMetrics</code></a>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1102">#1102</a></li>
    </ul>
    <h2>New Contributors ❤️</h2>
    <ul>
    <li><a href="https://github.com/alissa-tung"><code>@​alissa-tung</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1000">prometheus/client_golang#1000</a></li>
    <li><a href="https://github.com/wperron"><code>@​wperron</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/986">prometheus/client_golang#986</a></li>
    <li><a href="https://github.com/zhijian-pro"><code>@​zhijian-pro</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1005">prometheus/client_golang#1005</a></li>
    <li><a href="https://github.com/dohnto"><code>@​dohnto</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1021">prometheus/client_golang#1021</a></li>
    <li><a href="https://github.com/tatsuhiro-t"><code>@​tatsuhiro-t</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1028">prometheus/client_golang#1028</a></li>
    <li><a href="https://github.com/sourikghosh"><code>@​sourikghosh</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/998">prometheus/client_golang#998</a></li>
    <li><a href="https://github.com/josephwoodward"><code>@​josephwoodward</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1014">prometheus/client_golang#1014</a></li>
    <li><a href="https://github.com/stone-z"><code>@​stone-z</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1013">prometheus/client_golang#1013</a></li>
    <li><a href="https://github.com/yolossn"><code>@​yolossn</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1025">prometheus/client_golang#1025</a></li>
    <li><a href="https://github.com/xrstf"><code>@​xrstf</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1039">prometheus/client_golang#1039</a></li>
    <li><a href="https://github.com/dependabot"><code>@​dependabot</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1051">prometheus/client_golang#1051</a></li>
    <li><a href="https://github.com/sazary"><code>@​sazary</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1056">prometheus/client_golang#1056</a></li>
    <li><a href="https://github.com/oiooj"><code>@​oiooj</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1075">prometheus/client_golang#1075</a></li>
    <li><a href="https://github.com/fredr"><code>@​fredr</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1095">prometheus/client_golang#1095</a></li>
    <li><a href="https://github.com/inosato"><code>@​inosato</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1096">prometheus/client_golang#1096</a></li>
    <li><a href="https://github.com/arun-shopify"><code>@​arun-shopify</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1094">prometheus/client_golang#1094</a></li>
    <li><a href="https://github.com/paralin"><code>@​paralin</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/897">prometheus/client_golang#897</a></li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md">github.com/prometheus/client_golang's changelog</a>.</em></p>
    <blockquote>
    <h2>1.13.0 / 2022-08-05</h2>
    <ul>
    <li>[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against new 1.19 version).</li>
    <li>[ENHANCEMENT] Added <code>prometheus.TransactionalGatherer</code> interface for <code>promhttp.Handler</code> use which allows using low allocation update techniques for custom collectors. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/989">#989</a></li>
    <li>[ENHANCEMENT] Added exemplar support to <code>prometheus.NewConstHistogram</code>. See <a href="https://github.com/prometheus/client_golang/blob/main/prometheus/examples_test.go#L602"><code>ExampleNewConstHistogram_WithExemplar</code></a> example on how to use it. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/986">#986</a></li>
    <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now context aware methods that pass context to HTTP request. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1028">#1028</a></li>
    <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now <code>Error</code> method that retrieve last error. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1075">#1075</a></li>
    <li>[ENHANCEMENT] <code>testutil.GatherAndCompare</code> provides now readable diff on failed comparisons. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/998">#998</a></li>
    <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1014">#1014</a></li>
    <li>[ENHANCEMENT] New <code>MetricVec</code> method <code>DeletePartialMatch(labels Labels)</code> for deleting all metrics that match provided labels. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1013">#1013</a></li>
    <li>[ENHANCEMENT] <code>api.Config</code> now accepts passing custom <code>*http.Client</code>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1025">#1025</a></li>
    <li>[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1091">#1091</a></li>
    <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1094">#1094</a></li>
    <li>[ENHANCEMENT] Most <code>promhttp.Instrument*</code> middlewares now supports adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and put it in exemplar if present. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a></li>
    <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a></li>
    <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a></li>
    <li>[ENHANCEMENT] :warning: Added way to specify what <code>runtime/metrics</code>  <code>collectors.NewGoCollector</code> should use. See <a href="https://github.com/prometheus/client_golang/blob/main/prometheus/collectors/go_collector_latest_test.go#L263"><code>ExampleGoCollector_WithAdvancedGoMetrics</code></a>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1102">#1102</a></li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/prometheus/client_golang/commit/64435fc00ac419bb878a3f9c9658e8353c19a7cd"><code>64435fc</code></a> Cut 1.13.0 (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1110">#1110</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/5b7e8b2e6716df0ceda9df81feb15910c7efa150"><code>5b7e8b2</code></a> collectors.GoCollector: Added rule support for granular metric configuration....</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/d44fbbefdd19086a786a7e4a6e215bfc88468ec5"><code>d44fbbe</code></a> Fix build against GopherJS (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/1638da9ae43be6ff5ad522ca402712e26b4a19c7"><code>1638da9</code></a> testutil: Add ScrapeAndCompare (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/c576b951ad94df7cb97d1b3b6f5cdb49315f5721"><code>c576b95</code></a> Generate new Go runtime metrics for go 1.19 (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1105">#1105</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/618194de6ad3db637313666104533639011b470d"><code>618194d</code></a> fix assorted oddities found by golangci-lint (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1040">#1040</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/c7488be2e4081d3afa59e63e221587546c58badf"><code>c7488be</code></a> Added exemplar support to http middleware. (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/3faf3bae7076031e56adc1f76d0c2d817410597e"><code>3faf3ba</code></a> Fixed support for unordered input of exemplars. (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1100">#1100</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/44ce5e1ee5015df547c585135d683fbab114dc82"><code>44ce5e1</code></a> Ensure tests verify request params (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1047">#1047</a>)</li>
    <li><a href="https://github.com/prometheus/client_golang/commit/807b1ee73c2079346d041019cffb933fa43aaf3d"><code>807b1ee</code></a> explicitly add +inf bucket in withExemplarsMetric (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1094">#1094</a>)</li>
    <li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0">compare view</a></li>
    </ul>
    </details>
    <br />

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.12.2&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    </details>

    * fix: remove tombstone from `validator_status` (already exists in `validator_singing_info`) (#443)

    ## Description

    Closes: #XXXX

    Removing `tombstone status` from `validator_status` because:
    - it makes the code cleaner as `tombstone status` is already stored in `validator_singing_info`
    - it saves grpc calls for each validator at each block
    - the front-end `graphQL` does not query it from `validator_status` table anyways

    c.f. #411

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch
    - [ ] provided a link to the relevant issue or specification
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    * build: go v1.18 (#452)

    Closes: #XXXX

    ---

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch
    - [ ] provided a link to the relevant issue or specification
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    * build(deps): bump github.com/go-co-op/gocron from 1.16.2 to 1.16.3 (#456)

    Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.16.2 to 1.16.3.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a href="https://github.com/go-co-op/gocron/releases">github.com/go-co-op/gocron's releases</a>.</em></p>
    <blockquote>
    <h2>v1.16.3</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Protect job.RunCount() with mutex by <a href="https://github.com/seunghyupoh3517"><code>@​seunghyupoh3517</code></a> in <a href="https://github-redirect.dependabot.com/go-co-op/gocron/pull/375">go-co-op/gocron#375</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a href="https://github.com/go-co-op/gocron/compare/v1.16.2...v1.16.3">https://github.com/go-co-op/gocron/compare/v1.16.2...v1.16.3</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/go-co-op/gocron/commit/0099be01d75f8cde9cb14d6fc5beff1cfc10bd72"><code>0099be0</code></a> Protect job.RunCount() with mutex (<a href="https://github-redirect.dependabot.com/go-co-op/gocron/issues/375">#375</a>)</li>
    <li>See full diff in <a href="https://github.com/go-co-op/gocron/compare/v1.16.2...v1.16.3">compare view</a></li>
    </ul>
    </details>
    <br />

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-co-op/gocron&package-manager=go_modules&previous-version=1.16.2&new-version=1.16.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    </details>

    * feat: updated staking pool values  (#455)

    ## Description

    Closes: [BDU-484](https://forbole.atlassian.net/browse/BDU-484)

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [x] targeted the correct branch
    - [x] provided a link to the relevant issue or specification
    - [x] added a changelog entry to `CHANGELOG.md`
    - [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [x] updated the relevant documentation or specification
    - [x] reviewed "Files changed" and left comments if necessary
    - [x] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    * build(deps): bump github.com/go-co-op/gocron from 1.16.3 to 1.17.0 (#459)

    Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.16.3 to 1.17.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a href="https://github.com/go-co-op/gocron/releases">github.com/go-co-op/gocron's releases</a>.</em></p>
    <blockquote>
    <h2>v1.17.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>bump go to 1.19 by <a href="https://github.com/JohnRoesler"><code>@​JohnRoesler</code></a> in <a href="https://github-redirect.dependabot.com/go-co-op/gocron/pull/380">go-co-op/gocron#380</a></li>
    <li>add CustomTimer allowing overriding of the time.AfterFunc by <a href="https://github.com/JohnRoesler"><code>@​JohnRoesler</code></a> in <a href="https://github-redirect.dependabot.com/go-co-op/gocron/pull/381">go-co-op/gocron#381</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a href="https://github.com/go-co-op/gocron/compare/v1.16.3...v1.17.0">https://github.com/go-co-op/gocron/compare/v1.16.3...v1.17.0</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/go-co-op/gocron/commit/3272c219ee7d6de6f435f182c91fd52f7da8ca98"><code>3272c21</code></a> add CustomTimer allowing overriding of the time.AfterFunc (<a href="https://github-redirect.dependabot.com/go-co-op/gocron/issues/381">#381</a>)</li>
    <li><a href="https://github.com/go-co-op/gocron/commit/5d9071a9a1151486688cdfabb10ec994b1f3803f"><code>5d9071a</code></a> bump go to 1.19 (<a href="https://github-redirect.dependabot.com/go-co-op/gocron/issues/380">#380</a>)</li>
    <li>See full diff in <a href="https://github.com/go-co-op/gocron/compare/v1.16.3...v1.17.0">compare view</a></li>
    </ul>
    </details>
    <br />

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-co-op/gocron&package-manager=go_modules&previous-version=1.16.3&new-version=1.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    </details>

    * feat: add daily refetch module (#454)

    ## Description

    Closes: BDU-479

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [x] targeted the correct branch
    - [x] provided a link to the relevant issue or specification
    - [x] added a changelog entry to `CHANGELOG.md`
    - [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [x] updated the relevant documentation or specification
    - [x] reviewed "Files changed" and left comments if necessary
    - [x] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    * build(deps): bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#460)

    Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.27.0 to 1.28.0.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/rs/zerolog/commit/d894f123bc5c2a887c95e90218b9410563141d67"><code>d894f12</code></a> pass program counter to CallerMarshalFunc (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/457">#457</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/4099072c03f2f4e61fa08f70adf9a25983f0cd8e"><code>4099072</code></a> Support extra arbitrary data at the end of console log (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/416">#416</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/4c85986254a5d411779c1ec553a12094042f56a0"><code>4c85986</code></a> Unixnano time format support (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/454">#454</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/43be3013864af78038c42de900a4d78eae0f1d22"><code>43be301</code></a> Bump actions/cache from 3.0.1 to 3.0.5 (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/453">#453</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/afdf9978ec10b0f5a240f174fcdc6e58e06f0dca"><code>afdf997</code></a> Revert &quot;remove fields written into &quot;PartsOrder&quot; (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/383">#383</a>)&quot;</li>
    <li><a href="https://github.com/rs/zerolog/commit/14d6629e41683140550f25e6706381efda008968"><code>14d6629</code></a> hlog: adds ProtoHandler (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/396">#396</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/dbdec88d16a2f50ebbdf3a055fe501e075968c91"><code>dbdec88</code></a> Use everywhere InterfaceMarshalFunc (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/414">#414</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/b30730fab2c86649b5e93525f114cfdd3a98c866"><code>b30730f</code></a> Show local time in console (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/415">#415</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/68a6bd49b5bdd0ddc4293bdf503462ea2a3c151e"><code>68a6bd4</code></a> Bump github.com/rs/xid from 1.3.0 to 1.4.0 (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/430">#430</a>)</li>
    <li><a href="https://github.com/rs/zerolog/commit/5c08a2724f6816f006445ecf6464ae4d932c529a"><code>5c08a27</code></a> Bump actions/cache from 2 to 3.0.1 (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/432">#432</a>)</li>
    <li>Additional commits viewable in <a href="https://github.com/rs/zerolog/compare/v1.27.0...v1.28.0">compare view</a></li>
    </ul>
    </details>
    <br />

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/rs/zerolog&package-manager=go_modules&previous-version=1.27.0&new-version=1.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    </details>

    * fix: parse gov genesis with `doc.InitialHeight` instead of height 1 (#461)

    ## Description

    Closes: #XXXX

    jira: https://forbole.atlassian.net/browse/BDU-544

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [x] targeted the correct branch
    - [ ] provided a link to the relevant issue or specification
    - [x] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [x] reviewed "Files changed" and left comments if necessary
    - [x] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    * build(deps): bump github.com/lib/pq from 1.10.6 to 1.10.7 (#463)

    Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.6 to 1.10.7.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/lib/pq/commit/d5affd5073b06f745459768de35356df2e5fd91d"><code>d5affd5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/lib/pq/issues/1088">#1088</a> from kelvich/sni_support</li>
    <li><a href="https://github.com/lib/pq/commit/d65e6ae4bdd1c86b16cd6d2bcff4fe970dc697b4"><code>d65e6ae</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/lib/pq/issues/1083">#1083</a> from nhooyr/fix-receiver-51e2</li>
    <li><a href="https://github.com/lib/pq/commit/957fc0b40156534f8dd356bc81679d7e1365242b"><code>957fc0b</code></a> Set SNI for TSL connections</li>
    <li><a href="https://github.com/lib/pq/commit/89fee896440712bc328c9087ea185c3990053f31"><code>89fee89</code></a> Use pointer receiver on pq.Error.Error()</li>
    <li>See full diff in <a href="https://github.com/lib/pq/compare/v1.10.6...v1.10.7">compare view</a></li>
    </ul>
    </details>
    <br />

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/lib/pq&package-manager=go_modules&previous-version=1.10.6&new-version=1.10.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)

    ---

    <details>
    <summary>Dependabot commands and options</summary>
    <br />

    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    </details>

    * Update go.mod

    * Fix go.mod

    Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Aaron <76254323+huichiaotsou@users.noreply.github.com>
    Co-authored-by: Magic Cat <37407870+MonikaCat@users.noreply.github.com>

commit 3e3782a16f06395b38e7117c2f328016f89d27d2
Author: filipdjokic <87134019+filipdjokic@users.noreply.github.com>
Date:   Thu Sep 8 14:12:24 2022 +0200

    fix: Redeploy bdjuno on DO Apps (#24)

    * fix: Redeploy bdjuno on DO Apps
    * Fix Ubuntu version to Jammy
    * fix SC2086 violation

    Signed-off-by: Filip Djokic <djokicf@protonmail.com>
    Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

commit 8e7c52966568cc688168f623e16c8af9cde1a452
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 8 12:53:13 2022 +0100

    chore(deps): Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#20)

    Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.27.0 to 1.28.0.
    - [Release notes](https://github.com/rs/zerolog/releases)
    - [Commits](https://github.com/rs/zerolog/compare/v1.27.0...v1.28.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/rs/zerolog
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 0edeb5e81bd3a180fcd73f2a1901f6fb08ed42f5
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 8 12:15:13 2022 +0100

    chore(deps): Bump github.com/go-co-op/gocron from 1.16.3 to 1.17.0 (#21)

    Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.16.3 to 1.17.0.
    - [Release notes](https://github.com/go-co-op/gocron/releases)
    - [Commits](https://github.com/go-co-op/gocron/compare/v1.16.3...v1.17.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/go-co-op/gocron
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 3af4dd823a4acd8d14261a03ab341eee4030ed51
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 8 12:06:26 2022 +0100

    chore(deps): Bump github.com/forbole/juno/v3 from 3.3.0 to 3.4.0 (#22)

    Bumps [github.com/forbole/juno/v3](https://github.com/forbole/juno) from 3.3.0 to 3.4.0.
    - [Release notes](https://github.com/forbole/juno/releases)
    - [Changelog](https://github.com/forbole/juno/blob/cosmos/v0.44.x/CHANGELOG.md)
    - [Commits](https://github.com/forbole/juno/compare/v3.3.0...v3.4.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/forbole/juno/v3
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 091c6d6143486f900e1eed11fa63f2e7d39dc054
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Aug 24 03:38:35 2022 +0100

    chore(deps): Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#12)

    build(deps): bump github.com/prometheus/client_golang

    Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
    - [Release notes](https://github.com/prometheus/client_golang/releases)
    - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/client_golang
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 9e5a2c5b8e9d4bdf8bd87cc4442fd70c92a3f229
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Aug 24 03:30:01 2022 +0100

    chore(deps): Bump github.com/cosmos/gaia/v7 from 7.0.2 to 7.0.3 (#13)

    build(deps): bump github.com/cosmos/gaia/v7 from 7.0.2 to 7.0.3

    Bumps [github.com/cosmos/gaia/v7](https://github.com/cosmos/gaia) from 7.0.2 to 7.0.3.
    - [Release notes](https://github.com/cosmos/gaia/releases)
    - [Changelog](https://github.com/cosmos/gaia/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/cosmos/gaia/compare/v7.0.2...v7.0.3)

    ---
    updated-dependencies:
    - dependency-name: github.com/cosmos/gaia/v7
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit e780f43c7cb6d8d5ea2eadda921627cb6de3d91a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Aug 24 03:23:42 2022 +0100

    chore(deps): Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.3 (#19)

    * Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.3

    Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.16.1 to 1.16.3.
    - [Release notes](https://github.com/go-co-op/gocron/releases)
    - [Commits](https://github.com/go-co-op/gocron/compare/v1.16.1...v1.16.3)

    ---
    updated-dependencies:
    - dependency-name: github.com/go-co-op/gocron
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.3

    Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.16.1 to 1.16.3.
    - [Release notes](https://github.com/go-co-op/gocron/releases)
    - [Commits](https://github.com/go-co-op/gocron/compare/v1.16.1...v1.16.3)

    ---
    updated-dependencies:
    - dependency-name: github.com/go-co-op/gocron
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Update dispatch.yml

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

commit 673a091f2cf12c0e2fd330a420ea0ce436f57dde
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Aug 23 20:06:22 2022 +0100

    chore(dev-deps): Bump semantic-release from 19.0.3 to 19.0.5 (#18)

    * Bump semantic-release from 19.0.3 to 19.0.5

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.3 to 19.0.5.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](https://github.com/semantic-release/semantic-release/compare/v19.0.3...v19.0.5)

    ---
    updated-dependencies:
    - dependency-name: semantic-release
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Update package-lock.json

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

commit 9b4fbf5ddea22fe50dd444179989bac9c9e5fb1b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Tue Aug 23 16:57:33 2022 +0100

    Update entrypoint.sh

commit d0525b2029f9347c19cd90220f6e54cec0256e40
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Tue Aug 23 16:55:37 2022 +0100

    Set variables in Hasura CLI image

commit 456c2f7599988cf297bb8605800fd3d9e079caef
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 09:45:06 2022 +0100

    Remove history from BDJuno

commit 3f265db23060d018eb4ebbab9dac7b514cadea63
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:57:31 2022 +0100

    fix: Add CA Certs package

commit 114a0ce45b6f485c6278ff7f26b5e72c2e54aa0f
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:51:12 2022 +0100

    Update entrypoint.sh

commit 2b6d33ba1f8ab994c01bdbfb4cf88c92e2eb4728
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:50:49 2022 +0100

    Set database port to integer value

commit 007e035c196b82340a75b505cd85cb81f7df32a2
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:45:40 2022 +0100

    Remove RPC connections

commit eedd69afc11c4d8b532a854b50d499fca81f1017
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:39:21 2022 +0100

    All entrypoint values fixed

commit 4b6fea1667fae655f2e11f8096a03f589565f03c
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:28:02 2022 +0100

    Update entrypoint.sh

commit ea43e51ae8e4b853ba19908964e74fab3dc78fc7
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:20:36 2022 +0100

    Update Dockerfile

commit 50b322255e0f85b310c1268d1cf614ec7af62f8c
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 03:02:50 2022 +0100

    Entrypoint

commit a29f6cc55bbc94e49775b63c344a5d9dfaf03e8f
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 02:50:31 2022 +0100

    Update entrypoint.sh

commit 76c6226478ee513f62b437e00672b4ee1788594d
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 02:47:58 2022 +0100

    Create entrypoint file

commit 0ef3a6b4336c18d17c3cb6a8fe9201ac3fd52ef5
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 02:18:15 2022 +0100

    Update env-vars.sh

commit fd6b2dd9c40414888cb040160d446e4e63056209
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 02:08:35 2022 +0100

    Update env-vars.sh

commit d77c1a166f4520c2851fa9f5ca5aba6f7c1dda0d
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:50:14 2022 +0100

    refactor: Set some variables directly

commit 2bfd52974fe89aa35f9ac9f7e5889bdac8de9052
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:36:23 2022 +0100

    fix: Vars again

commit 756872d610a9c686d0528ee40e220aede615ae0a
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:24:25 2022 +0100

    ci: Disable SC2154

commit c4bf936957c2497f42dc964c8632cf6b55d57ae5
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:18:26 2022 +0100

    fix: Explicitly set variable namespace

commit 3cf36c0dd16480af0bcfbe9b786d3e5b99395735
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:12:35 2022 +0100

    ci: Added Hasura CLI build to workflow

commit 1dbf8c9b14f1d5d7641233335dcb63b6ae65c17b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 01:01:21 2022 +0100

    fix: Update internal port

commit 4669cdce3d77daa95bb36d0262d15a56bb28b917
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 00:58:56 2022 +0100

    fix: Variable path

commit 82292461df99e7fa01a1cdf199d64173d2f408e9
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 00:56:51 2022 +0100

    ci: Remove binary build

commit 9155186d6a290f3131e33c78aaafcaee3d157ded
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 00:39:06 2022 +0100

    fix: New BDJuno path in env-vars

commit 20fc4a262f09b959b31f9a53fe1f51f1c95e6a72
Merge: c70d5a7 d1cf11b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Fri Aug 19 00:05:07 2022 +0100

    build(docker): Hasura CLI Dockerfile and environment variable fixes (#16)

commit d1cf11b378688f620c1cf7359e33160d40f9c0f5
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:57:05 2022 +0100

    Update env-vars.sh

commit bee9d914c1b3ce5032a00819f987aae4940e5f55
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:56:21 2022 +0100

    Update Dockerfile.hasura

commit c79e88b824df5013e6b514b6d29e23ac8f367ff7
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:55:15 2022 +0100

    Squashed commit of the following:

    commit c70d5a751f93602978dddf4af24c526f17208b24
    Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
    Date:   Thu Aug 18 23:54:42 2022 +0100

        Update env-vars.sh

    commit 927e888a946087a09df041778f9bbd0df47c50cb
    Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
    Date:   Thu Aug 18 23:48:34 2022 +0100

        Update env-vars.sh

commit c70d5a751f93602978dddf4af24c526f17208b24
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:54:42 2022 +0100

    Update env-vars.sh

commit deb45c740409a30020ed3f7a5e881e172e26583c
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:50:45 2022 +0100

    Update Hasura config variables

commit 2b13599bb14e411f8075629e91be6b310e8f9628
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:49:44 2022 +0100

    Squashed commit of the following:

    commit 927e888a946087a09df041778f9bbd0df47c50cb
    Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
    Date:   Thu Aug 18 23:48:34 2022 +0100

        Update env-vars.sh

commit 927e888a946087a09df041778f9bbd0df47c50cb
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:48:34 2022 +0100

    Update env-vars.sh

commit d01bbd7c90e42a429070eb783259a693b61db811
Merge: 615a4c3 414716b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:26:42 2022 +0100

    build(docker): Fix BDJuno Dockerfile and environment variable setting

commit 414716bfde32d99a70a5d55225fed04f4005f45f
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:15:05 2022 +0100

    Remove ACTIONS_BASE_URL from BDJuno

commit 5b5ed8f728b26910f03203bd4792743dfb21f050
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:13:05 2022 +0100

    Update env-vars.sh

commit a54640ad5948364f8d4cc24c5684af7430f3b273
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:07:52 2022 +0100

    Add bash to BDJuno image

commit 33a1ad6885892674494d5e8c27f5bf3288c0fa93
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:06:05 2022 +0100

    Revert "Update lint.yml"

    This reverts commit 90ee3012c2e6a3841a43e3ce4245ca7952a0a933.

commit 851ddd7e73b913662d7b78b0e78b31699ea74858
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 23:06:01 2022 +0100

    Revert "Delete ensure_set_euox_pipefail.sh"

    This reverts commit a7336092ab563f34a565477cfda43e19ac3c43d3.

commit 2cb1066132d23c7278a88a11fb65831c490cc0bf
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:59:12 2022 +0100

    Fix incorrect chmod statement

commit 92816c8003e818c8d801f329e3ab16291041cc9b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:58:02 2022 +0100

    Update build to include Docker

commit 5717817dbdf00c3422dc572c12e73680518d87a9
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:50:56 2022 +0100

    Activate golang cache

commit 90ee3012c2e6a3841a43e3ce4245ca7952a0a933
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:48:05 2022 +0100

    Update lint.yml

commit a7336092ab563f34a565477cfda43e19ac3c43d3
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:47:41 2022 +0100

    Delete ensure_set_euox_pipefail.sh

commit ebea3fb4038fc81bed34b95944066c2cbd84da10
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:45:27 2022 +0100

    Update .dockerignore

commit 184c76cfeb13084b0e8d59fbf959d2e17a6007c9
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:40:56 2022 +0100

    Fix file permissions

commit 12dd6a24f0003fc360b3faffe82c55dc8748516e
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:40:47 2022 +0100

    Update .dockerignore

commit 7f79dc9e0fe6b31d636e924eb0f3a81a92c24e62
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:31:12 2022 +0100

    Update env-vars.sh

commit 94f14180e415c49c27e4046b86058765cfd741ed
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:31:06 2022 +0100

    Update config.yaml

commit cbb58caa6f6c9d1c983fc6a5c599f63d6308be73
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 22:30:59 2022 +0100

    Update .dockerignore

commit 1be9037c33e6d75e338129650b9980e28213f92c
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:16:20 2022 +0100

    Update .dockerignore

commit e7afe452b28de294906b922011fd9f65b136f54b
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:15:07 2022 +0100

    Fix dispatch

commit 4fa854168d5b1ba288643cd474eca9a81f610be8
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:12:00 2022 +0100

    Update Dockerfile

commit 615a4c32faae6c988d7984337b1d9d708cbb4110
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:10:19 2022 +0100

    Update Dockerfile

commit 4fbe50dff8f9f409eab0e9d48fcc128e4c92034c
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:07:56 2022 +0100

    Update config.yaml

commit 50c2e9528aeadc165116be77c5d6552ddcfe0d56
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:07:48 2022 +0100

    Create env-vars.sh

commit 9fd085fdc201801f741f06891a6629fbee03a5f1
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:07:43 2022 +0100

    Update Dockerfile

commit 2fb819175e0235bbfbaa7117270f88f3ff6b4285
Author: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Date:   Thu Aug 18 21:07:01 2022 +0100

    Create .dockerignore
  • Loading branch information
ankurdotb committed Sep 8, 2022
1 parent 1ef4c17 commit 892b139
Show file tree
Hide file tree
Showing 46 changed files with 676 additions and 348 deletions.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Skip unncecessary folders
.bdjuno/**
build/**
.docs/**
.github/**

# Skip unnecessary files
**/*.md
Dockerfile**
docker-compose.yml
2 changes: 1 addition & 1 deletion .golangci.yaml → .github/linters/.golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
run:
tests: false
# # timeout for analysis, e.g. 30s, 5m, default is 1m
# timeout: 5m
timeout: 10m

linters:
disable-all: true
Expand Down
67 changes: 48 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,67 @@ defaults:

jobs:

unit-tests:
name: "Unit Tests"
build-bdjuno:
name: "BDJuno Docker Image"
runs-on: ubuntu-latest
env:
DOCKER_TEST_IMAGE: bdjuno:${{ github.sha }}

steps:
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
id: buildx
with:
go-version: 1.17
install: true
version: latest

- name: Test & Create coverage report
run: make install test-unit stop-docker-test
- name: Build image
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
platforms: linux/amd64
load: true
target: bdjuno
tags: ${{ env.DOCKER_TEST_IMAGE }}
outputs: type=docker,dest=/tmp/bdjuno-image.tar

- name: Upload Docker test image
uses: actions/upload-artifact@v3
with:
name: bdjuno-image.tar
path: /tmp/bdjuno-image.tar

build-binary:
name: "Build Binary"
build-hasuracli:
name: "Hasura CLI Docker Image"
runs-on: ubuntu-latest
env:
DOCKER_TEST_IMAGE: hasuracli:${{ github.sha }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-go@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
id: buildx
with:
go-version: 1.17
install: true
version: latest

- name: "Install Golang dependencies"
run: |
go mod tidy
make install
- name: Build image
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile.hasura
platforms: linux/amd64
load: true
tags: ${{ env.DOCKER_TEST_IMAGE }}
outputs: type=docker,dest=/tmp/hasuracli-image.tar

- name: "Build BDJuno binary"
run: make build
- name: Upload Docker test image
uses: actions/upload-artifact@v3
with:
name: hasuracli-image.tar
path: /tmp/hasuracli-image.tar
47 changes: 0 additions & 47 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
needs: call-lint
uses: ./.github/workflows/build.yml

call-deploy:
call-release:
name: "Release"
needs: call-build
if: ${{ github.ref_protected == true }}
Expand Down
45 changes: 23 additions & 22 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,33 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.28
args: --timeout 10m
args: --config .github/linters/.golangci.yaml

super-lint:
name: "Super Linter"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to fetch version

- name: Run Super Linter
uses: github/super-linter/slim@v4
env:
IGNORE_GITIGNORED_FILES: true
DEFAULT_BRANCH: "chains/cheqd/mainnet"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: WARN
VALIDATE_ALL_CODEBASE: true
MULTI_STATUS: true
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to fetch version

- name: Run Super Linter
uses: github/super-linter/slim@v4
env:
IGNORE_GITIGNORED_FILES: true
DEFAULT_BRANCH: "chains/cheqd/testnet"
LINTER_RULES_PATH: '.github/linters'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: WARN
VALIDATE_ALL_CODEBASE: true
MULTI_STATUS: true

VALIDATE_BASH: true
VALIDATE_DOCKERFILE_HADOLINT: true
DOCKERFILE_HADOLINT_FILE_NAME: '../linters/.hadolint.yml'
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_OPENAPI: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_XML: true
VALIDATE_YAML: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_JSONC: true
VALIDATE_OPENAPI: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_XML: true
# VALIDATE_YAML: true
72 changes: 69 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,81 @@ on:
defaults:
run:
shell: bash
permissions:
contents: write
packages: write


jobs:

build-bdjuno:
release-binary:
name: "Binary"
runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.set-version.outputs.VERSION }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-go@v3
with:
go-version-file: ./go.mod

# Node.js setup is needed to run Semantic Release
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: "Obtain Github App token"
id: app-token
uses: getsentry/action-github-app-token@v1.0.6
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}

- name: "Install Semantic Release dependencies"
run: npm ci

- name: "Execute Semantic Release"
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set version number
id: set-version
run: |
VERSION=$( git describe --tags ${{ github.sha }})
echo ::set-output name=VERSION::"$VERSION"
release-bdjuno:
name: "BDJuno Docker Image"
runs-on: ubuntu-latest
needs: release-binary
env:
IMAGE_NAME: ${{ github.repository }}
COMMIT_SHA: ${{ github.sha }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-go@v3
with:
go-version-file: ./go.mod

- name: Set network name
id: set-network
run: |
Expand All @@ -46,9 +105,15 @@ jobs:
uses: docker/metadata-action@v4
with:
images: registry.digitalocean.com/${{ env.IMAGE_NAME }}
flavor: |
latest=auto
tags: |
${{ steps.set-network.outputs.NETWORK_NAME }}-latest
type=semver,pattern={{version}},value=${{ needs.release-binary.outputs.VERSION }}
labels: |
org.opencontainers.image.title="BDJuno for cheqd network"
org.opencontainers.image.description="BDJuno for cheqd network"
org.opencontainers.image.source="https://github.com/cheqd/bdjuno"
org.opencontainers.image.vendor="Cheqd Foundation Limited"
org.opencontainers.image.created={{date 'dddd, MMMM Do YYYY, h:mm:ss a'}}
org.opencontainers.image.documentation="https://docs.cheqd.io/node"
Expand All @@ -66,8 +131,9 @@ jobs:
- name: Push BDJuno image
run: |
docker push registry.digitalocean.com/${{ env.IMAGE_NAME }}:${{ steps.set-network.outputs.NETWORK_NAME }}-latest
docker push registry.digitalocean.com/${{ env.IMAGE_NAME }}:${{ needs.release-binary.outputs.VERSION }}
build-hasuracli:
release-hasuracli:
name: "Hasura CLI Docker Image"
runs-on: ubuntu-latest
env:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
### APP-SPECIFIC EXCLUSIONS ###
.bdjuno/**
hasura/config.yaml

# Coverage
coverage.*
Expand Down
Loading

0 comments on commit 892b139

Please sign in to comment.