Skip to content

Commit

Permalink
Fix the build on Nim 1.2 and correct the name of the downloaded Geth …
Browse files Browse the repository at this point in the history
…binary
  • Loading branch information
zah committed Jan 6, 2023
1 parent 831f8f9 commit 2b6f4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon_chain/eth1/eth1_monitor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ proc getPayloadFromSingleEL(

return await engine_api.getPayload(rpcClient, GetPayloadResponseType, payloadId)

func blockValue(blk: ExecutionPayloadV1): int64 {.raises: [RlpError].} =
func blockValue(blk: ExecutionPayloadV1): int64 {.raises: [RlpError, Defect].} =
## TODO Ensure this cannot overflow
for transactionBytes in blk.transactions:
var rlp = rlpFromBytes distinctBase(transactionBytes)
Expand Down
2 changes: 1 addition & 1 deletion scripts/geth_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ download_status_geth_binary() {
}

download_geth_capella() {
download_status_geth_binary capella "$GETH_CAPELLA_BINARY"
download_status_geth_binary withdrawals-timestamp "$GETH_CAPELLA_BINARY"
}

download_geth_eip_4844() {
Expand Down

0 comments on commit 2b6f4e2

Please sign in to comment.