-
Notifications
You must be signed in to change notification settings - Fork 20.8k
eth2: catalyst RPC calls and command line options #22468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eth2: catalyst RPC calls and command line options #22468
Conversation
f409a01
to
7b9fe46
Compare
…ructions Co-Authored-By: Mikhail Kalinin <noblesse.knight@gmail.com>
2cd97ee
to
27f37ed
Compare
} | ||
} | ||
|
||
block, err := api.eth.Engine().FinalizeAndAssemble(bc, header, api.env.state, transactions, nil /* uncles */, api.env.receipts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QQ: the block reward is applied based on the ethash rules. So in the eth2, actually there is no block reward here right? The reward will be applied in the consensus layer(they have their own accounting model).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the long term view. Right after the merge, you won't be able to move the "eth2 eth" from the beacon chain into the eth1 "execution layer", so it still makes sense to offer a reward... more importantly, for the upcoming testnet: if you don't have a way to produce value, you won't be able to test anything.
27f37ed
to
523f1cb
Compare
523f1cb
to
9a35a22
Compare
) | ||
|
||
// JumpTable contains the EVM opcodes supported at a given fork. | ||
type JumpTable [256]*operation | ||
|
||
//nolint:deadcode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node to self: this is no longer needed
Closing to prevent confusion with #22641 |
Supersedes #22320