Updated plugins/wrappers/wrappers.go to include code and input fields on utils core.interface contract object. Also mod and sum to reflect utils v0.0.12
This commit is contained in:
parent
4a33bc66c5
commit
0b5c23e739
9
go.sum
9
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.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 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE=
|
||||||
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
|
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
|
||||||
<<<<<<< HEAD
|
github.com/openrelayxyz/plugeth-utils v0.0.12 h1:cdPbiio+ltPK9dgcfiBt4Fq8+IHzq+P2J61kl6i3nEg=
|
||||||
github.com/openrelayxyz/plugeth-utils v0.0.10 h1:Aw1wiQUepHH9yytOM8+RlSj9Z3OU+OsegoPym7SLdic=
|
github.com/openrelayxyz/plugeth-utils v0.0.12/go.mod h1:Lv47unyKJ3b/PVbVAt9Uk+RQmpdrzDOsjSCPhAMQAps=
|
||||||
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/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
|
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.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
|
||||||
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
|
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
|
||||||
|
@ -59,6 +59,14 @@ func (w *WrappedContract) Value() *big.Int {
|
|||||||
return w.c.Value()
|
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.
|
// added UseGas bc compiler compained without it. Should investigate if the false return with effect performance.
|
||||||
// take this out of core.interface
|
// take this out of core.interface
|
||||||
func (w *WrappedContract) UseGas(gas uint64) (ok bool) {
|
func (w *WrappedContract) UseGas(gas uint64) (ok bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user