From e87859e9ab3d166024e3f8336e9b7447ab5daba9 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Mon, 16 May 2022 09:48:46 -0700 Subject: [PATCH] Updating mod and sum to reflect plugeth-utils v0.0.17. Made corresponding changes to wrapper function to reflect the close() method on the Node object returned by NewNode(). Created a new tag v1.10.17-2 to reflect these changes. --- go.mod | 2 +- go.sum | 4 ++-- plugins/wrappers/wrappers.go | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 40f352249..923731064 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( github.com/naoina/go-stringutil v0.1.0 // indirect github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416 github.com/olekukonko/tablewriter v0.0.5 - github.com/openrelayxyz/plugeth-utils v0.0.16 + github.com/openrelayxyz/plugeth-utils v0.0.17 github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 github.com/prometheus/tsdb v0.7.1 github.com/rjeczalik/notify v0.9.1 diff --git a/go.sum b/go.sum index 577db8806..b21f7e4f0 100644 --- a/go.sum +++ b/go.sum @@ -318,8 +318,8 @@ github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9k 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= -github.com/openrelayxyz/plugeth-utils v0.0.16 h1:G/WOaW1tsRoPZT6t29+Cphf2vVB2UVqlBtd0DocG0hA= -github.com/openrelayxyz/plugeth-utils v0.0.16/go.mod h1:YCPmIHj5B5v9qdgKFYhBYpZumXW5pjM8+3duJr/gElo= +github.com/openrelayxyz/plugeth-utils v0.0.17 h1:HlDCPjB8Jmt5gYLXA1HyGcNekhnQQr/prCA2/THNpz4= +github.com/openrelayxyz/plugeth-utils v0.0.17/go.mod h1:YCPmIHj5B5v9qdgKFYhBYpZumXW5pjM8+3duJr/gElo= 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 d8d39ebdf..127565752 100644 --- a/plugins/wrappers/wrappers.go +++ b/plugins/wrappers/wrappers.go @@ -217,6 +217,9 @@ func (n *Node) ResolvePath(x string) string { func (n *Node) Attach() (core.Client, error) { return n.n.Attach() } +func (n *Node) Close() error { + return n.n.Close() +} // type WrappedBlockContext struct { // b vm.BlockContext