-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
x/ibc: Implement Timeout Timestamp #6022
x/ibc: Implement Timeout Timestamp #6022
Conversation
This pull request introduces 1 alert when merging e2e4878 into fe163e8 - view on LGTM.com new alerts:
|
I need to add a default timeout timestamp in addition to the default timeout height in 20-transfers/keeper/keeper.go. Any suggestions? Edit: Because of the variance in block time per chain, I think I'll just set it to 0, making the timeout be dependent upon the timeout height |
Also, should timestamp be in Unix nanoseconds or seconds? I initially started using nanoseconds, but I just noticed halt time on the SDK is in Unix seconds. Don't think there are strong arguments for one or the other, but might be best to be consistent despite the separation between ibc and sdk app |
Codecov Report
@@ Coverage Diff @@
## master #6022 +/- ##
==========================================
+ Coverage 54.64% 54.66% +0.01%
==========================================
Files 425 425
Lines 25822 25866 +44
==========================================
+ Hits 14111 14139 +28
- Misses 10737 10750 +13
- Partials 974 977 +3 |
Co-Authored-By: Federico Kunze <[email protected]>
What is the change log work flow? Do I need to do update anything? |
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.
LGTM 👍
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.
LGTM, minor suggestions
Co-Authored-By: Federico Kunze <[email protected]>
Co-Authored-By: Federico Kunze <[email protected]>
Co-Authored-By: Federico Kunze <[email protected]>
This looks fine to me, thanks @colin-axner. At some point, it might be nice to add an option to |
Closes: #5836
Description
The timestamp represents the nanoseconds elapsed from initial unix time (Jan 1, 1970).
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)