Changes made in service of adding block context object interface to interfaces.

This commit is contained in:
philip-morlier 2022-02-02 20:48:25 -08:00
parent 393e2167a2
commit 6f1c546bb3

View File

@ -200,3 +200,12 @@ type Feed interface {
Send(interface{}) int Send(interface{}) int
Subscribe(channel interface{}) Subscription Subscribe(channel interface{}) Subscription
} }
type BlockContext struct {
Coinbase Address
GasLimit uint64
BlockNumber *big.Int
Time *big.Int
Difficulty *big.Int
BaseFee *big.Int
}