-
Notifications
You must be signed in to change notification settings - Fork 235
Add --estimate-tip
flag
#3636
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
Add --estimate-tip
flag
#3636
Conversation
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.
Could we add a test in which we use --estimate-tip
flag and later check the tip of transaction (that it's not 0
)?
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.
Left some comments, but otherwise looks good
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.
Maybe some test with mocks validating that tip estimation is actually doing anything would be good?
Agree, but it's a bit problematic to mock a single call while serving the rest through the actual running devnet. I'll update if I manage to add it. |
Co-authored-by: Franciszek Job <[email protected]>
Closes #3554