Merge pull request #10 from openrelayxyz/feature/adding_blockcontext_object

Changes made in service of adding block context object interface to i…
This commit is contained in:
Philip Morlier 2022-02-09 16:41:27 -05:00 committed by GitHub
commit 1b25f57d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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