flashbots / boost-geth-builder Goto Github PK
View Code? Open in Web Editor NEWExample builder
License: GNU Lesser General Public License v3.0
Example builder
License: GNU Lesser General Public License v3.0
Hey,
I'm trying to get this to work on goerli but I'm getting the following error on prysm:
ERROR blockchain: Could not notify builder to build block error=validator not found: client error while processing request
And this error on geth:
Served builder_payloadAttributes reqid=7 duration="110.625µs" err="validator not found"
Oh maybe it just means the validator for that slot is has not registered with the flashbots relay?
Edit: I'm also getting some "invalid signature" errors:
ERROR[10-05|06:48:02.964] could not submit block err="HTTP error response: 400 / {\"code\":400,\"message\":\"invalid signature\"}\n"
ERROR[10-05|06:48:02.964] could not run block hook err="HTTP error response: 400 / {\"code\":400,\"message\":\"invalid signature\"}\n"
Any idea what's wrong?
Very often the payment TX returns status 0.
I am trying to troubleshoot, but so far, can't find the culprit.
proposer payment not successful!
Added some additional logs to see if the TX params are correct and all seems fine
INFO [10-13|16:14:12.249] Before creating validator profit validatorCoinbase=0x388C818CA8B9251b393131C08a736A67ccB19297 builderCoinbase=............. builderCoinbaseBalanceBefore=477349964620000 builderCoinbaseBalanceAfter=56217170097643854 profit=55739820133023854
ERROR[10-13|16:14:12.295] proposer payment not successful! block=15740317 price=37973497401 gasUsed=21000 value=54752509200597854 nonce=3 receiptStatus=0
master
branch
OnPayloadAttribute
triggers the block building work flow which kicks off block building work in the miner that eventually submits a block to the relay.
May be misinterpreting but I can't seem to find anywhere that OnPayloadAttribute()
gets called. Wondering if it's possibly because of use of reflection or Im missing something. Any pointers would be extremely appreciated :)
OS & Version: linux
Commit hash : 1d8109a
I am not sure how to reproduce, but maybe the panic trace will help
INFO [10-04|13:04:00.139] Proposer payout create tx succeeded, proceeding to commit tx
INFO [10-04|13:04:00.140] Proposer payout commit tx succeeded hash=0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
panic: deletion not supported
goroutine 70 [running]:
github.com/ethereum/go-ethereum/trie.(*StackTrie).TryUpdate(0x0?, {0x414f3bbcb8, 0x1, 0x5e0820?}, {0x2231448, 0x0, 0x0})
github.com/ethereum/go-ethereum/trie/stacktrie.go:202 +0x114
github.com/ethereum/go-ethereum/trie.(*StackTrie).Update(0x1742ee8?, {0x414f3bbcb8?, 0x405b673628?, 0x4147021860?}, {0x2231448?, 0x415520?, 0x40eacfbb00?})
github.com/ethereum/go-ethereum/trie/stacktrie.go:209 +0x24
github.com/ethereum/go-ethereum/core/types.DeriveSha({0x1742ee8, 0x411f69ef48}, {0x1744f00, 0x405fc55680})
github.com/ethereum/go-ethereum/core/types/hashing.go:100 +0x114
github.com/ethereum/go-ethereum/core/types.NewBlock(0x4000283a70?, {0x40cb47e400?, 0x4, 0x4}, {0x0, 0x0, 0x0}, {0x40cb47e420, 0x4, 0x4}, ...)
github.com/ethereum/go-ethereum/core/types/block.go:204 +0xd8
github.com/ethereum/go-ethereum/consensus/beacon.(*Beacon).FinalizeAndAssemble(0x4000283a70, {0x174a3e0, 0x400012e900}, 0x40ae06e000, 0x1?, {0x40cb47e400, 0x4, 0x4}, {0x0, 0x0, ...
}, ...)
github.com/ethereum/go-ethereum/consensus/beacon/consensus.go:347 +0x100
github.com/ethereum/go-ethereum/miner.(*worker).generateWork(0x4001986b40, 0x412ede3f80)
github.com/ethereum/go-ethereum/miner/worker.go:1153 +0x24c
github.com/ethereum/go-ethereum/miner.(*worker).mainLoop(0x4001986b40)
github.com/ethereum/go-ethereum/miner/worker.go:550 +0x500
created by github.com/ethereum/go-ethereum/miner.newWorker
github.com/ethereum/go-ethereum/miner/worker.go:306 +0x69c
To reproduce just checkout the repo and run go mod tidy
.
I tried to resolve it, but couldn't figure out what is causing this.
go mod tidy
go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2
go: downloading github.com/flashbots/go-boost-utils v1.2.2-0.20221011081028-f65e786b0e68
go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14
github.com/ethereum/go-ethereum/crypto imports
github.com/btcsuite/btcd/btcec/v2/ecdsa tested by
github.com/btcsuite/btcd/btcec/v2/ecdsa.test imports
github.com/btcsuite/btcd/chaincfg/chainhash: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules:
github.com/btcsuite/btcd v0.20.1-beta (/home/krasi/pkg/mod/github.com/btcsuite/[email protected]/chaincfg/chainhash)
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 (/home/krasi/pkg/mod/github.com/btcsuite/btcd/chaincfg/[email protected])
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.