use decimal representations of engine and builder bid values (#5879)

This commit is contained in:
tersec 2024-02-10 04:13:00 +00:00 committed by GitHub
parent 134774e00d
commit 8240c1bf34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -346,7 +346,7 @@ proc openStream(node: Eth2Node,
try:
ok await dial(node.switch, peer.peerId, protocolId)
except LPError as exc:
debug "Dialling failed", exc = exc.msg
debug "Dialing failed", exc = exc.msg
neterr BrokenConnection
except CancelledError as exc:
raise exc

View File

@ -1115,8 +1115,9 @@ proc proposeBlockAux(
localBlockValueBoost,
useBuilderBlock,
builderBlockValue =
collectedBids.builderBid.value().blockValue,
engineBlockValue = collectedBids.engineBid.value().blockValue
toString(collectedBids.builderBid.value().blockValue, 10),
engineBlockValue =
toString(collectedBids.engineBid.value().blockValue, 10)
elif payloadBuilderClient.isNil:
discard # builder API not configured for this block
else: