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(nexus): gmp events metadata #2187

Closed
wants to merge 5 commits into from

Conversation

haiyizxx
Copy link
Contributor

Description

Todos

  • Unit tests
  • Manual tests
  • Documentation
  • Connect epics/issues
  • Tag type of change
  • Upgrade handler

Steps to Test

Expected Behaviour

Other Notes

@haiyizxx haiyizxx force-pushed the AXE-5194-core-GMP-metadata-events branch from 359710c to 2180024 Compare September 26, 2024 14:26
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.84%. Comparing base (2c52c94) to head (04cf91f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2187      +/-   ##
==========================================
- Coverage   49.42%   39.84%   -9.59%     
==========================================
  Files         272      373     +101     
  Lines       16151    30868   +14717     
==========================================
+ Hits         7983    12299    +4316     
- Misses       7557    17645   +10088     
- Partials      611      924     +313     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@haiyizxx haiyizxx marked this pull request as ready for review September 26, 2024 14:52
@haiyizxx haiyizxx requested a review from a team as a code owner September 26, 2024 14:52
@haiyizxx haiyizxx force-pushed the AXE-5194-core-GMP-metadata-events branch from 5cfba64 to 9a8db9e Compare September 27, 2024 09:38
@haiyizxx haiyizxx changed the base branch from main to releases/1.0.x September 30, 2024 16:31
@haiyizxx haiyizxx changed the base branch from releases/1.0.x to main September 30, 2024 16:31
@haiyizxx haiyizxx force-pushed the AXE-5194-core-GMP-metadata-events branch from e856a60 to 04cf91f Compare September 30, 2024 17:03
x/axelarnet/message_handler.go Show resolved Hide resolved
@@ -57,9 +57,25 @@ message MessageReceived {

message MessageProcessing { string id = 1 [ (gogoproto.customname) = "ID" ]; }
Copy link
Member

@milapsheth milapsheth Sep 30, 2024

Choose a reason for hiding this comment

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

what about this one? Let's add it here for consistency as well. I think axelarscan might have requested this at some point as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can add, they didn't ask for this

if fee == nil {
return token, nil
}

feeAmount := funcs.MustOk(sdk.NewIntFromString(fee.Amount))
coin := sdk.NewCoin(funcs.Must(token.GetOriginalDenom()), feeAmount)
recipient := funcs.Must(sdk.AccAddressFromBech32(fee.Recipient))
destinationChain = nexus.ChainName(strings.ToLower(destinationChain.String()))
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this necessary? It's the same type. Is this about casing? If so, can you add a comment?

@haiyizxx
Copy link
Contributor Author

close in favour of #2187

@haiyizxx haiyizxx closed this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants