diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 3934e3e01..f5acf4e07 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -441,6 +441,11 @@ func startNode(ctx *cli.Context, stack *node.Node, backend ethapi.Backend, isCon } } + // Kill bsp-geth if --syncmode flag is 'light' + if ctx.GlobalString(utils.BlockReplicationTargetsFlag.Name) != "" && ctx.GlobalString(utils.SyncModeFlag.Name) == "light" { + utils.Fatalf("Block specimen production not supported for 'light' sync (only supported modes are 'snap' and 'full'") + } + // Spawn a standalone goroutine for status synchronization monitoring, // if full sync is completed in block specimen creation mode set replica config flag if ctx.GlobalBool(utils.ReplicaEnableSpecimenFlag.Name) || ctx.GlobalBool(utils.ReplicaEnableResultFlag.Name) { diff --git a/codecov.yml b/codecov.yml index dd61a73b0..c2a06dbbb 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,10 +1,26 @@ codecov: - require_ci_to_pass: yes + require_ci_to_pass: false coverage: - precision: 2 - round: down - range: "40...100" + status: + project: + default: + target: auto + threshold: 0% + base: auto + flags: + - unit + paths: + - "src" + # advanced settings + branches: + - main + if_ci_failed: success #success, failure, error, ignore + informational: false + only_pulls: false + patch: + default: false + parsers: gcov: @@ -17,4 +33,4 @@ parsers: comment: layout: "reach,diff,flags,files,footer" behavior: default - require_changes: no + require_changes: false