diff --git a/go.sum b/go.sum index 8f030069b..f5e7aa8e6 100644 --- a/go.sum +++ b/go.sum @@ -339,13 +339,8 @@ github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -<<<<<<< HEAD -github.com/openrelayxyz/plugeth-utils v0.0.10 h1:Aw1wiQUepHH9yytOM8+RlSj9Z3OU+OsegoPym7SLdic= -github.com/openrelayxyz/plugeth-utils v0.0.10/go.mod h1:Lv47unyKJ3b/PVbVAt9Uk+RQmpdrzDOsjSCPhAMQAps= -github.com/openrelayxyz/plugeth-utils v0.0.11 h1:e+pRjMyz/GHB8lJr60iH2nuclBV5YMeF3QIQ4xPVEUA= -github.com/openrelayxyz/plugeth-utils v0.0.11/go.mod h1:Lv47unyKJ3b/PVbVAt9Uk+RQmpdrzDOsjSCPhAMQAps= -======= ->>>>>>> 94587c70d... Changes in service of extending block context object into the tracer plugins +github.com/openrelayxyz/plugeth-utils v0.0.12 h1:cdPbiio+ltPK9dgcfiBt4Fq8+IHzq+P2J61kl6i3nEg= +github.com/openrelayxyz/plugeth-utils v0.0.12/go.mod h1:Lv47unyKJ3b/PVbVAt9Uk+RQmpdrzDOsjSCPhAMQAps= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= diff --git a/plugins/wrappers/wrappers.go b/plugins/wrappers/wrappers.go index 40f66a4b7..d8d39ebdf 100644 --- a/plugins/wrappers/wrappers.go +++ b/plugins/wrappers/wrappers.go @@ -59,6 +59,14 @@ func (w *WrappedContract) Value() *big.Int { return w.c.Value() } +func (w *WrappedContract) Input() []byte { + return w.c.Input +} + +func (w *WrappedContract) Code() []byte { + return w.c.Code +} + // added UseGas bc compiler compained without it. Should investigate if the false return with effect performance. // take this out of core.interface func (w *WrappedContract) UseGas(gas uint64) (ok bool) {