Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Activate protobuf linter #444

Merged
merged 1 commit into from
Nov 10, 2022
Merged

ci: Activate protobuf linter #444

merged 1 commit into from
Nov 10, 2022

Conversation

ankurdotb
Copy link
Contributor

No description provided.

@ankurdotb ankurdotb merged commit ea4b573 into develop Nov 10, 2022
@ankurdotb ankurdotb deleted the linter branch November 10, 2022 09:16
ankurdotb added a commit that referenced this pull request Dec 8, 2022
* Set working directory

* Update test.yml

* Update test.yml

* Update test.yml

* Install Ginkgo in CI

* Release needs test

* Update Gingko flags

* Reactivate Github Actions linter

* Fix typo in variable

* Add JUnit reports

* debug

* debug

* debug

* Update dispatch.yml

* Move to another JUnit action

* Debug junit report

* Comment out the lines with junit reports

* Review comments

* Add workaround for installing ginkgo

* debug

* debug

* Fix the version of ginkgo for CLI

* Update ginkgo to the latest version

* Add token for JUnit

* Move to another access token

* Add template for report files

* Debug

* Debug

* Debug

* Debug

* Add permissions for checks

* Check fails

* Check failure case

* MAke it more verbose

* Move test back

* Try JSON reporter

* Try flutter reporter

* Try dart JSON reporter

* Keep only JUnit reports

* Removed bloat

* Restored linters & `gofumpt -ed`

* Rename report files

* Divide tests to unit and integrations into separate workflows

* Rename workflow files

* Fix dispatch

* debug

* Add report combining

* Add new job for workflows

* Fix yml

* Fix yml

* Small fixes

* Added leaf node report entries

* Fix name for uploading

* Get rid of debug

* Removed error tail & improved case reporting per leaf node

* Fix output

* Get rid of debug

* Show integration results firstly

* Added distinct separation

* Add release workflow back

* Change deps for release job

* Change check name to empty string

* Fixed missing chars

* Update mlc_config.json

* Combine different integration workflows into one

* Update dispatch for combined test

* Update dispatch.yml

* Merge with develop and change the checksum calculation func

* Makes linter happy

* Merge with develop changes

* Merge with develop

* chore(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#417)

* chore(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.5.0...v1.6.0)

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

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

* Bump go.sum

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>

* chore(deps): Bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#388)

* chore(deps): Bump github.com/spf13/viper from 1.12.0 to 1.13.0

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.12.0...v1.13.0)

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

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

* Update go.sum

* Update go.mod

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>

* Update dispatch.yml

* Fix proto lint stage

* Get rid of unused tests

* Add review for migration in format of todo

* Fixed `icahostkeeper` instantiation

* Removed deprecated workarounds

* Add to do for migration

* Inline hash function

* Bump `github.com/onsi/ginkgo/v2@v2.4.0`

* Fix assertion

* Debugging

* Fixed deps

* Removed deprecated configs

* Move tests in cheqd module to the new approach

* chore(deps): Bump bufbuild/buf-setup-action from 1.8.0 to 1.9.0 (#423)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  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>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

* chore(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 (#422)

* chore(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.1

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.5.0...v1.6.1)

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

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

* build: Release with v-tags (#424)

* fix(installer): Get installer to handle multi-platform binaries [DEV-1667] (#376)

* Add support for determining the correct Github Release asset based on OS type and architecture
* Set recommended Docker image version

Signed-off-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@evernym.com>

* fix(installer): Backport to v0.6.x release branch (#379)

* dragonberry

* dragonberry

* build: Backport workflow and other fixes to release/0.6.x branch [DEV-1822] (#410)

* feat(installer): Get installer to handle multi-platform binaries [DEV-1667] (#376)
* Add support for determining the correct Github Release asset based on OS type and architecture
* Set recommended Docker image version

Signed-off-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@evernym.com>

* fix(release): Bump semantic release package (#377)
Bump semantic release

* ci: Add v0.6.x release branch (#378)
Update .releaserc.json

* chore(deps-dev): Bump semantic-release from 19.0.4 to 19.0.5 (#383)
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.4 to 19.0.5.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v19.0.4...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>

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

* bump: Proto dependencies (#391)

* chore(deps): Bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 (#393)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  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>

* chore: Fix installer template for rsyslog [DEV-1815] (#403)

* Remove Debian postinstall/purge scripts
* Fix rsyslog template

* ci: Sync workflow changes to main [DEV-1816] (#407)

* Fix localnet running
* Squashed commit of the following:
* Change dispatch dependencies
* Add persist credentials to CodeQL
* Update .releaserc.json
* Update package-lock.json
* Added Docker metadata step to build
* Add updated caching and tagging in release
* Update test.yml
* Cache go setup
* Deactivate junit action
* Update dispatch.yml
* Bump go mod
* Revert changes in sync
* Reset testify

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@dsr-corporation.com>
Co-authored-by: abdulla-ashurov <abdulla.ashurov@dsr-corporation.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>

* Bump version of cosmos sdk

Signed-off-by: Andrew Nikitin <andrew.nikitin@cheqd.io>

* Go mod tidy

* Switch back to cheqd cosmos fork

* Fix build

* Bump dockerfile go v1.18

* Added recommended patch changes

* Update configure.go

* Woraround for Tendermint's defaut storage config

* Fix dockerfile

* Remove .dockerignore

* Fix cosmos deafult config

* Create .dockerignore

* Revert copy stage changes

* Bump golang CI linter to 1.18

* Bump CodeQL to 1.18

* Update .releaserc.json

* Update package-lock.json

* Update go.mod

Signed-off-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@dsr-corporation.com>
Co-authored-by: abdulla-ashurov <abdulla.ashurov@dsr-corporation.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>
Co-authored-by: Tasos <50984242+Eengineer1@users.noreply.github.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>

* chore(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.1

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.5.0...v1.6.1)

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

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

* Update go.sum

* Update gomod

* Update go.mod

* Update go.mod

* Update go.mod

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Signed-off-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@dsr-corporation.com>
Co-authored-by: abdulla-ashurov <abdulla.ashurov@dsr-corporation.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>
Co-authored-by: Tasos <50984242+Eengineer1@users.noreply.github.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>

* Remove unused constant

* Debugging

* Cleanup

* Add deactivation transaction

* Remove unused messages

* Make it works for DID creation tests

* Triggering fresh run

* `gofumpt -ed`

* Fix account prefix

* Remove redundant replaces

* Use app name as env prefix (as was before)

* Revert bad changes

* Use db backend from config

* Introduce another approach and add more tests

* Restore dragonberry replace

* For the previous commmit

* Merge IBC migration with the next upgrade handler

* Add RedundantRelayDecorator ante to the app

* Add group module

* fix: Use proto marshaller instead of amino to derive sign bytes [DEV-1694]

* Make optimizations

* Clean up

* Cleanup

* fix: Triggering fresh run

* Add fix and utils tests

* Fix tests

* Makes linter happy

* fix: Triggering re-written commit hash run

* Cleanup

* Remove unused code

* Update proto package destination

* Move old types to v1 directory

* Regenerate protobufs

* Refactoring

* Fix deactivate api

* Regenerate protobufs

* Checkpoint

* Restore cheqd types pachage

* Fixed cheqd keeper package

* Finish cheqd module

* Add data field to msgCreateResource

* Fix resource module

* Fix integration tests

* Fix liner issues

* Add continue on error to proto change detection

* Comment buf breaking change detection

* Fix integration tests

* Revert odd changes

* Cleanup

* Cleanup

* Rename cheqd package to did

* Regenerate protobufs

* Diddoc versioning implementation

* Fix unit tests

* ci: Add automatic and manual branch cache cleanup (#441)

* Branch cache clean

* Add cache cleaning workflows

* Update package-lock.json

* fix: Add support for Ledger nano (#442)

* fix: Added support for ledger nano s plus (#385)

* Added support for ledger nano s plus

* Added support for ledger nano s plus

* Update go.sum

* Update go.mod

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>

* Update go.mod

* Update dispatch.yml

Co-authored-by: Gjermund Garaba <gjermund@empower.eco>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>

* Fix integration tests

* Fix linter isssues

* Implement getAllDidDocVersions query

* Cleanup

* Fix typo in latestVersionIterator

* Update create DID test descriptions

* Fix typo in CreateDidDocWithExternalControllers

* Updated test descriptions for update

* Update descriptions for DID deactivate tests

* Update diddoc_diddoc_test.go

Updated text of tests

* Update diddoc_service_test.go

Updated test case descriptions

* VM test descriptions

* ci: Activate protobuf linter (#444)

Update lint.yml

* Update query.proto

* Remove previous_version_id + rename msgs

* Improve resource -> also know as property

* Fix integration tests

* Cleanup

* chore: Temporary deactivate buf breaking changes detection (#445)

* chore: Add deactivation test (#451)

* build(buf): Change buf.build package name (#453)

* Change proto package name

* Activate buf breaking linter

* buf format -w

* Change DID and Resources URL structures

* make proto-gen

* chore: Update go.mod and go.sum

* fix: Remove cheqd-noded configure command from node [DEV-1902] (#449)

* remove configureCmd

* remove post_install method from installer.py

* remove add-observer.sh from upgrade/cosmovisor

* remove add-observer.sh from interactive-install

* remove post_install method usage

* keep post_install method empty

* Update config.toml and app.toml defaults

* Bump alpine image version to latest

* Update default persistent flags

* Set --gas flag correctly

Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

* feat: Update resource checksum to be hex encoded (#461)

* Update resource checksum to be hex encoded

* Temporary disable proto breaking change detection

* feat: Add default resource url (#464)

feat: Add default ressource url

* build(deps): Cosmos SDK v0.46.6 & ibc-go v5.1 [DEV-1954] (#458)

build(deps): Cosmos SDK v0.46.6 & ibc-go v5.1

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

* feat(migrations): Added migration tests basic frame & PoC (#418)

* Debugging proposal versioning

* Fixed to legacy types

* Fixed query return type

* Added impl check

* Added extended registry

* `gofumpt -ed`

* Added current def

* Added shorter voting period by default

* Fixed to a tad shorter voting period

* Added clean env image load

* Fixed paths & permissions

* `gofumpt -ed`

* Bump `ginkgo@latest` & improvements

* unstash changes

* Merge with protobuf changes

* Cleaning up

* Debugging reboot with new image

* Debugging

* Debugging

* Added baseapp module migration order

* Removed buf breaking wf temporarily

* Skipped capability from version map

* Skipped distribution module directly to v2

* Skipped staking module directly to v3

* Added `min_commission_rates` to genesis & improvements

* Fixed traverse

* Added switch to fresh genesis

* Switched to pre-halt

* Added subspace persist

* Removed interactive

* Upgrade works, debugging status ping

* Added larger time window for catching up after upgrade

* Fixed time window

* Added much larger time window

* Some changes for syncing

* Fixed multiline prepended cli output

* Fixed declaration

* Add protobuf migration

* Backwards compatibility for gas estimate print

* Bump digits EOF inclusive

* Switched to caught up validator

* Added deep equality extra cases

* Fixed key mismatch

* Fixed assertion

* Add some changes for resource migrations

* Added distinct steps prints

* Cleanup

* Update build.yml

* Create mainnet-latest.env

* Rename build file

* Update docker-compose.yml

* small renamings

* Additional broken changes to workflow

* Checkpoint

* Refactor for Proto v2

* Removed unused definition

* Removed extra

* Added pre upgrade step & compose improvements

* Fixed carry

* Removed bloat

* Removed bloat

* Added external pull

* Debugging on latest

* Debugging

* Added latest binary for config generation

* Fixed dir

* Debugging

* Removed operator key defs

* Removed trips

* Added update, deactivate , resource cases & improvements

* Added temporary key copies

* Restructured with temporary steps

* Added image load

* Fixed step

* Fixed cwd

* Fixed cwd

* Added env

* Restored permissions

* Switched to full dir

* Switched to multibase char rather than bytes & improvements

* Fixed resource file mismatch

* Fixed carry

* Added alternate base58 payload

* Added assertion method

* Added post & improvements on pre

* Triggering fresh run

* Debugging

* Added temp wait

* Fixed versioning

* Added status ping on catching up & improvements

* Fixed versioning

* Fixed literals & improvements on versioning

* Fixed literals

* Fixed versioning

* Switched to legacy query

* Added module version map match & v1 proto keeper, msg server

* Added distinction

* Fixed deps

* Synced across migration handlers & improvements on scenario handling

* Added nolint rules to scaffolds

* Removed extra genesis record, will be needed to start afresh

* Removed deprecated part

* Switched to login

* Trying out bind volumes as operator keys

* Debugging

* Removed bound volumes, since nodes are not syncing

* Finish Indy-style migration

* Make it buildable after merging with develop

* Added unified payload - sign input logic

* Temp takedown of buf breaking changes linter

* Fixed error handling & improvements

* Temporarily disable unit upgrade tests

* Debugging

* Added new temporary test setup

* Run the first scenario

* Move upgrade unit tests into a separate stage

* Fix linter issues

* Add setup and cleanup scripts

* Exptract steps into bash scripts

* Fix permissions

* Premissions fix

* refactor test migrator and add tests for checksum and protobuf

* Makes linter happy

* Cleanup

* Fix build

* Debugging

* Add JUnit report for Upgrade step

* Make protobuf and checksum tests work

* Separate unit and integration upgrade test

* Upgrade test suits

* Fix namespaces

* Minor fixes

* Extract proto related migrations into it's own files

* Commit for sync

* Fix merge issues

* Fixes

* Commit for sync

* Sync

* Misc

* Make IndyStyle migration works

* Merge with latest changes

* Makes linter happy

* Reviewing migrations

* Fix bug

* Fix merge conflicts

* Fix iterator issue

* Run test pipelines

* Clean up

* Review checksumm migration

* Restore build tags

* Extract simple migration helpers

* Implement version id migration

* Unstash

* Run it on pipelines

* Fix tests running on pipelines

* Fix cleanup

* Fix test reporting

* Remove redundant files

* Add generic dataset implementation

* Cleanup

* Cleanup

* Add uuid migration

* Add resource version links migration

* Fix build

* Add unit tests for UUID (#456)

* Move version setting to SetResource method

* Make UUID tests for migration

* Add tests for VersionId and create AddNewVersionMethod

* Clenup

Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>

* Fix version links migration

* Restore version links migration

* Cleanup

* Vresion map fix attempt

* Cleanup

* Simplify unit test workflow

* Add more migration handlers

* Update test.yml

* Try disabling version map fix

* Uncomment integration tests

* Reorganize file structure

* Restore vm fix, fix linter

* Add resource links test (#457)

Add tests for resource links

* Add uuid migration for resource id

* Commit for sync

* add checksum to datasets

* Add diddoc pre update

* Fix migration unit tests

* Merge with latest version

* Fix tests for post checks

* Makes linter happy

* Fix pipelines

* Fix resource unit tests

* Better test structure

* Fix loader

* Debugging post did update

* For the previous commit

* Fix signature verification bug

* Add did deactionvation

* Fix update and deactivate cases

* DIDDoc queries update

* Update tx_create_diddoc.go

* Update tx_deactivate_diddoc.go

* Update tx_update_diddoc.go

* Update query_diddoc.go

* Rename create-resource

* Update go.mod

* Update migration_did_protobuf.go

* Add resource default alternative url migration

* Enable default alternative url migration + add test for it, fix build

* Added resource creation after upgrade

* Fix tests

* Rename create-resource to create for tests

* Move resource creation before queries

* Fix resource tests

* Move directory structure

* Fix tests after directory migration

* Temporary disable markdown linting

* Remove unused constants

* Implement all versions deactivation

* Fix linter issues

* Fix broken link

Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>

* feat(pricing): Add taxable did & resource messages, supply deflation, block rewards & `simapp` tests (#392)

* Raise of InitBlock order of execution

* Bump to include upstream AppHash fix

* Raised order of InitGenesis

* Debugging

* Debugging v2

* Restored ante & post, genesis validation improvements

* Cleanup

* Fix build

* Debugging

* Add JUnit report for Upgrade step

* Make protobuf and checksum tests work

* Separate unit and integration upgrade test

* Split fixed fee & simulation gas

* Upgrade test suits

* Fix namespaces

* Debugging

* Switched to broadcast block

* Switched to lite calc

* Debugging with default feedecorator

* Added fee payer flag

* Debugging

* Debugging v2

* Removed simulation checks

* Debugging

* Added basic frame & improvements on unit tx lifecycle

* Fixed return type

* Minor fixes

* Extract proto related migrations into it's own files

* Commit for sync

* Fix merge issues

* Fixes

* Fixed flag

* Fixed response types

* Slight fixes

* Switched base accounts

* Debugging

* Commit for sync

* Sync

* Debugging

* Debugging v2

* Debugging v3

* Switched to short quantities

* Added logs step

* Added overhead

* Cleanup

* Fixed to deterministic order of InitGenesis

* Switched to preceding lite validation

* Bump from retracted

* Debugging

* Debugging v2

* Misc

* Make IndyStyle migration works

* Merge with latest changes

* Makes linter happy

* Reviewing migrations

* Fix bug

* Fix merge conflicts

* Cherry picked

* `gofumpt -ed`

* Fixed non-deterministic behavior of InitGenesis

* Switched to hard typed fee params proto definitions

* Switched order of querying supply

* Bump Ginkgo & gas adjustment

* Tidied

* Bump adjustment

* Bumped adjustment

* Fix iterator issue

* Run test pipelines

* Clean up

* Review checksumm migration

* Restore build tags

* Extract simple migration helpers

* Implement version id migration

* Unstash

* Run it on pipelines

* Fix tests running on pipelines

* Fix cleanup

* Fix test reporting

* Remove redundant files

* Added integration pricing set

* Fixed start time

* Fixed start <> end

* Slight fixes

* Added fee grant params generator

* Added zero checks

* Running whole package

* Added empty base account & improvements

* Fixed validation

* Fixed falsy error codes

* Restored extras

* Fixed race conditions

* Add generic dataset implementation

* Slight fixes

* Cleanup

* Added extra base account

* Fixed denom

* Added extra headroom for insufficient funds cases

* Cleanup

* Fixed order

* Switched order for consequent executions and race conditions

* Bypass buf breaking

* Add uuid migration

* Cleanup

* Removed debug prints

* `gofumpt -ed`

* Add resource version links migration

* Fix build

* Add unit tests for UUID (#456)

* Move version setting to SetResource method

* Make UUID tests for migration

* Add tests for VersionId and create AddNewVersionMethod

* Clenup

Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>

* Fix version links migration

* Restore version links migration

* Cleanup

* Vresion map fix attempt

* Cleanup

* Simplify unit test workflow

* Add more migration handlers

* Update test.yml

* Try disabling version map fix

* Uncomment integration tests

* Reorganize file structure

* Restore vm fix, fix linter

* Add resource links test (#457)

Add tests for resource links

* Added upgrade handling for pricing

* Fixed path

* Fixed path v2

* Fixed path v3

* Fixed keys import

* Added binary replacement step

* Debugging

* Switched to another base account, race conditions

* Added co-dependency

* Switched dep

* Added extra output trim

* Removed dependency

* Fixed allocation

* Added debug section

* Fixed debug statements

* Added extra line trim

* Switched to helper

* Switched to json contents

* Restored top level proposal type

* Added file passing with permissions

* Debugging

* Bubble up debug output

* Restored post ping

* Switched to unescaped

* Fixed output trim redundant messages

* Removed bloat

* Cleanup

* Debugging

* Cleanup

* Debugging

* Fixed order

* Skip directly to version

* Fixed order

* Added v1 query

* Registered msg impl

* Added content proto def

* Added resource param change proposal

* Cleanup

* test(migration): Gingko tests for identity pricing migrations [DEV-1744] (#455)

* feat: Migrate fee_tests.go

* feat: ReStructure ante_test

* fix: Linting errors

* feat: Update error handling

* feat: Migrate keeper tests to ginkgo

* Add uuid migration for resource id

* Restored module version map tests

* Fixed key ref

* Commit for sync

* add checksum to datasets

* Add diddoc pre update

* Switched to previous state, non-altering results anyway

* Skip InitGenesis of did module

* Removed migrators as init migrations will be part of the upgrade handler

* Fix migration unit tests

* Merge with latest version

* Added explicit version set on resource module

* Fix tests for post checks

* Makes linter happy

* Fix pipelines

* Fix resource unit tests

* Better test structure

* Fix loader

* Debugging post did update

* For the previous commit

* Fix signature verification bug

* Added final default params

* Added module version map generic fix

* Fixed prop expected values

* Add did deactionvation

* Fix update and deactivate cases

* DIDDoc queries update

* Update tx_create_diddoc.go

* Update tx_deactivate_diddoc.go

* Update tx_update_diddoc.go

* Update query_diddoc.go

* Rename create-resource

* Update go.mod

* Update migration_did_protobuf.go

* Add resource default alternative url migration

* Enable default alternative url migration + add test for it, fix build

* Added resource creation after upgrade

* Fix tests

* Rename create-resource to create for tests

* Move resource creation before queries

* Fix resource tests

* Move directory structure

* Checkpoint of notes

* Resolving merge with migration tests

* Disabled temporarily breaking action

* Fixed build tags

* Fixed paths & removed redundant defs

* Fixed conditional explicit set on version map

* Restored pre tests

* Added import step

* Fixed codec entries

* Added separation of decoding stages

* Bypassing dead link temporarily

* Fixed order

* Added latest defaults

* Added prop expected values

* Fixed readme dead link

* Minor nits

* Remove redundant remarks & fixed typos

* Temp disabled buf breaking

* chore: Remove moved dir

* Bump gas adjustment

* Added explicit `gasLimit` cap on fixed fee decl

Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: DaevMithran <61043607+DaevMithran@users.noreply.github.com>

* Minor formatting changes

* Update test.yml

* Update container variables

* Update keeper_param_change_proposal_test.go

* Fixed workflow upload errors

* docker(no-release): Fix Docker healthcheck

* fix(no-release): Switched to val-0 to run txs

* ci(no-release): Fix report upload

* ci: Update package lock

* ci: Change Test workflow name

* docs: Update README

* fix(no-release): Added waiting period for producing blocks after the upgrade

* ci: path fix

* fix(no-release): buf format

* ci: Download all tests

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Signed-off-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@cheqd.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@evernym.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Alexander Kolesov <alexandr.kolesov@dsr-corporation.com>
Co-authored-by: abdulla-ashurov <abdulla.ashurov@dsr-corporation.com>
Co-authored-by: Gjermund Garaba <gjermund@empower.eco>
Co-authored-by: Benyam Seifu <45682486+benyam7@users.noreply.github.com>
Co-authored-by: DaevMithran <61043607+DaevMithran@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant