interface added to core/interface to enable passing through of cli.v2 methods into plugeth in order to enable polygon's dependency on cli.v1.

This commit is contained in:
philip-morlier 2022-12-07 17:59:37 -08:00
parent 7fdf75482b
commit de66fbbc17

View File

@ -214,3 +214,11 @@ type BlockContext struct {
Difficulty *big.Int Difficulty *big.Int
BaseFee *big.Int BaseFee *big.Int
} }
type Context interface {
Set(string, string) error
String(string) string
Bool(string) bool
}