我正在尝试在goerli测试网上尝试使用mev,但是我在我的信标节点日志中得到了连接错误。
MEV助推指令:
sudo docker run flashbots/mev-boost -goerli -relay-check -relays=https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@builder-relay-goerli.flashbots.net这是我的日志:
time="2022-09-16T10:29:57Z" level=info msg="mev-boost v0.8.2" module=cli
time="2022-09-16T10:29:57Z" level=info msg="Using genesis fork version: 0x00001020" module=cli
time="2022-09-16T10:29:57Z" level=info msg="using 1 relays" module=cli relays="[{0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110 https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@builder-relay-goerli.flashbots.net}]"
time="2022-09-16T10:29:57Z" level=info msg="Checking relay" module=service relay="https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@builder-relay-goerli.flashbots.net"
time="2022-09-16T10:29:58Z" level=info msg="listening on localhost:18550" module=cli很明显,mev客户端正在本地主机上运行:18550。
这是我在Goreli-Prater测试网上的灯塔节点命令。
docker run -d -it -v /home/lucy/launch/prysm:/root -v /home/lucy/launch/geth/genesis.ssz:/genesis.ssz -v /home/lucy/launch/jwt.hex:/jwt.hex -p 4000:4000 -p 13000:13000 -p 12000:12000/udp --name beacon --net=host gcr.io/prysmaticlabs/prysm/beacon-chain:stable --datadir=/root --genesis-state=/genesis.ssz --accept-terms-of-use=true --rpc-host=0.0.0.0 --monitoring-host=0.0.0.0 --execution-endpoint=http://localhost:8551 --jwt-secret=/jwt.hex --suggested-fee-recipient=0x7Db8bD7FF6a856c1715a58BB4fd83BF43519bDa3 --http-mev-relay=http://localhost:18550 --prater以下是运行上述信标节点命令后的错误日志
Running on the Prater Testnet
[2022-09-16 10:34:28] WARN flags: Enabled feature flag enable-only-blinded-beacon-blocks=Enables storing only blinded beacon blocks in the database without full execution layer transactions
[2022-09-16 10:34:28] INFO node: Checking DB database-path=/root/beaconchaindata
[2022-09-16 10:34:28] INFO db: Opening Bolt DB at /root/beaconchaindata/beaconchain.db
[2022-09-16 10:34:29] INFO node: Deposit contract: 0xff50ed3d0ec03ac01d4c79aad74928bff48a7b2b
[2022-09-16 10:34:38] INFO p2p: Running node with peer id of 16Uiu2HAm2BhfednXjfzBqjYPUWufdBKDVtNdAFoTCWEHMUqVMMzw
[2022-09-16 10:34:38] INFO blockchain: --weak-subjectivity-checkpoint not provided. Prysm recommends providing a weak subjectivity checkpoint for nodes synced from genesis, or manual verification of block and state roots for checkpoint sync nodes.
[2022-09-16 10:34:38] INFO initial-sync: Waiting for state to be initialized
[2022-09-16 10:34:38] ERROR main: could not connect to builder: Get "http://localhost:18550/eth/v1/builder/status": dial tcp 127.0.0.1:18550: connect: connection refused以下是我的Geth执行客户端的日志
docker run -d -it -v /home/lucy/launch/geth:/root -v /home/lucy/launch/geth/genesis.ssz:/genesis.ssz -v /home/lucy/launch/jwt.hex:/jwt.hex -p 8545:8545 -p 30303:30303 --name geth --net=host ethereum/client-go --datadir=/root --http --http.port=8545 --http.addr=127.0.0.1 --http.vhosts=* --http.api=eth,net,web3,personal --authrpc.port=8551 --authrpc.vhosts=localhost --authrpc.jwtsecret=/jwt.hex -cache 3072 --goerli
WARNING: Published ports are discarded when using host network mode
db7772106677ea5a716590df2a8ec089015ac32cb5eb9539b9edf56d626eed58
(base) lucy@lucy-Legion-5-Pro-16ITH6H:~/launch$ docker logs -f geth
INFO [09-16|09:46:52.492] Starting Geth on Görli testnet...
INFO [09-16|09:46:52.493] Maximum peer count ETH=50 LES=0 total=50
INFO [09-16|09:46:52.494] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [09-16|09:46:52.496] Set global gas cap cap=50,000,000
INFO [09-16|09:46:52.498] Allocated trie memory caches clean=460.00MiB dirty=768.00MiB
INFO [09-16|09:46:52.498] Allocated cache and file handles database=/root/geth/chaindata cache=1.50GiB handles=524,288
INFO [09-16|09:46:52.625] Opened ancient database database=/root/geth/chaindata/ancient/chain readonly=false
INFO [09-16|09:46:52.625] Initialising Ethereum protocol network=5 dbversion=<nil>
INFO [09-16|09:46:52.625] Writing custom genesis block
INFO [09-16|09:46:52.631] Persisted trie from memory database nodes=361 size=51.17KiB time="547.369µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [09-16|09:46:52.631]
INFO [09-16|09:46:52.631] ------------------------我在mev客户端或信标节点上没有任何命令吗?为什么我的信标节点不能连接到mev客户端?这是码头连接问题吗?
救命啊!!
发布于 2022-09-21 14:54:15
您可能需要调整网络如何在您的各个独立的码头集装箱工作。这里的这条线告诉我们,您的信标节点无法到达您的mev过程:
[2022-09-16 10:34:38] ERROR main: could not connect to builder: Get "http://localhost:18550/eth/v1/builder/status": dial tcp 127.0.0.1:18550: connect: connection refused默认情况下,启动码头独立容器时将使用网桥驱动程序。如果您启动您的mev独立集装箱,像您现在正在做的,它将生活在它自己的孤立的网络岛。要解决这个问题,您可能需要使用主机联网启动它。
这意味着启动mev-助推器的方式如下:
sudo docker run --network host flashbots/mev-boost -goerli -relay-check -relays=https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@builder-relay-goerli.flashbots.nethttps://ethereum.stackexchange.com/questions/135738
复制相似问题