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 163
163
globs :
164
164
- " eth/state_accessor.go"
165
165
- 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.
167
167
globs :
168
168
- " internal/ethapi/api.go"
169
169
- " rpc/errors.go"
Original file line number Diff line number Diff line change @@ -2272,6 +2272,10 @@ func (api *DebugAPI) SetHead(number hexutil.Uint64) {
2272
2272
api .b .SetHead (uint64 (number ))
2273
2273
}
2274
2274
2275
+ func (api * DebugAPI ) ChainConfig () * params.ChainConfig {
2276
+ return api .b .ChainConfig ()
2277
+ }
2278
+
2275
2279
// NetAPI offers network related RPC methods
2276
2280
type NetAPI struct {
2277
2281
net * p2p.Server
You can’t perform that action at this time.
0 commit comments