From d227b0d8fa3e214dcffc731c940a9bbf22eec0fc Mon Sep 17 00:00:00 2001 From: Xinran <1576710154@qq.com> Date: Wed, 8 May 2024 15:50:28 +0800 Subject: [PATCH] upgrade yu for omit tripood_set_xxx (#61) * upgrade yu for omit tripood_set_xxx * upgrade * clean comments --- cairo/cairo.go | 3 --- go.mod | 2 +- go.sum | 4 ++++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cairo/cairo.go b/cairo/cairo.go index 8a7b99d..9848f4f 100644 --- a/cairo/cairo.go +++ b/cairo/cairo.go @@ -60,9 +60,6 @@ func NewCairo(cfg *config.Config) *Cairo { cairo.SimulateTransactions, cairo.GetBlockWithTxs, cairo.GetBlockWithTxHashes, ) - cairo.SetInit(cairo) - cairo.SetTxnChecker(cairo) - cairo.SetCommitter(cairo) return cairo } diff --git a/go.mod b/go.mod index 2cadc12..fcd9ac0 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/sirupsen/logrus v1.9.0 github.com/sourcegraph/conc v0.2.0 github.com/stretchr/testify v1.8.4 - github.com/yu-org/yu v0.0.0-20240507145856-d3546815096c + github.com/yu-org/yu v0.0.0-20240508071445-65e90bf5b444 ) require ( diff --git a/go.sum b/go.sum index cd23e4e..5dfdfdf 100644 --- a/go.sum +++ b/go.sum @@ -732,6 +732,10 @@ github.com/yu-org/yu v0.0.0-20240507142628-47651cc130f4 h1:Elu1OrVhbS93uTjg9fWlt github.com/yu-org/yu v0.0.0-20240507142628-47651cc130f4/go.mod h1:MebubG2I3xLVRp9dMQNIUh5uS/nh1LSNw4p6INCu//8= github.com/yu-org/yu v0.0.0-20240507145856-d3546815096c h1:6JWksyfFLqmdlc6rJMkXuQFvJMx3IzQNC6j3FI8gXhs= github.com/yu-org/yu v0.0.0-20240507145856-d3546815096c/go.mod h1:MebubG2I3xLVRp9dMQNIUh5uS/nh1LSNw4p6INCu//8= +github.com/yu-org/yu v0.0.0-20240508033239-a3a7df0e0e35 h1:gOWV5d8ScYC7gQW2isKJW8AeIowVLmyO6sscFWk0CpQ= +github.com/yu-org/yu v0.0.0-20240508033239-a3a7df0e0e35/go.mod h1:MebubG2I3xLVRp9dMQNIUh5uS/nh1LSNw4p6INCu//8= +github.com/yu-org/yu v0.0.0-20240508071445-65e90bf5b444 h1:l5/hR5HEuSEozANFfaEZ5TaLWScUUV4SvGhuFl7yGsk= +github.com/yu-org/yu v0.0.0-20240508071445-65e90bf5b444/go.mod h1:MebubG2I3xLVRp9dMQNIUh5uS/nh1LSNw4p6INCu//8= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=