From 6f1c546bb39d5b1c09ce1ab6b6e271b1dc833495 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Wed, 2 Feb 2022 20:48:25 -0800 Subject: [PATCH] Changes made in service of adding block context object interface to interfaces. --- core/interface.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/interface.go b/core/interface.go index bbc9939..a125e75 100644 --- a/core/interface.go +++ b/core/interface.go @@ -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 +}