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:
parent
7fdf75482b
commit
de66fbbc17
@ -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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user