File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
beacon_node/execution_layer/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1667,7 +1667,8 @@ fn verify_builder_bid<T: EthSpec, Payload: ExecPayload<T>>(
16671667 let payload_value = bid. data . message . value ;
16681668
16691669 // Avoid logging values that we can't represent with our Prometheus library.
1670- if payload_value <= Uint256 :: from ( i64:: max_value ( ) ) {
1670+ let payload_value_gwei = bid. data . message . value / 1_000_000_000 ;
1671+ if payload_value_gwei <= Uint256 :: from ( i64:: max_value ( ) ) {
16711672 metrics:: set_gauge_vec (
16721673 & metrics:: EXECUTION_LAYER_PAYLOAD_BIDS ,
16731674 & [ metrics:: BUILDER ] ,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ lazy_static::lazy_static! {
7272 ) ;
7373 pub static ref EXECUTION_LAYER_PAYLOAD_BIDS : Result <IntGaugeVec > = try_create_int_gauge_vec(
7474 "execution_layer_payload_bids" ,
75- "The bid value of payloads received by local EEs or builders. Only shows values up to i64::max_value." ,
75+ "The gwei bid value of payloads received by local EEs or builders. Only shows values up to i64::max_value." ,
7676 & [ "source" ]
7777 ) ;
7878}
You can’t perform that action at this time.
0 commit comments