-
Notifications
You must be signed in to change notification settings - Fork 105
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(evm): include minHeight in VoteConfirmDeposit result event #1240
Conversation
x/evm/keeper/msg_server.go
Outdated
@@ -776,10 +776,13 @@ func (s msgServer) VoteConfirmDeposit(c context.Context, req *types.VoteConfirmD | |||
return nil, fmt.Errorf("cross-chain sender has no recipient") | |||
} | |||
|
|||
height, _ := keeper.GetRequiredConfirmationHeight(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think you should ignore the error here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - have handled the bool that's returned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blocking because of @sammy1991106's comment
Pull Request is not mergeable
Description
This PR allows the microservices to simply fetch the minimum confirmation height for a given
VoteConfirmDeposit
result event by reading the event attributes.vald uses the same approach to get this value when responding to a start
ConfirmDeposit
request.Todos
Steps to Test
Expected Behaviour
Other Notes