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

fix: propagate events in x/foundation through sdk.Results #922

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

0Tech
Copy link
Collaborator

@0Tech 0Tech commented Mar 6, 2023

Description

This patch would propagate events correctly to the current context.

Motivation and context

The x/foundation module does not propagate events correctly to the current context on its MsgExec.
The corresponding bug has been already fixed in the upstream.

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@0Tech 0Tech added A: bug Something isn't working C:x/foundation x/foundation module labels Mar 6, 2023
@0Tech 0Tech self-assigned this Mar 6, 2023
@0Tech 0Tech force-pushed the foundation-exec-event branch from 6f44b7a to 716e5c7 Compare March 14, 2023 08:21
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

Merging #922 (d71a163) into main (d9428ec) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #922   +/-   ##
=======================================
  Coverage   62.36%   62.36%           
=======================================
  Files         655      655           
  Lines       79759    79763    +4     
=======================================
+ Hits        49740    49745    +5     
+ Misses      27335    27334    -1     
  Partials     2684     2684           
Impacted Files Coverage Δ
x/foundation/keeper/exec.go 93.42% <100.00%> (+0.36%) ⬆️

... and 1 file with indirect coverage changes

@0Tech 0Tech marked this pull request as ready for review March 14, 2023 11:02
@0Tech 0Tech merged commit c025e91 into Finschia:main Mar 16, 2023
@0Tech 0Tech deleted the foundation-exec-event branch March 16, 2023 08:20
zemyblue pushed a commit to zemyblue/finschia-sdk that referenced this pull request Mar 17, 2023
* Propagate events in x/foundation through sdk.Results

* Update CHANGELOG.md

(cherry picked from commit c025e91)
zemyblue added a commit that referenced this pull request Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: bug Something isn't working C:x/foundation x/foundation module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants