Skip to content

Commit

Permalink
SDK: Bump Cosmos SDK to v0.44.3 (#326)
Browse files Browse the repository at this point in the history
* feat: bump cosmos and ibc proto files

* feat: bump dependencies in go.mod and add ibc

* chore: run proto-gen

* feat: rename codec interfaces and methods

* feat: update API breaking name and parameter changes

* fix: make vote options weighted

* chore: remove legacy migration code

* feat: add authz and feegrant modules

* feat: remove unsafe bank module apis in module tests

feat: add authz and feegrant modules to simapp
fix: replace InitializeandSeal with Seal in app

* feat: remove bech32 pubkey support

* feat: get rid of unsafe bank module api in cvm and cert

fix: update upgrade handler template

* fix composite literal warning in simapp

* fix: correctly mint and burn tokens in cvm

* fix: uncomment check for expired entries in shield purchase

* fix: remove capability seal and upgrade handler contents

* fix: use NewNonSplitVoteOption for single option votes

* fix: use sdk simapp test helpers

* chore: separate ibc imports from sdk imports

* SDK: 0.44.3 upgrade from 0.44.0 & sim test fix (#331)

* fix some bugs & structs. upgrade to sdk 0.44.3

* remove authz and feegrant modules

* revert banktypes to sdkbanktypes

* rename Codec to Marshaler, and fix simulations

* fix gov tally logic

* add evidence to exportgenesis

* refactor voteoptions handling

* CI: fix lint failure (#335)

* add dependencies requirement to lint

* update golang version

* add timeout config to lint

* Update Changelog to Reflect SDK v0.44.3 Bump (#336)

* chore: clean up and add entries to changelog

* chore: update changelog to reflect recent changes

Co-authored-by: Michael Park <michael.park@certik.org>

* Implement in-place store migration (#334)

* implement in-place store migration

* fix consensus versions and add a test

* update unit test

* lint

* remove tx hash from gov votes and add migration

* remove tx hash from gov type Deposit

* unit test fix

* update upgrade name

* separate migration logic from app.go

* reorder upgrade handler and register legacy types for migration

* APP: Fix Auth module MVA in-place migration (#344)

* module level migration WIP

* add auth migration again after first migration

* changelog

* Update CHANGELOG.md

Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>

* run lint

* Oracle: Add sender checks when removing an operator (#345)

* upgrade go-ibc to 2.0.0 (#348)

* fix upgrade order (#349)

Co-authored-by: Michael Park <michael.park@certik.org>
Co-authored-by: Subal Pant <email@example.com>
Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>
Co-authored-by: Hyoung-yoon Kim <hy.kim@certik.org>
Co-authored-by: yoongbok lee <yoongbok.lee@certik.org>
  • Loading branch information
6 people committed Dec 1, 2021
1 parent 1ac64b6 commit 6652a4f
Show file tree
Hide file tree
Showing 206 changed files with 6,480 additions and 4,775 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ version: 2.1
executors:
golang:
docker:
- image: circleci/golang:1.15.5
- image: circleci/golang:1.16.3
working_directory: /go/src/github.com/certikfoundation/shentu
mac:
macos:
xcode: "10.3.0"
working_directory: /Users/distiller/project/src/github.com/certikfoundation/shentu
environment:
GO_VERSION: "1.15.5"
GO_VERSION: "1.16.3"
commands:
make:
parameters:
Expand Down Expand Up @@ -330,4 +330,4 @@ workflows:
- upload-coverage:
requires:
- test-cover
- lint
- lint
58 changes: 40 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,42 @@ Ref: https://keepachangelog.com/en/1.0.0/

# Changelog

## [v2.1.0] - 08-09-2021
## Unreleased

### Client Breaking Changes
* (x/cert) [\#326](https://github.com/certikfoundation/shentu/pull/326) Remove `Bech32` encoding for validator pubkeys.

### API Breaking Changes
### State Machine Breaking Changes
* (app) [\#326](https://github.com/certikfoundation/shentu/pull/326) Bump Cosmos SDK to v0.44.3.
* (app) [\#334](https://github.com/certikfoundation/shentu/pull/334) Implement in-store migration from v2.2.0 to v2.3.0.
* (x/gov) [\#334](https://github.com/certikfoundation/shentu/pull/334) `TxHash` field has been removed from `Vote` and `Deposit` types.

### Features
* (app) [\#326](https://github.com/certikfoundation/shentu/pull/326) Add `authz` and `feegrant` modules.

### Improvements
* (deps) Bump Tendermint to v0.34.14.

### Tests
### Bug Fixes
* (x/shield) [\#326](https://github.com/certikfoundation/shentu/pull/326) Add checks for expired entries in shield purchase.
* (x/gov) [\#331](https://github.com/certikfoundation/shentu/pull/331) Fix gov tally logic.


## [v2.1.0] - 09-03-2021

Version 2.1.0 re-enables endblocker in the staking module, and bumps SDK to 0.42.9 for necessary query route.

### Client Breaking Changes
### API Breaking Changes
* (auth) [\#323](https://github.com/certikfoundation/shentu/pull/241) Fix ManualVestingAccount proto package route.
### State Machine Breaking Changes
* (staking) [\#323](https://github.com/certikfoundation/shentu/pull/241) Re-enable staking endblockers.
* (x/staking) [\#323](https://github.com/certikfoundation/shentu/pull/241) Re-enable staking endblockers.

### Features
### Improvements
* (app) [\#323](https://github.com/certikfoundation/shentu/pull/241) Bump CosmosSDK to 0.42.9.
* (app) [\#323](https://github.com/certikfoundation/shentu/pull/241) Bump Cosmos SDK to 0.42.9.

### Tests
### Bug Fixes

Expand All @@ -56,19 +80,19 @@ Version 2.0.0 brings many breaking changes with SDK upgrading to Stargate versio

### Client Breaking Changes
* (app) [\#241](https://github.com/certikfoundation/shentu/pull/241) Renamed default binary name to `certik`.
* (oracle) [\#303](https://github.com/certikfoundation/shentu/pull/303) Oracle client commands refactor.
* (x/oracle) [\#303](https://github.com/certikfoundation/shentu/pull/303) Oracle client commands refactor.

### API Breaking Changes
* (cvm) [\#231](https://github.com/certikfoundation/shentu/pull/231) Remove direct solidity file deployment.
* (shield) [\#244](https://github.com/certikfoundation/shentu/pull/244) Fix shield query & state export.
* (cert) [\#249](https://github.com/certikfoundation/shentu/pull/249) Certification module refactor.
* (shield) [\#269](https://github.com/certikfoundation/shentu/pull/269) Shield gRPC query refactor.
* (x/cvm) [\#231](https://github.com/certikfoundation/shentu/pull/231) Remove direct solidity file deployment.
* (x/shield) [\#244](https://github.com/certikfoundation/shentu/pull/244) Fix shield query & state export.
* (x/cert) [\#249](https://github.com/certikfoundation/shentu/pull/249) Certification module refactor.
* (x/shield) [\#269](https://github.com/certikfoundation/shentu/pull/269) Shield gRPC query refactor.

### State Machine Breaking Changes
* (app) [\#221](https://github.com/certikfoundation/shentu/pull/221) Upgraded SDK to 0.42.9.
* (shield) [\#286](https://github.com/certikfoundation/shentu/pull/286) Fix shield emitted events to include sender.
* (cert) [\#302](https://github.com/certikfoundation/shentu/pull/302) Removed validator certificate.
* (cvm) [\#301](https://github.com/certikfoundation/shentu/pull/301) Removed zero-address coins recycling.
* (x/shield) [\#286](https://github.com/certikfoundation/shentu/pull/286) Fix shield emitted events to include sender.
* (x/cert) [\#302](https://github.com/certikfoundation/shentu/pull/302) Removed validator certificate.
* (x/cvm) [\#301](https://github.com/certikfoundation/shentu/pull/301) Removed zero-address coins recycling.

### Features
* (ibc) [\#251](https://github.com/certikfoundation/shentu/pull/251) Add IBC support.
Expand All @@ -84,8 +108,8 @@ Version 2.0.0 brings many breaking changes with SDK upgrading to Stargate versio

### Bug Fixes
* (app) [\#254](https://github.com/certikfoundation/shentu/pull/254) Disable module account receiving coins.
* (gov) [\#259](https://github.com/certikfoundation/shentu/pull/259) Gov module bug fixes.
* (gov) [\#268](https://github.com/certikfoundation/shentu/pull/268) Fix proposal migration bug.
* (x/gov) [\#259](https://github.com/certikfoundation/shentu/pull/259) Gov module bug fixes.
* (x/gov) [\#268](https://github.com/certikfoundation/shentu/pull/268) Fix proposal migration bug.

## [v1.3.1] - 02-05-2021

Expand Down Expand Up @@ -127,7 +151,7 @@ Version 2.0.0 brings many breaking changes with SDK upgrading to Stargate versio
* (x/shield) [\#170](https://github.com/certikfoundation/shentu/pull/170) Fixed conditional check for depositing collateral


## v1.1.0 - 11-11-2020
## [v1.1.0] - 11-11-2020

### Client Breaking Changes
### API Breaking Changes
Expand All @@ -146,16 +170,14 @@ Version 2.0.0 brings many breaking changes with SDK upgrading to Stargate versio
* (x/auth) [\#124](https://github.com/certikfoundation/shentu/pull/124) Fixed locked send event output.
* (x/gov) [\#145](https://github.com/certikfoundation/shentu/pull/145) Fixed param change proposal for simulations.

## v1.0.0 - 10-24-2020
## [v1.0.0] - 10-24-2020

### Client Breaking Changes

### API Breaking Changes
* (x/oracle) [\#6](https://github.com/certikfoundation/shentu/pull/6) Updated the `aggregate_task` event.
* (x/gov) [\#9](https://github.com/certikfoundation/shentu/pull/9) Paginated query and next page field in votes query.

### State Machine Breaking Changes

### Features
* (x/cvm) [\#15](https://github.com/certikfoundation/shentu/pull/15) Enabled EWASM supoort.
* (x/auth) [\#7](https://github.com/certikfoundation/shentu/pull/7) Added new vesting account type ManualVestingAccount.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ tidy:
@go mod tidy

lint: tidy
@GO111MODULE=on golangci-lint run --config .golangci.yml
@GO111MODULE=on golangci-lint run --config .golangci.yml --timeout 10m

########## Testing ##########

Expand Down
Loading

0 comments on commit 6652a4f

Please sign in to comment.