File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 163163 globs :
164164 - " eth/state_accessor.go"
165165 - title : API frontend
166- description : Format deposit and L1-cost data in transaction responses.
166+ description : Format deposit and L1-cost data in transaction responses. Add `debug_chainConfig` API.
167167 globs :
168168 - " internal/ethapi/api.go"
169169 - " rpc/errors.go"
Original file line number Diff line number Diff line change @@ -2272,6 +2272,10 @@ func (api *DebugAPI) SetHead(number hexutil.Uint64) {
22722272 api .b .SetHead (uint64 (number ))
22732273}
22742274
2275+ func (api * DebugAPI ) ChainConfig () * params.ChainConfig {
2276+ return api .b .ChainConfig ()
2277+ }
2278+
22752279// NetAPI offers network related RPC methods
22762280type NetAPI struct {
22772281 net * p2p.Server
You can’t perform that action at this time.
0 commit comments