Skip to content

Commit

Permalink
set cli option to default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 19, 2023
1 parent 0e6e37d commit db60fa0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ For information on changes in released versions of Teku, see the [releases page]
- The voluntary exit subcommand now accepts `--network=<NETWORK>` command line option, using it to load the network specification rather than loading configuration from the rest api, if specified.
- Add `/teku/v1/beacon/blob_sidecars/{slot}` Teku API which returns all blob sidecars (canonical and non-canonical) at a specific slot
- Updated LevelDb native library which is using LevelDb 1.23 using latest Snappy to 1.1.10 for compression (this change doesn't apply to Windows)
- Apply proposer boost to first block in case of equivocation ([spec PR](https://github.com/ethereum/consensus-specs/pull/3352))

### Bug Fixes
- When the rest-api's fail to start up they can now potentially 'fail fast' rather than silently ignoring the issue.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class Eth2NetworkConfiguration {
private static final int DEFAULT_STARTUP_TIMEOUT_SECONDS = 30;

public static final boolean DEFAULT_FORK_CHOICE_UPDATE_HEAD_ON_BLOCK_IMPORT_ENABLED = false;
public static final boolean DEFAULT_FORK_CHOICE_PROPOSER_BOOST_UNIQUENESS_ENABLED = true;
public static final boolean DEFAULT_FORK_CHOICE_PROPOSER_BOOST_UNIQUENESS_ENABLED = false;

public static final String INITIAL_STATE_URL_PATH = "eth/v2/debug/beacon/states/finalized";
// 26 thousand years should be enough
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ private void setupWithSpec(final Spec spec) {
new TickProcessor(spec, recentChainData),
transitionBlockValidator,
DEFAULT_FORK_CHOICE_UPDATE_HEAD_ON_BLOCK_IMPORT_ENABLED,
DEFAULT_FORK_CHOICE_PROPOSER_BOOST_UNIQUENESS_ENABLED,
// will use the static const parameter in an upcoming PR which will update the ref tests
// and set the const to true
true,
metricsSystem);

// Starting and mocks
Expand Down

0 comments on commit db60fa0

Please sign in to comment.