Skip to content

Commit 0fc930a

Browse files
committed
doc: comments on NOOPHooks methods
1 parent 6e09eb3 commit 0fc930a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

params/hooks.libevm.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,17 @@ var _ interface {
7272
RulesHooks
7373
} = NOOPHooks{}
7474

75+
// CheckConfigForkOrder verifies all (otherwise valid) fork orders.
7576
func (NOOPHooks) CheckConfigForkOrder() error {
7677
return nil
7778
}
7879

80+
// CheckConfigCompatible verifies all (otherwise valid) new configs.
7981
func (NOOPHooks) CheckConfigCompatible(*ChainConfig, *big.Int, uint64) *ConfigCompatError {
8082
return nil
8183
}
8284

85+
// Description returns the empty string.
8386
func (NOOPHooks) Description() string {
8487
return ""
8588
}

0 commit comments

Comments
 (0)