-
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
[Feature]: make timeout_height time based #20658
Comments
So user will pass |
we should think about possibly renaming it to timeout. need to have a discussion internally about this |
Yep, will be a big refactor |
👍 much better UX from a client perspective |
Tangibly at the API layer, adding a field like google.protobuf.Timestamp timeout_timestamp = 5; would be non-breaking, and |
we use it here only: cosmos-sdk/x/auth/ante/basic.go Lines 250 to 270 in 720c108
|
Summary
Dydx recently brought up wanting to use time instead of block height for unordered txs. This would need a new field in the TX, which is the opposite direction we wanted to go with making the tx simpler.
Using time is simpler because its easier to understand time as a user than block height since blocks have different times.
Problem Definition
No response
Proposed Feature
Modify timeout_height to be time based instead of block height.
We would need to use the blocks time to check the timeout instead of local time. This would simplify the UX for end users since its easier to understand time over heights.
The text was updated successfully, but these errors were encountered: