Questions tagged [beacon-chain]
The beacon-chain tag has no usage guidance.
78 questions
0
votes
0
answers
13
views
How many states is it possible to query back from head state using the Beacon API?
How far back from head state is it possible to query Beacon state using Beacon API JSON RPC endpoints?
The consensus clients section of the Ethereum developer docs points us to the Eth Beacon Node API....
1
vote
0
answers
50
views
Block number across execution and consensus layers
How can I look up the corresponding Beacon block for an execution block by block number?
If I use the block number of an execution block to request a Beacon block, the Beacon block in the response ...
1
vote
2
answers
99
views
Why does `eth1_data` exist in the beacon block if there is `execution_payload`?
There is a eth1_data field in a block and a execution_payload. We understand that the execution_payload links the execution layer blocks to the beacon chain, it has all the transactions in it. However,...
0
votes
0
answers
12
views
Why "beacon chain" functionality not just run on the main chain?
I'm interested in consensus engine that interacts with smart contracts during validator selection to select validator (actually I built such a thing and it is operational, link). In proof-of-stake ...
1
vote
0
answers
74
views
Waiting for deposit to be observed days after activation epoch already passed
I am running a main net eth validator AND a holesky validator on the same machine. The mainnet is doing fine and the Holesky side is synced up on execution and consensus clients, running as expected. ...
0
votes
0
answers
33
views
Find the amount of reward the node operator/validator received for including the block in that slot (in GWEI)
I've a GET /blockreward/{slot} API requirement where I need to retrieve information about the block reward for a given slot (integer) in the Ethereum blockchain.
JSON Response:
status: Whether the ...
0
votes
0
answers
15
views
Is Ethereum 2's proposer selected unique, weighted and DOS-resistant?
Several pages claim that Ethereum 2's block proposer selection is unique and done in proportion to weights, yet single secret leader election is not simple. I am aware of the whisk proposal that ...
0
votes
0
answers
20
views
How beacon chain change formation and sync with other shards in case of misconfigurations?
i have a quick question for all. Assuming we have the 4 shards in ethereum and validators do their work validate transactions and assuming shard 3 has some problems and does not produce valid blocks, ...
1
vote
0
answers
63
views
How to retrieve a validator Fields and Index from the Beacon Chain?
I'm working on a stacking / restacking project where I need to call that function:
function verifyWithdrawalCredentials(
uint64 oracleTimestamp,
BeaconChainProofs.StateRootProof calldata ...
0
votes
0
answers
50
views
Link between beacon chain slot and execution chain block
I have researched info about this topic and I seem to find no answer. If it already has been asked please kindly provide the link for it.
I would like to know the link between slot and block.
From ...
2
votes
1
answer
251
views
How to connect eth2 private network with another machine!
Actually I made my own PoS Ethereum testnet which is public!(It means I can make a transaction to my network from anywhere available Internet.)
However my testnet is working with only ONE NODE with 64 ...
1
vote
1
answer
158
views
How to activate a validator in a local testnet?
I am trying to add a validator to my local testnet, however the validator keeps giving the same message ( awaiting activation );
For context, the network topology is as follows;
There are two ...
1
vote
0
answers
99
views
API to get MEV reward recipient from Beacon Chain
Is there any API which I can reliably use to get the MEV reward recipient and block reward for a particular block number as shown on the beacon chain page?
I can use the flashbots relay API but this ...
1
vote
0
answers
52
views
Why would a slot have 0% participation from sync committee (Sepolia)?
I'm working on a service that listens to blocks from the Ethereum Beacon chain (both mainnet and Sepolia), and uses the sync committee for submitting proofs of transactions to a light client.
I ...
1
vote
0
answers
34
views
Are there any good tools, specifically code packages to checksum eth validator addresses?
Are there any good tools, specifically code packages to checksum eth validator addresses? They are longer than normal Ethereum addresses, and because of that I find the Web3 python library refuses to ...
3
votes
1
answer
208
views
Accessing state of Beacon Chain in a solidity smart contract
I'm working on a Solidity smart contract and need to access info about the state of the Beacon Chain. For example, I would like to get a list of current validators, their balances,slashings, previous ...
1
vote
0
answers
271
views
beacon chain cannot sync with geth ethereum and error engine in geth
I had a problem while run Go Ethereum and Prysm. when both are executed, there is an error response on the Prysm beacon-chain and an error on geth ethereum. here is the error,
Beacon Chain
Geth ...
0
votes
1
answer
175
views
Sync committee submission period
Suppose a validator has a sync committee duty for slot X. Is he supposed to send his SyncCommitteeMessage exclusively in slot X? Or may he send during the epoch (similarly to the attestation duty)?
...
2
votes
1
answer
78
views
Number of validators in a committee for a particular slot is not equal to the number of aggregation_bits for that committee in the slot
I was trying to make a program in which I store the attestations of the validators. But When I started running the program I ran into an error, which was that the number of validators in the committee ...
2
votes
1
answer
186
views
Who can help me with Beacon data?
How can I get Beacon node data, like the beacon smart contract balance or balance of validators? Renat Ghoste
3
votes
2
answers
761
views
Why are Ethereum slots 12 seconds?
In Ethereum Proof of Stake, how was this particular slot time of 12 seconds decided upon?
Credit: https://old.reddit.com/r/ethereum/comments/gb8j89/eth20_slot_time_a_question/
3
votes
1
answer
246
views
What is the "skip-block" exact definition in Ethereum 2.0?
In this article the term "skip-block" has been mentioned so briefly that it is not clear to me what its exact definition is. Is it a kind of block in Ethereum 2.0 ?
I also could not find ...
0
votes
1
answer
607
views
How can I get a list of all blocks proposed by a validator?
I would like to get all blocks proposed by a given validator. It looks like this functionality is not available in the standard Beaconchain API. Is there any other API available, probably by a a third ...
4
votes
1
answer
2k
views
Does the balance of Beacon deposit contract address contain ETH2 staking rewards?
Please correct me if I am wrong in any of the following statements.
All the ETH for ETH2 staking are sent to the Beacon Deposit Contract address.
Choose a random validator from Beaconscan and we can ...
2
votes
1
answer
328
views
Who is index 0 validator in ethereum beacon chain?
Address: 0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f7329267a8811c397529dac52ae1342ba58c95
In beaconscan.com, the index 0 validator proposed block nearly 20,000 times and almost ...
1
vote
0
answers
26
views
Node Available for Beacon Chain API
I would like to know if anyone knows of any node services that allow requests to the beacon chain API. I wanted to do some queries, but I don't want to install a consensus client here (or download all ...
1
vote
0
answers
26
views
what kind of pubkey is this? [duplicate]
i found a bunch of old pubkeys but i dont remember how i created them or even if they were mine. they seem to be a bit short and i cant convert them to a an actual address
if anyone has any ideea ...
3
votes
2
answers
593
views
What is the underlying mechanism behind empty slots in Ethereum?
Ethereum docs says:
However, occasionally validators might be offline when called to propose a block, meaning slots can sometimes go empty.
What happens when the randomly chosen validator is offline?...
0
votes
1
answer
196
views
Accessing historical data for validators from the API
I have been trying to pull the validator-level data for ETH for a project I am working on. I am using this API and have been unable to find a command I need. Ideally, the request URL would either ...
3
votes
1
answer
787
views
Are transactions duplicated in both beacon chain and execution layer?
What exactly is the content of blocks on the beacon chain? partially answers the question but still not complete to me.
I understand that since the merge, execution layer info are in beacon chain.
...
1
vote
2
answers
449
views
Why PoS block not strictly generated on 12 seconds
I'm trying to estimate the block arrival time in etherum PoS.
I was given to understand that every 12 seconds, a new block will be generated. I did a simple calculation but the result is not expected.
...
1
vote
1
answer
256
views
How are BeaconBlocks and BeaconStates interconnected?
After the Ethereum merge took place, the original blockchain merged into the Beacon chain and its data is referenced under the execution_payload field in the class BeaconBlock(...) and the Beacon ...
2
votes
1
answer
397
views
Deposit Contract: What is the point of the Merkle tree?
The Deposit Contract inserts all deposits into a Merkle tree. According to the Beacon Chains spec, when a deposit is processed on the Beacon Chain, it must be verified that the deposit is indeed a ...
4
votes
3
answers
5k
views
Checkpoint sync source for Ethereum beacon chain node
Ethereum beacon chain nodes like Lighthouse and Prysm offer checkpoint sync to get the node synced faster. How can I get a node that I can pass as --checkpoint-sync-url to lighthouse so that I can ...
4
votes
1
answer
3k
views
Ethereum beacon chain node (Lighthouse) fails to connect to GoEthereum
Ethereum beacon chain node (e.g. Lighthouse) fails to connect to GoEthereum execution layer node with the error seen in GoEthereum logs:
the method engine_exchangeTransitionConfigurationV1 does not ...
9
votes
1
answer
15k
views
Post-merge network, but no beacon client seen. Please launch one to follow the chain!
Ethereum GOerli Network Sync stopped block number 7382822.
And one warning come (Post-merge network, but no beacon client seen. Please launch one to follow the chain! )
how to start sync in goerli ...
4
votes
1
answer
709
views
PBS - How & where do block builders submit their blocks?
With the merge and the change to PoS, there will also be a shift towards PBS. As far as i have researched, any block builder can build blocks with transactions from the mempool.
How are these blocks ...
3
votes
1
answer
263
views
What is Committe Index in Ethereum Beacon Chain?
The Ethereum beacon chain has a concept of committee index, and I do not understand it.
What exactly is the committee index? Why was it needed? How many committee index are there per slot? One or many?...
4
votes
1
answer
315
views
How can one retrieve rewards/penalties for a given validator address and eth1 block height?
I was left a bit confused after reading the docs here, here and the code here on the topic.
My key questions:
Is there a way to retrieve a certain validator's reward value for a given block via API ...
1
vote
2
answers
230
views
How many proposers are selected during one epoch?
Suppose there are enough validators(128 X 64 X 32). In one epoch, which one is true?
64 x 32 proposers/ one proposer for each (shard, slot)
32 proposers/ one proposer for each slot
64 proposers/ one ...
1
vote
1
answer
237
views
What is the difference between Votes and Attestations?
I am looking at the block at slot 0 epoch 0 of the beacon chain here: https://prater.beaconcha.in/block/0#overview
I noticed that it has votes count as 821 but attestation counts as 0.
The question ...
1
vote
0
answers
184
views
How is it possible to sign and attest a block within 12 seconds
I am digging deep into understanding the consensus layer specification for ethereum when it has moved to proof of stake.
I understand that time is divided into slots of 12 seconds, and 32 of such ...
1
vote
3
answers
53
views
How does ethereum store the 300k validator addresses
My question is possibly naive but since I am facing a similar problem, I would like to know how does ethereum really know which addresses are validator addresses without storing a 300k long array?
If ...
2
votes
1
answer
666
views
Withdrawal activation through a hard fork and the role of the Eth2 Deposit Contract post-Merge
As we all know, the withdrawals for Beacon Chain validators will only become available in a later hard fork post-Merge. Can anyone please explain in a little bit more detail or point me to an EIP or ...
0
votes
1
answer
174
views
Ethereum 2.0: supermajority, stake distribution among validators
I am studying how the Ethereum 2.0 version works. I have read the official documentation and in particular this.
According to the information I found here, the maximum number of validators allowed is ...
2
votes
1
answer
646
views
What is the aggregation_bits in beacon chain's Attestation?
The beacon chains Attestation data structure has an aggregation_bits
class Attestation(Container):
aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE]
data: AttestationData
signature: ...
1
vote
1
answer
118
views
Checking if merge has happened in smart contract
Is it possible to check whether or not the merge has happened using a smart contract? Preferably completely on-chain, but some trustworthy decentralized oracle that tells me could work too.
2
votes
1
answer
1k
views
Public Keys vs Addresses on ETH2 Beacon Chain
Why do we reference ETH2 validators by their public key while in ETH1 we use addresses for that?
After the merge, can we expect that we also use addresses for validators?
Why are public keys in ETH1 ...
1
vote
2
answers
562
views
How can there be a fork if only one validator is allowed to propose a block per slot?
As I understand it, one and only one validator get selected to propose the next block on the beacon chain. This means that the other validator attesting can only attest to one block right? (since ...
1
vote
1
answer
85
views
Is the recent beacon block the state of the beacon chain?
I am reading this The Beacon Chain Ethereum 2.0 explainer you need to read first where it states:
The contents of the Beacon Chain is primarily a registry of validator addresses, the state of each ...