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

feat: pio/v0.44.5 #21

Merged
merged 25 commits into from
Jan 12, 2022
Merged

Conversation

fkneeland-figure
Copy link

Description

Closes: #XXXX


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 in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • 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 in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

fkneeland-figure and others added 9 commits December 9, 2021 16:08
* convert message router to interface

* Add setter for msg service interface

* Adding a custom fee charging handler, so that if provenance want's they can charge fees for certain msg types.

* refactored variable name.

* Fixing comments on changed files.

* Return transaction context from runTx

* emitting events from AdditionalMsgFeeHandler, since authz and wasm calls need the event too.

* test: Fix comppile issues on existing tests

* handling error on failure to charge additional fee.

* fixing err while deliverTx.

* Update return values to have err at end

* Fix tests

* Refactor to remove pio specific stuff

Co-authored-by: arnabmitra <[email protected]>
RELEASE_NOTES.md Outdated
See the [Cosmos SDK v0.44.5 Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.44.5/CHANGELOG.md) for the exhaustive list of all changes.

**Full Changelog**: https://github.com/cosmos/cosmos-sdk/compare/v0.44.4...v0.44.5
This release adds the fixes from cosmos-sdk upstream v0.44.4 and v0.44.5 to the updated Provenanced version v0.44.3
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Need to update the wording on this.

CHANGELOG.md Outdated

## [v0.44.3-rosetta-fix](https://github.com/provenance-io/cosmos-sdk/tag/v0.44.3-rosetta-fix)

### Improvements

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh..we forgot to add the msg fee Improvement here, i will work on adding it :(

@fkneeland-figure fkneeland-figure changed the title Release pio/v0.44.5 feat: pio/v0.44.5 Jan 11, 2022
@@ -2,7 +2,6 @@ FROM golang:1.17-alpine AS build
RUN apk add build-base git linux-headers
WORKDIR /work
COPY go.mod go.sum /work/
COPY db/go.mod db/go.sum /work/db/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was deleted as the db/ folder does not exist in cosmos-sdk v0.44.5 and thus causes a make localnet-start to fail as well as failing tests.

RELEASE_NOTES.md Outdated
See the [Cosmos SDK v0.44.5 Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.44.5/CHANGELOG.md) for the exhaustive list of all changes.

**Full Changelog**: https://github.com/cosmos/cosmos-sdk/compare/v0.44.4...v0.44.5
This release adds the updates from cosmos-sdk upstream v0.44.4 and v0.44.5 to the msg fee and rosetta fixes added into the Provenanced version v0.44.3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Can we say provenance fork instead of provenanced version?

baseapp/baseapp.go Outdated Show resolved Hide resolved
Copy link

@channa-figure channa-figure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…t takes care of the order of ante and base events, since ante events are charged before all events and fee events are charged at the end.
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (release-pio/v0.44.5.x@33dbf6a). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@                   Coverage Diff                    @@
##             release-pio/v0.44.5.x      #21   +/-   ##
========================================================
  Coverage                         ?   60.83%           
========================================================
  Files                            ?      589           
  Lines                            ?    37611           
  Branches                         ?        0           
========================================================
  Hits                             ?    22881           
  Misses                           ?    12789           
  Partials                         ?     1941           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33dbf6a...26d31b9. Read the comment docs.

Copy link

@arnabmitra arnabmitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fkneeland-figure fkneeland-figure merged commit f672cad into release-pio/v0.44.5.x Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants