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(x/ecocredit): add owner to bridge event #1626

Merged
merged 4 commits into from
Nov 22, 2022
Merged

Conversation

ryanchristo
Copy link
Member

Description

Ref: https://github.com/rnd-inc/toucan-bridge-service/pull/271

This pull request adds owner to EventBridge to simplify the extraction of the sender in the bridge service.


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)

@ryanchristo ryanchristo added the backport/v4.1.x backport to release/v4.1.x branch label Nov 22, 2022
@ryanchristo ryanchristo marked this pull request as ready for review November 22, 2022 01:38
@ryanchristo ryanchristo requested a review from a team November 22, 2022 01:38
@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #1626 (7b0b92f) into main (116e9fa) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1626   +/-   ##
=======================================
  Coverage   77.62%   77.62%           
=======================================
  Files         266      266           
  Lines       19480    19481    +1     
=======================================
+ Hits        15121    15122    +1     
  Misses       3490     3490           
  Partials      869      869           
Impacted Files Coverage Δ
x/ecocredit/base/keeper/msg_bridge.go 68.29% <100.00%> (+0.79%) ⬆️


// owner is the owner address.
//
// Since Revision 1
Copy link
Member

Choose a reason for hiding this comment

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

Revision should be added as a package comment too

Copy link
Member Author

Choose a reason for hiding this comment

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

We have a doc.proto file with the comment here. Does that work?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll open a followup once v4.1.5 is released to update in progress to the latest versions and existing revision 1 comments to revision 2 and in progress (which will then be v5.0).

Copy link
Member Author

Choose a reason for hiding this comment

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

@ryanchristo ryanchristo merged commit 9fbf67e into main Nov 22, 2022
@ryanchristo ryanchristo deleted the ryan/bridge-event-owner branch November 22, 2022 16:58
mergify bot pushed a commit that referenced this pull request Nov 22, 2022
(cherry picked from commit 9fbf67e)

# Conflicts:
#	CHANGELOG.md
#	api/regen/ecocredit/v1/events.pulsar.go
#	x/ecocredit/core/events.pb.go
#	x/ecocredit/server/core/features/msg_bridge.feature
ryanchristo added a commit that referenced this pull request Nov 22, 2022
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v4.1.x backport to release/v4.1.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants