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

Fee middleware: query endpoints #479

Closed
3 tasks
seantking opened this issue Oct 8, 2021 · 0 comments
Closed
3 tasks

Fee middleware: query endpoints #479

seantking opened this issue Oct 8, 2021 · 0 comments
Assignees
Labels
29-fee good first issue Good for newcomers

Comments

@seantking
Copy link
Contributor

seantking commented Oct 8, 2021

Summary

The fee module should also expose the following queries so that relayers may query their expected fee:

// Gets the fee expected for submitting ReceivePacket msg for the given packet
// Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s).
function GetReceiveFee(portID, channelID, sequence, relayer) Fee

// Gets the fee expected for submitting AcknowledgePacket msg for the given packet
// Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s).
function GetAckFee(portID, channelID, sequence, relayer) Fee

// Gets the fee expected for submitting TimeoutPacket msg for the given packet
// Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s).
function GetTimeoutFee(portID, channelID, sequence, relayer) Fee

Problem Definition

Write GRPC endpoints for the queries defined in query.proto & associated getter keeper functions.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@seantking seantking added this to the Fee Middleware milestone Oct 8, 2021
@seantking seantking added good first issue Good for newcomers 29-fee labels Oct 8, 2021
@charleenfei charleenfei self-assigned this Oct 8, 2021
@crodriguezvega crodriguezvega moved this to Done in ibc-go Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
29-fee good first issue Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

2 participants