Coder Social home page Coder Social logo

flashbots / boost-geth-builder Goto Github PK

View Code? Open in Web Editor NEW
94.0 94.0 25.0 169.29 MB

Example builder

License: GNU Lesser General Public License v3.0

Dockerfile 0.01% Makefile 0.06% Go 89.89% Shell 0.13% NSIS 0.17% Ruby 0.01% Python 0.08% JavaScript 3.23% HTML 0.08% Assembly 0.69% Solidity 0.11% C 4.92% M4 0.19% Sage 0.22% Java 0.22%

boost-geth-builder's People

Contributors

aaronbuchwald avatar acud avatar arachnid avatar cjentzsch avatar cubedro avatar debris avatar fjl avatar gavofyork avatar gballet avatar gluk256 avatar holiman avatar holisticode avatar janos avatar jsvisa avatar karalabe avatar lightclient avatar ligi avatar mariusvanderwijden avatar matthalp avatar nolash avatar nonsense avatar obscuren avatar renaynay avatar rjl493456442 avatar s1na avatar tgerring avatar ucwong avatar vbuterin avatar zelig avatar zsfelfoldi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boost-geth-builder's Issues

validator not found / invalid signature errors

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"

image

image

image

image

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"

image

Any idea what's wrong?

Very often the reward payment TX fails - "proposer payment not successful!"

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

Block Submission* never triggers

System information

master branch

Expected behaviour

OnPayloadAttribute triggers the block building work flow which kicks off block building work in the miner that eventually submits a block to the relay.

Actual behaviour

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 :)

panic: deletion not supported

System information

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   

go mod tidy returns `ambiguous import:` error

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])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.