Skip to content

Skip builder boost factor calculation when the default value is provided #5343

@eserilev

Description

@eserilev

Description

If the default builder_boost_factor value is provided in a validator/blocks v3 request, the builder payload value is calculated with the boost factor. This causes some unnecessary loss of information, e.g.

INFO Local block is more profitable than relay block, 
builder_boost_factor: Some(100), 
boosted_relay_value: 3745718458417800, 
relay_value: 3745718458417893,
local_block_value: 3762801154811571, service: exec

We should instead skip the boost factor calculation when the default value is provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions