Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!: versioned timeouts #3882
feat!: versioned timeouts #3882
Changes from 116 commits
8ef416b
0cd25d3
a878a20
20b62ef
14abdab
33b2f7f
dc127da
7efde46
3eca59d
861309f
789bc23
3158757
75a5016
539d4d6
c64caa3
a6d5c1d
81e7f9b
0dbe35c
1984704
be3bf26
76eb2fb
bc2e04c
07daa0b
8ac82fe
76fd45d
da8c5e4
31a7f36
6b2f58e
eb2dab5
345ecc0
cdef177
510fb4c
67e702b
d67a2fe
ebadbd8
c2a804f
759e650
ac4e88e
71fb648
f15e64e
6794d0f
a184376
6027fb3
05ebaa7
ba95e0b
ab41d7b
c1abf94
d9d5231
721910d
072d17d
0e20204
4ac2c73
0e3c631
cdba0b7
e160793
f10dd3b
2d818d6
2497800
7280b4f
1fddc7b
6c6f247
853abb7
910e2df
8fa70a3
b86606c
409d834
6bb63ba
104740d
e7d990b
fb2fdab
81d8415
75d7a9a
79595cd
aaa1b63
6610962
bcd9cae
b0f614c
be5d05a
cd066e6
e12ab20
b2b6baa
ae4fbc3
7a993f1
1be795a
4621a6b
3ea0ca5
e8affab
403aa1d
3762a2d
3ceae06
bdcf68e
955a658
3fc1c5a
558802c
4f220d3
0bfab8e
5a71dd7
8f57f47
c9ece2a
7845569
8a0c432
fc6a897
9e6f713
b9b1df8
8c019af
e13b96c
899ad7c
b9aca24
6c70dac
61a747b
07c1fc9
d969f68
528fa8c
9669f8c
7383fa0
bcf4223
fbbd9e6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Just FYI: If this is called the first time a node starts up. The version may be 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.
Modifying this constant will impact some of the defaults in default_overrides. If we do this, there are comments that need to be updated. For example:
https://github.com/rootulp/celestia-app/blob/17b3a727e698c298658f329362ab77d5fb045684/app/default_overrides.go#L144-L147
also we prob need to update specs with the new defaults even though the old defaults are the ones that are running on mainnet.
So we should prob reconsider modifying this constant. IMO the easiest thing to do would be to delete this constant and modify the defaults that use it to hard-coded values that match the current implementation (so based on 15 seconds).
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.
yeah good catch, I realized directly after I asked for more reviews and snuck in a reversion and it doesn't need to be changed
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.
we can technically update this, as it is only ever updated in the genesis state, but it correctly causes the app hash tests to fail so its staying 15s for now
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.
tbc, this change has been reverted
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.
yea +1 on not modifying this rn
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.
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.