-
Notifications
You must be signed in to change notification settings - Fork 297
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
Override the timeout_commit
and timeout_propose
when switching to v3
#3859
Comments
ContextValidator's locally configure these timeouts in config.toml: # How long we wait for a proposal block before prevoting nil
timeout_propose = "10s"
# How much timeout_propose increases with each round
timeout_propose_delta = "500ms"
# How long we wait after receiving +2/3 prevotes for “anything” (ie. not a single block or nil)
timeout_prevote = "1s"
# How much the timeout_prevote increases with each round
timeout_prevote_delta = "500ms"
# How long we wait after receiving +2/3 precommits for “anything” (ie. not a single block or nil)
timeout_precommit = "1s"
# How much the timeout_precommit increases with each round
timeout_precommit_delta = "500ms"
# How long we wait after committing a block, before starting on the new
# height (this gives us a chance to receive some more precommits, even
# though we already have +2/3).
timeout_commit = "11s" ProblemWe'd like to decrease the block time from ~11.75 seconds to ~6 seconds at the same time that celestia-app v3 gets deployed to networks. We don't want to rely on validator's manually configuring timeouts in their config.toml because we can't guarantee that they will be modified at the same time. Therefore, we'd like to add ADR-115's ProposalBackport ADR-115 to celestia-core Related
|
Notes from discussion w/ @evan-forbes :
|
timeout_commit
and timeout_propose
when switching to v3
Question: Option 1: Use Timeouts for Next Version (v3)
Option 2: Use Timeouts for Current Version (v2)
|
good question, my understanding of this is that we should only change the timeouts when the app version is changed, so we should do option 2 |
to add more reasoning to the above, we don't know if the upgrade is successful until we produce a block that has that version, therefore that is the soonest we possibly could change. |
Thanks, @evan-forbes! That makes sense—I'll go ahead with the second option. |
Design Update/Decision: For the genesis state, the start time of block height
Currently, I went with the second option in the implementation [link], but please let me know if you think the first option makes more sense. |
either or should be okay if I'm understanding correctly, especially for our existing testnets we could also just use a default timeouts for the first block, as it shouldn't be super important for us atm |
…ight according to the app version (#1494) The celestia-core portion of [#3859](celestiaorg/celestia-app#3859) --------- Co-authored-by: evan-forbes <[email protected]>
Closes #3859 manually tested in #3882 (comment) also tested in knuu --------- Co-authored-by: evan-forbes <[email protected]> Co-authored-by: Evan Forbes <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Rootul P <[email protected]>
…ight according to the app version (#1494) The celestia-core portion of [#3859](celestiaorg/celestia-app#3859) --------- Co-authored-by: evan-forbes <[email protected]>
We should override the timeouts upon the switch to app version v3
The text was updated successfully, but these errors were encountered: