Skip to content
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

cmd/geth: implement dev mode for post-merge #27327

Merged
merged 49 commits into from
Jul 6, 2023
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
667a585
devmode (rebased again)
jwasinger Jun 12, 2023
b4d5583
break withdrawal logic into separate structure
jwasinger Jun 12, 2023
e5ca14a
fix/add comments
jwasinger Jun 12, 2023
59850ce
rename clmock->simulated_beacon
jwasinger Jun 12, 2023
797494a
remove unused file. remove unused code from node.go. move mutex ope…
jwasinger Jun 13, 2023
a33ad4a
move feeRecipient access into private function. remove some empty lines
jwasinger Jun 13, 2023
3d7dc00
use shutdown channel instead of context and cancel function
jwasinger Jun 13, 2023
fe5db72
check if we have any transactions, without relying on the pending block
jwasinger Jun 13, 2023
c32fc8d
use Sign instead of Bitlen to check if big.Int == 0
jwasinger Jun 13, 2023
fa9267d
simulated_beacon: fixes
holiman Jun 13, 2023
8d91eaa
don't validate withdrawal indices
jwasinger Jun 13, 2023
5f04806
rename simulated_beacon package to simulatedbeacon. move under cmd/geth
jwasinger Jun 13, 2023
650374a
lint
jwasinger Jun 13, 2023
92441a1
cmd/geth/simulatedbeacon: refactorings
holiman Jun 14, 2023
942a841
rename withdrawals->withdrawalQueue. re-include withdrawals in blocks
jwasinger Jun 14, 2023
a0938fb
remove usage of log.Crit
jwasinger Jun 14, 2023
434cc20
fix withdrawals not being included when dev period is 0
jwasinger Jun 15, 2023
b7408af
don't register catalyst service twice in dev mode.
jwasinger Jun 19, 2023
c8c920d
rename simulatedbeacon files to reflect package name
jwasinger Jun 19, 2023
59df562
Update cmd/geth/config.go
jwasinger Jun 19, 2023
9c91d84
Update cmd/geth/simulatedbeacon/simulatedbeacon.go
jwasinger Jun 19, 2023
cca59ec
Update cmd/geth/simulatedbeacon/simulatedbeacon.go
jwasinger Jun 19, 2023
06213ac
goimports
jwasinger Jun 19, 2023
12b410a
add license
jwasinger Jun 20, 2023
7d4d5cf
use common.Hash instead of *common.Hash for feeRecipient apis
jwasinger Jun 20, 2023
30ca6f5
instantiate withdrawalQueue with new(...)
jwasinger Jun 20, 2023
f59982e
move withdrawals into single array in withdrawalQueue. rename getQue…
jwasinger Jun 20, 2023
7c98200
remove uneccesary calls to engineAPI.ExchangeTransitionConfigurationV1
jwasinger Jun 20, 2023
f687ee4
move SimulatedBeacon.shutdownCh initialization into constructor
jwasinger Jun 20, 2023
1bb92db
move simulatedbeacon package contents under eth/catalyst
jwasinger Jun 20, 2023
be5e29e
rename getFeeRecipient() -> feeRecipient
jwasinger Jun 20, 2023
c8d9ef3
Update eth/catalyst/simulated_beacon.go
jwasinger Jun 20, 2023
bb7b0cd
Update eth/catalyst/simulated_beacon.go
jwasinger Jun 20, 2023
402ac2e
Update eth/catalyst/simulated_beacon.go
jwasinger Jun 20, 2023
27f0bb0
move beginSealing and finalizeSealing out of loop
jwasinger Jun 20, 2023
8d3330a
cmd/geth: prefer utils.Fatalf over returning an error object in makeF…
jwasinger Jun 21, 2023
e21dc29
only clear as many pending withdrawals from the queue as were include…
jwasinger Jun 25, 2023
e3ab2db
change dev.period flag to uint64 flag type
jwasinger Jun 26, 2023
714bf98
don't register catalyst service if in light sync mode
jwasinger Jun 27, 2023
4fd9197
better naming for feeRecipientMutex. move initialization of Simulate…
jwasinger Jun 27, 2023
5eac860
Update eth/catalyst/simulated_beacon.go
jwasinger Jun 27, 2023
1340352
wip: prepare for using new miner GetFullPayload api
jwasinger Jun 27, 2023
c6b50e9
eth/catalyst, miner: add GetFullPayload API
rjl493456442 Jun 26, 2023
e83d22d
somewhat works... but is mistakenly tracking multiple payloads simult…
jwasinger Jun 27, 2023
68608ca
refactor simulated_beacon based on miner API changes
jwasinger Jun 28, 2023
3a16d22
remove logging. add comment
jwasinger Jun 28, 2023
c592736
remove period from developer genesis configuration
jwasinger Jun 28, 2023
a504a80
comments
jwasinger Jun 28, 2023
ba286e5
cmd, eth/catalyst, miner: terminate block building by ResolveFull
rjl493456442 Jun 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
jwasinger committed Jul 2, 2023
commit 650374a317f1fee74a00915d0cc804ab3a35a4e9
2 changes: 1 addition & 1 deletion cmd/geth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/accounts/scwallet"
"github.com/ethereum/go-ethereum/accounts/usbwallet"
"github.com/ethereum/go-ethereum/cmd/geth/simulatedbeacon"
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/eth/downloader"
"github.com/ethereum/go-ethereum/eth/ethconfig"
Expand All @@ -41,7 +42,6 @@ import (
"github.com/ethereum/go-ethereum/metrics"
"github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/cmd/geth/simulatedbeacon"
"github.com/naoina/toml"
)

Expand Down