mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
undavertise amsterdam
This commit is contained in:
parent
afa27a4f59
commit
00a4a9e72c
2 changed files with 4 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ func (rt *Router) handleCapabilities(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
resp := capabilitiesResponse{
|
||||
SupportedForks: []string{"paris", "shanghai", "cancun", "prague", "osaka", "amsterdam"},
|
||||
SupportedForks: []string{"paris", "shanghai", "cancun", "prague", "osaka"},
|
||||
ForkScopedEndpoints: []string{"payloads", "forkchoice", "bodies"},
|
||||
IndependentlyVersioned: map[string][]string{
|
||||
"blobs": {"v1", "v2", "v3", "v4"},
|
||||
|
|
|
|||
|
|
@ -247,7 +247,9 @@ func TestRouterCapabilities(t *testing.T) {
|
|||
}
|
||||
// Capabilities must advertise every fork the router routes, so a consensus
|
||||
// client negotiates SSZ for all of them rather than falling back to JSON-RPC.
|
||||
want := map[string]bool{"paris": true, "shanghai": true, "cancun": true, "prague": true, "osaka": true, "amsterdam": true}
|
||||
// amsterdam is routed but not yet fully implemented, so it is intentionally
|
||||
// not advertised for now.
|
||||
want := map[string]bool{"paris": true, "shanghai": true, "cancun": true, "prague": true, "osaka": true}
|
||||
if len(c.SupportedForks) != len(want) {
|
||||
t.Errorf("supported forks: got %v, want all of %v", c.SupportedForks, want)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue