diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 453790d..e479e56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: zondax-runners container: - image: golang:1.20 + image: golang:1.21 options: --tty steps: - name: Checkout diff --git a/go.mod b/go.mod index 348d407..cc64b2f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/zondax/rosetta-filecoin-proxy -go 1.20 +go 1.21 + +toolchain go1.21.3 require ( github.com/coinbase/rosetta-sdk-go v0.7.2 @@ -9,20 +11,20 @@ require ( github.com/filecoin-project/go-data-transfer/v2 v2.0.0-rc7 github.com/filecoin-project/go-fil-markets v1.28.3 github.com/filecoin-project/go-jsonrpc v0.3.1 - github.com/filecoin-project/go-state-types v0.13.0-rc.2 - github.com/filecoin-project/lotus v1.26.0-rc3 + github.com/filecoin-project/go-state-types v0.13.1 + github.com/filecoin-project/lotus v1.26.0 github.com/filecoin-project/specs-actors v0.9.15 github.com/filecoin-project/specs-actors/v8 v8.0.1 github.com/google/uuid v1.6.0 github.com/ipfs/go-block-format v0.2.0 github.com/ipfs/go-cid v0.4.1 github.com/ipfs/go-log v1.0.5 - github.com/libp2p/go-libp2p v0.31.1 + github.com/libp2p/go-libp2p v0.33.1 github.com/libp2p/go-libp2p-core v0.20.1 github.com/multiformats/go-multihash v0.2.3 github.com/orcaman/concurrent-map v1.0.0 github.com/stretchr/testify v1.9.0 - github.com/zondax/rosetta-filecoin-lib v1.2600.0-rc3 + github.com/zondax/rosetta-filecoin-lib v1.2600.0 gotest.tools v2.2.0+incompatible ) @@ -33,8 +35,11 @@ require ( github.com/StackExchange/wmi v1.2.1 // indirect github.com/akavel/rsrc v0.8.0 // indirect github.com/benbjohnson/clock v1.3.5 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/blang/semver/v4 v4.0.0 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect - github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect + github.com/crackcomm/go-gitignore v0.0.0-20231225121904-e25f5bc08668 // indirect github.com/daaku/go.zipexe v1.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect @@ -49,7 +54,7 @@ require ( github.com/filecoin-project/go-padreader v0.0.1 // indirect github.com/filecoin-project/go-statemachine v1.0.3 // indirect github.com/filecoin-project/go-statestore v0.2.0 // indirect - github.com/filecoin-project/kubo-api-client v0.0.1 // indirect + github.com/filecoin-project/kubo-api-client v0.27.0 // indirect github.com/filecoin-project/specs-actors/v2 v2.3.6 // indirect github.com/filecoin-project/specs-actors/v3 v3.1.2 // indirect github.com/filecoin-project/specs-actors/v4 v4.0.2 // indirect @@ -57,32 +62,35 @@ require ( github.com/filecoin-project/specs-actors/v6 v6.0.2 // indirect github.com/filecoin-project/specs-actors/v7 v7.0.1 // indirect github.com/gbrlsnchs/jwt/v3 v3.0.1 // indirect - github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-ole/go-ole v1.2.5 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect - github.com/google/go-cmp v0.5.9 // indirect - github.com/gorilla/mux v1.8.0 // indirect - github.com/gorilla/websocket v1.5.0 // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/google/gopacket v1.1.19 // indirect + github.com/gorilla/mux v1.8.1 // indirect + github.com/gorilla/websocket v1.5.1 // indirect github.com/hannahhoward/cbor-gen-for v0.0.0-20230214144701-5d17c9d5243c // indirect github.com/hannahhoward/go-pubsub v0.0.0-20200423002714-8d62886cc36e // indirect - github.com/hashicorp/golang-lru v0.6.0 // indirect - github.com/hashicorp/golang-lru/v2 v2.0.5 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/golang-lru v1.0.2 // indirect + github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/icza/backscanner v0.0.0-20210726202459-ac2ffc679f94 // indirect github.com/ipfs/bbloom v0.0.4 // indirect - github.com/ipfs/boxo v0.10.1 // indirect + github.com/ipfs/boxo v0.18.0 // indirect github.com/ipfs/go-blockservice v0.5.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect - github.com/ipfs/go-graphsync v0.14.6 // indirect + github.com/ipfs/go-graphsync v0.16.0 // indirect github.com/ipfs/go-ipfs-blockstore v1.3.0 // indirect - github.com/ipfs/go-ipfs-cmds v0.9.0 // indirect + github.com/ipfs/go-ipfs-cmds v0.10.0 // indirect github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect github.com/ipfs/go-ipfs-exchange-interface v0.2.0 // indirect github.com/ipfs/go-ipfs-util v0.0.3 // indirect - github.com/ipfs/go-ipld-cbor v0.0.6 // indirect - github.com/ipfs/go-ipld-format v0.5.0 // indirect + github.com/ipfs/go-ipld-cbor v0.1.0 // indirect + github.com/ipfs/go-ipld-format v0.6.0 // indirect github.com/ipfs/go-ipld-legacy v0.2.1 // indirect github.com/ipfs/go-log/v2 v2.5.1 // indirect github.com/ipfs/go-merkledag v0.11.0 // indirect @@ -90,20 +98,27 @@ require ( github.com/ipfs/go-verifcid v0.0.2 // indirect github.com/ipld/go-car v0.6.1 // indirect github.com/ipld/go-codec-dagpb v1.6.0 // indirect - github.com/ipld/go-ipld-prime v0.20.0 // indirect + github.com/ipld/go-ipld-prime v0.21.0 // indirect github.com/ipld/go-ipld-selector-text-lite v0.0.1 // indirect github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 // indirect github.com/jbenet/goprocess v0.1.4 // indirect github.com/jessevdk/go-flags v1.4.0 // indirect github.com/jpillora/backoff v1.0.0 // indirect - github.com/klauspost/cpuid/v2 v2.2.6 // indirect + github.com/klauspost/cpuid/v2 v2.2.7 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect + github.com/libp2p/go-cidranger v1.1.0 // indirect github.com/libp2p/go-flow-metrics v0.1.0 // indirect - github.com/libp2p/go-libp2p-pubsub v0.9.3 // indirect + github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect + github.com/libp2p/go-libp2p-kad-dht v0.25.2 // indirect + github.com/libp2p/go-libp2p-kbucket v0.6.3 // indirect + github.com/libp2p/go-libp2p-pubsub v0.10.0 // indirect + github.com/libp2p/go-libp2p-record v0.2.0 // indirect + github.com/libp2p/go-libp2p-routing-helpers v0.7.3 // indirect github.com/libp2p/go-msgio v0.3.0 // indirect + github.com/libp2p/go-netroute v0.2.1 // indirect github.com/magefile/mage v1.11.0 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/miekg/dns v1.1.55 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/miekg/dns v1.1.58 // indirect github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect github.com/minio/sha256-simd v1.0.1 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -115,16 +130,21 @@ require ( github.com/multiformats/go-multiaddr-dns v0.3.1 // indirect github.com/multiformats/go-multibase v0.2.0 // indirect github.com/multiformats/go-multicodec v0.9.0 // indirect - github.com/multiformats/go-multistream v0.4.1 // indirect + github.com/multiformats/go-multistream v0.5.0 // indirect github.com/multiformats/go-varint v0.0.7 // indirect github.com/nkovacs/streamquote v1.0.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/polydawn/refmt v0.89.0 // indirect + github.com/prometheus/client_golang v1.18.0 // indirect + github.com/prometheus/client_model v0.6.0 // indirect + github.com/prometheus/common v0.47.0 // indirect + github.com/prometheus/procfs v0.12.0 // indirect github.com/raulk/clock v1.1.0 // indirect github.com/rs/cors v1.7.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/samber/lo v1.39.0 // indirect github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/stretchr/objx v0.5.2 // indirect @@ -133,25 +153,28 @@ require ( github.com/urfave/cli/v2 v2.25.5 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.1 // indirect + github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc // indirect github.com/whyrusleeping/bencher v0.0.0-20190829221104-bb6607aa8bba // indirect github.com/whyrusleeping/cbor-gen v0.1.0 // indirect + github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/otel v1.16.0 // indirect - go.opentelemetry.io/otel/metric v1.16.0 // indirect - go.opentelemetry.io/otel/trace v1.16.0 // indirect + go.opentelemetry.io/otel v1.21.0 // indirect + go.opentelemetry.io/otel/metric v1.21.0 // indirect + go.opentelemetry.io/otel/trace v1.21.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect - golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect - golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/protobuf v1.30.0 // indirect + golang.org/x/crypto v0.19.0 // indirect + golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect + golang.org/x/mod v0.15.0 // indirect + golang.org/x/net v0.21.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/sys v0.17.0 // indirect + golang.org/x/tools v0.18.0 // indirect + golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect + gonum.org/v1/gonum v0.14.0 // indirect + google.golang.org/protobuf v1.32.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/blake3 v1.2.1 // indirect ) diff --git a/go.sum b/go.sum index b9c822a..e6aa88c 100644 --- a/go.sum +++ b/go.sum @@ -56,7 +56,8 @@ github.com/akavel/rsrc v0.8.0 h1:zjWn7ukO9Kc5Q62DOJCcxGpXC18RawVtYAGdz2aLlfw= github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= +github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4L0zgAOR8lTQK9VlyBVVd7G4omaOQs= +github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= @@ -76,7 +77,11 @@ github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZx github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= +github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= +github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8= @@ -100,10 +105,10 @@ github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOC github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -115,17 +120,19 @@ github.com/coinbase/rosetta-sdk-go v0.7.2/go.mod h1:wk9dvjZFSZiWSNkFuj3dMleTA1ad github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= +github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 h1:HVTnpeuvF6Owjd5mniCL8DEXo7uYXdQEmOP4FJbV5tg= -github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3/go.mod h1:p1d6YEZWvFzEh4KLyvBcVSnrfNDDvK2zfK/4x2v/4pE= +github.com/crackcomm/go-gitignore v0.0.0-20231225121904-e25f5bc08668 h1:ZFUue+PNxmHlu7pYv+IYMtqlaO/0VwaGEqKepZf9JpA= +github.com/crackcomm/go-gitignore v0.0.0-20231225121904-e25f5bc08668/go.mod h1:p1d6YEZWvFzEh4KLyvBcVSnrfNDDvK2zfK/4x2v/4pE= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cskr/pubsub v1.0.2 h1:vlOzMhl6PFn60gRlTQQsIfVwaPB/B/8MziK8FhEPt/0= github.com/cskr/pubsub v1.0.2/go.mod h1:/8MzYXk/NJAz782G8RPkFzXTZVu63VotefPnR9TIRis= @@ -138,8 +145,10 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c h1:pFUpOrbxDR6AkioZ1ySsx5yxlDQZ8stG2b88gTPxgJU= +github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c/go.mod h1:6UhI8N9EjYm1c2odKpFpAYeR8dsBeM7PtzQhRgxRr9U= github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= +github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= @@ -158,12 +167,14 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8 github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= +github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/elastic/gosigar v0.14.2 h1:Dg80n8cr90OZ7x+bAax/QjoW/XqTI11RmA79ZwIm9/4= +github.com/elastic/gosigar v0.14.2/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -172,6 +183,7 @@ github.com/ethereum/go-ethereum v1.10.13/go.mod h1:W3yfrFyL9C1pHcwY5hmRHVDaorTiQ github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/filecoin-project/dagstore v0.5.2 h1:Nd6oXdnolbbVhpMpkYT5PJHOjQp4OBSntHpMV5pxj3c= +github.com/filecoin-project/dagstore v0.5.2/go.mod h1:mdqKzYrRBHf1pRMthYfMv3n37oOw0Tkx7+TxPt240M0= github.com/filecoin-project/go-address v0.0.3/go.mod h1:jr8JxKsYx+lQlQZmF5i2U0Z+cGQ59wMIps/8YW/lDj8= github.com/filecoin-project/go-address v0.0.5/go.mod h1:jr8JxKsYx+lQlQZmF5i2U0Z+cGQ59wMIps/8YW/lDj8= github.com/filecoin-project/go-address v1.1.0 h1:ofdtUtEsNxkIxkDw67ecSmvtzaVSdcea4boAmLbnHfE= @@ -193,14 +205,18 @@ github.com/filecoin-project/go-cbor-util v0.0.0-20191219014500-08c40a1e63a2/go.m github.com/filecoin-project/go-cbor-util v0.0.1 h1:E1LYZYTtjfAQwCReho0VXvbu8t3CYAVPiMx8EiV/VAs= github.com/filecoin-project/go-cbor-util v0.0.1/go.mod h1:pqTiPHobNkOVM5thSRsHYjyQfq7O5QSCMhvuu9JoDlg= github.com/filecoin-project/go-commp-utils v0.1.3 h1:rTxbkNXZU7FLgdkBk8RsQIEOuPONHykEoX3xGk41Fkw= +github.com/filecoin-project/go-commp-utils v0.1.3/go.mod h1:3ENlD1pZySaUout0p9ANQrY3fDFoXdqyX04J+dWpK30= github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ= github.com/filecoin-project/go-crypto v0.0.1 h1:AcvpSGGCgjaY8y1az6AMfKQWreF/pWO2JJGLl6gCq6o= github.com/filecoin-project/go-crypto v0.0.1/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ= github.com/filecoin-project/go-data-transfer/v2 v2.0.0-rc7 h1:v+zJS5B6pA3ptWZS4t8tbt1Hz9qENnN4nVr1w99aSWc= github.com/filecoin-project/go-data-transfer/v2 v2.0.0-rc7/go.mod h1:V3Y4KbttaCwyg1gwkP7iai8CbQx4mZUGjd3h9GZWLKE= github.com/filecoin-project/go-ds-versioning v0.1.2 h1:to4pTadv3IeV1wvgbCbN6Vqd+fu+7tveXgv/rCEZy6w= +github.com/filecoin-project/go-ds-versioning v0.1.2/go.mod h1:C9/l9PnB1+mwPa26BBVpCjG/XQCB0yj/q5CK2J8X1I4= github.com/filecoin-project/go-fil-commcid v0.1.0 h1:3R4ds1A9r6cr8mvZBfMYxTS88OqLYEo6roi+GiIeOh8= +github.com/filecoin-project/go-fil-commcid v0.1.0/go.mod h1:Eaox7Hvus1JgPrL5+M3+h7aSPHc0cVqpSxA+TxIEpZQ= github.com/filecoin-project/go-fil-commp-hashhash v0.1.0 h1:imrrpZWEHRnNqqv0tN7LXep5bFEVOVmQWHJvl2mgsGo= +github.com/filecoin-project/go-fil-commp-hashhash v0.1.0/go.mod h1:73S8WSEWh9vr0fDJVnKADhfIv/d6dCbAGaAGWbdJEI8= github.com/filecoin-project/go-fil-markets v1.28.3 h1:2cFu7tLZYrfNz4LnxjgERaVD7k5+Wwp0H76mnnTGPBk= github.com/filecoin-project/go-fil-markets v1.28.3/go.mod h1:eryxo/oVgIxaR5g5CNr9PlvZOi+u/bak0IsPL/PT1hk= github.com/filecoin-project/go-hamt-ipld v0.1.5 h1:uoXrKbCQZ49OHpsTCkrThPNelC4W3LPEk0OrS/ytIBM= @@ -219,19 +235,17 @@ github.com/filecoin-project/go-state-types v0.0.0-20200928172055-2df22083d8ab/go github.com/filecoin-project/go-state-types v0.0.0-20201102161440-c8033295a1fc/go.mod h1:ezYnPf0bNkTsDibL/psSz5dy4B5awOJ/E7P2Saeep8g= github.com/filecoin-project/go-state-types v0.1.0/go.mod h1:ezYnPf0bNkTsDibL/psSz5dy4B5awOJ/E7P2Saeep8g= github.com/filecoin-project/go-state-types v0.1.6/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= -github.com/filecoin-project/go-state-types v0.13.0-rc.2 h1:JHyDDx/nV8sbQNgjUfhumiGWh8Dedc8psbiVtD0YOh0= -github.com/filecoin-project/go-state-types v0.13.0-rc.2/go.mod h1:cHpOPup9H1g2T29dKHAjC2sc7/Ef5ypjuW9A3I+e9yY= +github.com/filecoin-project/go-state-types v0.13.1 h1:4CivvlcHAIoAtFFVVlZtokynaMQu5XLXGoTKhQkfG1I= +github.com/filecoin-project/go-state-types v0.13.1/go.mod h1:cHpOPup9H1g2T29dKHAjC2sc7/Ef5ypjuW9A3I+e9yY= github.com/filecoin-project/go-statemachine v1.0.3 h1:N07o6alys+V1tNoSTi4WuuoeNC4erS/6jE74+NsgQuk= github.com/filecoin-project/go-statemachine v1.0.3/go.mod h1:jZdXXiHa61n4NmgWFG4w8tnqgvZVHYbJ3yW7+y8bF54= github.com/filecoin-project/go-statestore v0.1.0/go.mod h1:LFc9hD+fRxPqiHiaqUEZOinUJB4WARkRfNl10O7kTnI= github.com/filecoin-project/go-statestore v0.2.0 h1:cRRO0aPLrxKQCZ2UOQbzFGn4WDNdofHZoGPjfNaAo5Q= github.com/filecoin-project/go-statestore v0.2.0/go.mod h1:8sjBYbS35HwPzct7iT4lIXjLlYyPor80aU7t7a/Kspo= -github.com/filecoin-project/kubo-api-client v0.0.1 h1:IR1b+sm+VYxSRvbgECVv9SbhIgygcXcSoN1Q7xsHDXg= -github.com/filecoin-project/kubo-api-client v0.0.1/go.mod h1:c36PPMIVOkKfHDwDG5U05gUlPRY9wNuh/BePwo0e+6Y= -github.com/filecoin-project/lotus v1.26.0-rc2 h1:JPi1dofIGdN6s6kzdUSilhUCe5DIZd902TsUC7t0rog= -github.com/filecoin-project/lotus v1.26.0-rc2/go.mod h1:6FC17T8tgqFKiTGXNAuy4HdsHcksuk0HyjWDF8my+aA= -github.com/filecoin-project/lotus v1.26.0-rc3 h1:CynFw4VH6J2Vgpwp6/7o4kSlyQ8UQ4yAN2TCm8I6fp8= -github.com/filecoin-project/lotus v1.26.0-rc3/go.mod h1:6FC17T8tgqFKiTGXNAuy4HdsHcksuk0HyjWDF8my+aA= +github.com/filecoin-project/kubo-api-client v0.27.0 h1:rQNbReJCCQ8L107VIQR0qjAlEqdDQRYOhDKYcKGcnPI= +github.com/filecoin-project/kubo-api-client v0.27.0/go.mod h1:1+geFlaV8oJRJ4IlVTqL3QC3T1f5N0aGSptErrtcMQs= +github.com/filecoin-project/lotus v1.26.0 h1:wK2PszP1zgVFvkZUQWHLvVddvTi+COOYhqFwJsXqJUA= +github.com/filecoin-project/lotus v1.26.0/go.mod h1:uTwgtAKXUCi2p8JGz5ycHeMkb8tPAdhnoUce5vJFNj4= github.com/filecoin-project/specs-actors v0.9.13/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao= github.com/filecoin-project/specs-actors v0.9.15-0.20220514164640-94e0d5e123bd/go.mod h1:pjGEe3QlWtK20ju/aFRsiArbMX6Cn8rqEhhsiCM9xYE= github.com/filecoin-project/specs-actors v0.9.15 h1:3VpKP5/KaDUHQKAMOg4s35g/syDaEBueKLws0vbsjMc= @@ -251,11 +265,14 @@ github.com/filecoin-project/specs-actors/v7 v7.0.1/go.mod h1:tPLEYXoXhcpyLh69Ccq github.com/filecoin-project/specs-actors/v8 v8.0.1 h1:4u0tIRJeT5G7F05lwLRIsDnsrN+bJ5Ixj6h49Q7uE2Y= github.com/filecoin-project/specs-actors/v8 v8.0.1/go.mod h1:UYIPg65iPWoFw5NEftREdJwv9b/5yaLKdCgTvNI/2FA= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= -github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ= +github.com/flynn/noise v1.1.0 h1:KjPQoQCEFdZDiP03phOvGi11+SVVhBG2wOWAorLsstg= +github.com/flynn/noise v1.1.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/francoispqt/gojay v1.2.13 h1:d2m3sFjloqoIUQU3TsHBgj6qg/BVGlTBeHDUmyJnXKk= +github.com/francoispqt/gojay v1.2.13/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= -github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= @@ -274,8 +291,8 @@ github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2 github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= @@ -287,8 +304,10 @@ github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5Nq github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-yaml/yaml v2.1.0+incompatible/go.mod h1:w2MrLa16VYP0jy6N7M5kHaCkaLENm+P+Tv+MfurjSw0= github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= +github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= @@ -320,8 +339,6 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -337,16 +354,17 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8= +github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b h1:h9U78+dx9a4BKdQkBBos92HalKpaGKHrp+3Uo6yTodo= +github.com/google/pprof v0.0.0-20240207164012-fb44976bdcd5 h1:E/LAvt58di64hlYjx7AsNS6C/ysHWYo+2qPCZKTQhRo= +github.com/google/pprof v0.0.0-20240207164012-fb44976bdcd5/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -359,13 +377,14 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORR github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f h1:KMlcu9X58lhTA/KrfX8Bi1LQSO4pzoVjTiL3h4Jk+Zk= github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/gxed/hashland/keccakpg v0.0.1/go.mod h1:kRzw3HkwxFU1mpmPP8v1WyQzwdGfmKFJ6tItnhQ67kU= github.com/gxed/hashland/murmur3 v0.0.1/go.mod h1:KjXop02n4/ckmZSnY2+HKcLud/tcmvhST0bie/0lS48= @@ -373,23 +392,27 @@ github.com/hannahhoward/cbor-gen-for v0.0.0-20230214144701-5d17c9d5243c h1:iiD+p github.com/hannahhoward/cbor-gen-for v0.0.0-20230214144701-5d17c9d5243c/go.mod h1:jvfsLIxk0fY/2BKSQ1xf2406AKA5dwMmKKv0ADcOfN8= github.com/hannahhoward/go-pubsub v0.0.0-20200423002714-8d62886cc36e h1:3YKHER4nmd7b5qy5t0GWDTwSn4OyRgfAXSmo6VnryBY= github.com/hannahhoward/go-pubsub v0.0.0-20200423002714-8d62886cc36e/go.mod h1:I8h3MITA53gN9OnWGCgaMa0JWVRdXthWw4M3CPM54OY= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/golang-lru v0.6.0 h1:uL2shRDx7RTrOrTCUZEGP/wJUFiUI8QT6E7z5o8jga4= -github.com/hashicorp/golang-lru v0.6.0/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/golang-lru/v2 v2.0.5 h1:wW7h1TG88eUIJ2i69gaE3uNVtEPIagzhGvHgwfx2Vm4= -github.com/hashicorp/golang-lru/v2 v2.0.5/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= +github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= +github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= +github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= github.com/huin/goupnp v1.0.2/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= -github.com/huin/goupnp v1.2.0 h1:uOKW26NG1hsSSbXIZ1IR7XP9Gjd1U8pnLaCMgntmkmY= +github.com/huin/goupnp v1.3.0 h1:UvLUlWDNpoUdYzb2TCn+MuTWtcjXKSza2n6CBdQ0xXc= +github.com/huin/goupnp v1.3.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/icza/backscanner v0.0.0-20210726202459-ac2ffc679f94 h1:9tcYMdi+7Rb1y0E9Del1DRHui7Ne3za5lLw6CjMJv/M= @@ -411,12 +434,14 @@ github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1: github.com/ipfs/bbloom v0.0.1/go.mod h1:oqo8CVWsJFMOZqTglBG4wydCE4IQA/G2/SEofB0rjUI= github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs= github.com/ipfs/bbloom v0.0.4/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0= -github.com/ipfs/boxo v0.10.1 h1:q0ZhbyN6iNZLipd6txt1xotCiP/icfvdAQ4YpUi+cL4= -github.com/ipfs/boxo v0.10.1/go.mod h1:1qgKq45mPRCxf4ZPoJV2lnXxyxucigILMJOrQrVivv8= +github.com/ipfs/boxo v0.18.0 h1:MOL9/AgoV3e7jlVMInicaSdbgralfqSsbkc31dZ9tmw= +github.com/ipfs/boxo v0.18.0/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= github.com/ipfs/go-bitfield v1.1.0 h1:fh7FIo8bSwaJEh6DdTWbCeZ1eqOaOkKFI74SCnsWbGA= +github.com/ipfs/go-bitfield v1.1.0/go.mod h1:paqf1wjq/D2BBmzfTVFlJQ9IlFOZpg422HL0HqsGWHU= github.com/ipfs/go-bitswap v0.1.0/go.mod h1:FFJEf18E9izuCqUtHxbWEvq+reg7o4CW5wSAE1wsxj0= github.com/ipfs/go-bitswap v0.1.2/go.mod h1:qxSWS4NXGs7jQ6zQvoPY3+NmOfHHG47mhkiLzBpJQIs= github.com/ipfs/go-bitswap v0.11.0 h1:j1WVvhDX1yhG32NTC9xfxnqycqYIlhzEzLXG/cU1HyQ= +github.com/ipfs/go-bitswap v0.11.0/go.mod h1:05aE8H3XOU+LXpTedeAS0OZpcO1WFsj5niYQH9a1Tmk= github.com/ipfs/go-block-format v0.0.1/go.mod h1:DK/YYcsSUIVAFNwo/KZCdIIbpN0ROH/baNLgayt4pFc= github.com/ipfs/go-block-format v0.0.2/go.mod h1:AWR46JfpcObNfg3ok2JHDUfdiHRgWhJgCQF+KIgOPJY= github.com/ipfs/go-block-format v0.0.3/go.mod h1:4LmD4ZUw0mhO+JSKdpWwrzATiEfM7WWgQ8H5l6P8MVk= @@ -437,6 +462,7 @@ github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqg github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= github.com/ipfs/go-cidutil v0.1.0 h1:RW5hO7Vcf16dplUU60Hs0AKDkQAVPVplr7lk97CFL+Q= +github.com/ipfs/go-cidutil v0.1.0/go.mod h1:e7OEVBMIv9JaOxt9zaGEmAoSlXW9jdFZ5lP/0PwcfpA= github.com/ipfs/go-datastore v0.0.1/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.0.5/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= github.com/ipfs/go-datastore v0.1.0/go.mod h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE= @@ -449,8 +475,8 @@ github.com/ipfs/go-detect-race v0.0.1 h1:qX/xay2W3E4Q1U7d9lNs1sU9nvguX0a7319XbyQ github.com/ipfs/go-detect-race v0.0.1/go.mod h1:8BNT7shDZPo99Q74BpGMK+4D8Mn4j46UU0LZ723meps= github.com/ipfs/go-ds-badger v0.0.2/go.mod h1:Y3QpeSFWQf6MopLTiZD+VT6IC1yZqaGmjvRcKeSGij8= github.com/ipfs/go-ds-leveldb v0.0.1/go.mod h1:feO8V3kubwsEF22n0YRQCffeb79OOYIykR4L04tMOYc= -github.com/ipfs/go-graphsync v0.14.6 h1:NPxvuUy4Z08Mg8dwpBzwgbv/PGLIufSJ1sle6iAX8yo= -github.com/ipfs/go-graphsync v0.14.6/go.mod h1:yT0AfjFgicOoWdAlUJ96tQ5AkuGI4r1taIQX/aHbBQo= +github.com/ipfs/go-graphsync v0.16.0 h1:0BX7whXlV13Y9FZ/jRg+xaGHaGYbtGxGppKD6tncw6k= +github.com/ipfs/go-graphsync v0.16.0/go.mod h1:WfbMW3hhmX5GQEQ+KJxsFzVJVBKgC5szfrYK7Zc7xIM= github.com/ipfs/go-ipfs-blockstore v0.0.1/go.mod h1:d3WClOmRQKFnJ0Jz/jj/zmksX0ma1gROTlovZKBmN08= github.com/ipfs/go-ipfs-blockstore v0.1.0/go.mod h1:5aD0AvHPi7mZc6Ci1WCAhiBQu2IsfTduLl+422H6Rqw= github.com/ipfs/go-ipfs-blockstore v1.3.0 h1:m2EXaWgwTzAfsmt5UdJ7Is6l4gJcaM/A12XwJyvYvMM= @@ -458,8 +484,8 @@ github.com/ipfs/go-ipfs-blockstore v1.3.0/go.mod h1:KgtZyc9fq+P2xJUiCAzbRdhhqJHv github.com/ipfs/go-ipfs-blocksutil v0.0.1 h1:Eh/H4pc1hsvhzsQoMEP3Bke/aW5P5rVM1IWFJMcGIPQ= github.com/ipfs/go-ipfs-blocksutil v0.0.1/go.mod h1:Yq4M86uIOmxmGPUHv/uI7uKqZNtLb449gwKqXjIsnRk= github.com/ipfs/go-ipfs-chunker v0.0.1/go.mod h1:tWewYK0we3+rMbOh7pPFGDyypCtvGcBFymgY4rSDLAw= -github.com/ipfs/go-ipfs-cmds v0.9.0 h1:K0VcXg1l1k6aY6sHnoxYcyimyJQbcV1ueXuWgThmK9Q= -github.com/ipfs/go-ipfs-cmds v0.9.0/go.mod h1:SBFHK8WNwC416QWH9Vz1Ql42SSMAOqKpaHUMBu3jpLo= +github.com/ipfs/go-ipfs-cmds v0.10.0 h1:ZB4+RgYaH4UARfJY0uLKl5UXgApqnRjKbuCiJVcErYk= +github.com/ipfs/go-ipfs-cmds v0.10.0/go.mod h1:sX5d7jkCft9XLPnkgEfXY0z2UBOB5g6fh/obBS0enJE= github.com/ipfs/go-ipfs-delay v0.0.0-20181109222059-70721b86a9a8/go.mod h1:8SP1YXK1M1kXuc4KJZINY3TQQ03J2rwBG9QfXmbRPrw= github.com/ipfs/go-ipfs-delay v0.0.1 h1:r/UXYyRcddO6thwOnhiznIAiSvxMECGgtv35Xs1IeRQ= github.com/ipfs/go-ipfs-delay v0.0.1/go.mod h1:8SP1YXK1M1kXuc4KJZINY3TQQ03J2rwBG9QfXmbRPrw= @@ -471,13 +497,16 @@ github.com/ipfs/go-ipfs-exchange-interface v0.2.0 h1:8lMSJmKogZYNo2jjhUs0izT+dck github.com/ipfs/go-ipfs-exchange-interface v0.2.0/go.mod h1:z6+RhJuDQbqKguVyslSOuVDhqF9JtTrO3eptSAiW2/Y= github.com/ipfs/go-ipfs-exchange-offline v0.0.1/go.mod h1:WhHSFCVYX36H/anEKQboAzpUws3x7UeEGkzQc3iNkM0= github.com/ipfs/go-ipfs-exchange-offline v0.3.0 h1:c/Dg8GDPzixGd0MC8Jh6mjOwU57uYokgWRFidfvEkuA= +github.com/ipfs/go-ipfs-exchange-offline v0.3.0/go.mod h1:MOdJ9DChbb5u37M1IcbrRB02e++Z7521fMxqCNRrz9s= github.com/ipfs/go-ipfs-files v0.0.3/go.mod h1:INEFm0LL2LWXBhNJ2PMIIb2w45hpXgPjNoE7yA8Y1d4= github.com/ipfs/go-ipfs-files v0.0.4/go.mod h1:INEFm0LL2LWXBhNJ2PMIIb2w45hpXgPjNoE7yA8Y1d4= github.com/ipfs/go-ipfs-posinfo v0.0.1/go.mod h1:SwyeVP+jCwiDu0C313l/8jg6ZxM0qqtlt2a0vILTc1A= github.com/ipfs/go-ipfs-pq v0.0.1/go.mod h1:LWIqQpqfRG3fNc5XsnIhz/wQ2XXGyugQwls7BgUmUfY= github.com/ipfs/go-ipfs-pq v0.0.3 h1:YpoHVJB+jzK15mr/xsWC574tyDLkezVrDNeaalQBsTE= +github.com/ipfs/go-ipfs-pq v0.0.3/go.mod h1:btNw5hsHBpRcSSgZtiNm/SLj5gYIZ18AKtv3kERkRb4= github.com/ipfs/go-ipfs-routing v0.1.0/go.mod h1:hYoUkJLyAUKhF58tysKpids8RNDPO42BVMgK5dNsoqY= github.com/ipfs/go-ipfs-routing v0.3.0 h1:9W/W3N+g+y4ZDeffSgqhgo7BsBSJwPMcyssET9OWevc= +github.com/ipfs/go-ipfs-routing v0.3.0/go.mod h1:dKqtTFIql7e1zYsEuWLyuOU+E0WJWW8JjbTPLParDWo= github.com/ipfs/go-ipfs-util v0.0.1/go.mod h1:spsl5z8KUnrve+73pOhSVZND1SIxPW5RyBCNzQxlJBc= github.com/ipfs/go-ipfs-util v0.0.2/go.mod h1:CbPtkWJzjLdEcezDns2XYaehFVNXG9zrdrtMecczcsQ= github.com/ipfs/go-ipfs-util v0.0.3 h1:2RFdGez6bu2ZlZdI+rWfIdbQb1KudQp3VGwPtdNCmE0= @@ -486,13 +515,14 @@ github.com/ipfs/go-ipld-cbor v0.0.2/go.mod h1:wTBtrQZA3SoFKMVkp6cn6HMRteIB1VsmHA github.com/ipfs/go-ipld-cbor v0.0.3/go.mod h1:wTBtrQZA3SoFKMVkp6cn6HMRteIB1VsmHA0AQFOn7Nc= github.com/ipfs/go-ipld-cbor v0.0.4/go.mod h1:BkCduEx3XBCO6t2Sfo5BaHzuok7hbhdMm9Oh8B2Ftq4= github.com/ipfs/go-ipld-cbor v0.0.6-0.20211211231443-5d9b9e1f6fa8/go.mod h1:ssdxxaLJPXH7OjF5V4NSjBbcfh+evoR4ukuru0oPXMA= -github.com/ipfs/go-ipld-cbor v0.0.6 h1:pYuWHyvSpIsOOLw4Jy7NbBkCyzLDcl64Bf/LZW7eBQ0= github.com/ipfs/go-ipld-cbor v0.0.6/go.mod h1:ssdxxaLJPXH7OjF5V4NSjBbcfh+evoR4ukuru0oPXMA= +github.com/ipfs/go-ipld-cbor v0.1.0 h1:dx0nS0kILVivGhfWuB6dUpMa/LAwElHPw1yOGYopoYs= +github.com/ipfs/go-ipld-cbor v0.1.0/go.mod h1:U2aYlmVrJr2wsUBU67K4KgepApSZddGRDWBYR0H4sCk= github.com/ipfs/go-ipld-format v0.0.1/go.mod h1:kyJtbkDALmFHv3QR6et67i35QzO3S0dCDnkOJhcZkms= github.com/ipfs/go-ipld-format v0.0.2/go.mod h1:4B6+FM2u9OJ9zCV+kSbgFAZlOrv1Hqbf0INGQgiKf9k= github.com/ipfs/go-ipld-format v0.2.0/go.mod h1:3l3C1uKoadTPbeNfrDi+xMInYKlx2Cvg1BuydPSdzQs= -github.com/ipfs/go-ipld-format v0.5.0 h1:WyEle9K96MSrvr47zZHKKcDxJ/vlpET6PSiQsAFO+Ds= -github.com/ipfs/go-ipld-format v0.5.0/go.mod h1:ImdZqJQaEouMjCvqCe0ORUS+uoBmf7Hf+EO/jh+nk3M= +github.com/ipfs/go-ipld-format v0.6.0 h1:VEJlA2kQ3LqFSIm5Vu6eIlSxD/Ze90xtc4Meten1F5U= +github.com/ipfs/go-ipld-format v0.6.0/go.mod h1:g4QVMTn3marU3qXchwjpKPKgJv+zF+OlaKMyhJ4LHPg= github.com/ipfs/go-ipld-legacy v0.2.1 h1:mDFtrBpmU7b//LzLSypVrXsD8QxkEWxu5qVxN99/+tk= github.com/ipfs/go-ipld-legacy v0.2.1/go.mod h1:782MOUghNzMO2DER0FlBR94mllfdCJCkTtDtPM51otM= github.com/ipfs/go-log v0.0.1/go.mod h1:kL1d2/hzSpI0thNYjiKfjanbVNU+IIGA/WnNESY9leM= @@ -514,41 +544,49 @@ github.com/ipfs/go-metrics-interface v0.0.1 h1:j+cpbjYvu4R8zbleSs36gvB7jR+wsL2fG github.com/ipfs/go-metrics-interface v0.0.1/go.mod h1:6s6euYU4zowdslK0GKHmqaIZ3j/b/tL7HTWtJ4VPgWY= github.com/ipfs/go-peertaskqueue v0.1.0/go.mod h1:Jmk3IyCcfl1W3jTW3YpghSwSEC6IJ3Vzz/jUmWw8Z0U= github.com/ipfs/go-peertaskqueue v0.8.1 h1:YhxAs1+wxb5jk7RvS0LHdyiILpNmRIRnZVztekOF0pg= +github.com/ipfs/go-peertaskqueue v0.8.1/go.mod h1:Oxxd3eaK279FxeydSPPVGHzbwVeHjatZ2GA8XD+KbPU= github.com/ipfs/go-unixfs v0.2.2-0.20190827150610-868af2e9e5cb/go.mod h1:IwAAgul1UQIcNZzKPYZWOCijryFBeCV79cNubPzol+k= -github.com/ipfs/go-unixfsnode v1.7.1 h1:RRxO2b6CSr5UQ/kxnGzaChTjp5LWTdf3Y4n8ANZgB/s= +github.com/ipfs/go-unixfsnode v1.9.0 h1:ubEhQhr22sPAKO2DNsyVBW7YB/zA8Zkif25aBvz8rc8= +github.com/ipfs/go-unixfsnode v1.9.0/go.mod h1:HxRu9HYHOjK6HUqFBAi++7DVoWAHn0o4v/nZ/VA+0g8= github.com/ipfs/go-verifcid v0.0.1/go.mod h1:5Hrva5KBeIog4A+UpqlaIU+DEstipcJYQQZc0g37pY0= github.com/ipfs/go-verifcid v0.0.2 h1:XPnUv0XmdH+ZIhLGKg6U2vaPaRDXb9urMyNVCE7uvTs= github.com/ipfs/go-verifcid v0.0.2/go.mod h1:40cD9x1y4OWnFXbLNJYRe7MpNvWlMn3LZAG5Wb4xnPU= github.com/ipld/go-car v0.1.0/go.mod h1:RCWzaUh2i4mOEkB3W45Vc+9jnS/M6Qay5ooytiBHl3g= github.com/ipld/go-car v0.6.1 h1:blWbEHf1j62JMWFIqWE//YR0m7k5ZMw0AuUOU5hjrH8= github.com/ipld/go-car v0.6.1/go.mod h1:oEGXdwp6bmxJCZ+rARSkDliTeYnVzv3++eXajZ+Bmr8= -github.com/ipld/go-car/v2 v2.10.1 h1:MRDqkONNW9WRhB79u+Z3U5b+NoN7lYA5B8n8qI3+BoI= +github.com/ipld/go-car/v2 v2.13.1 h1:KnlrKvEPEzr5IZHKTXLAEub+tPrzeAFQVRlSQvuxBO4= +github.com/ipld/go-car/v2 v2.13.1/go.mod h1:QkdjjFNGit2GIkpQ953KBwowuoukoM75nP/JI1iDJdo= github.com/ipld/go-codec-dagpb v1.2.0/go.mod h1:6nBN7X7h8EOsEejZGqC7tej5drsdBAXbMHyBT+Fne5s= github.com/ipld/go-codec-dagpb v1.6.0 h1:9nYazfyu9B1p3NAgfVdpRco3Fs2nFC72DqVsMj6rOcc= github.com/ipld/go-codec-dagpb v1.6.0/go.mod h1:ANzFhfP2uMJxRBr8CE+WQWs5UsNa0pYtmKZ+agnUw9s= github.com/ipld/go-ipld-adl-hamt v0.0.0-20220616142416-9004dbd839e0 h1:QAI/Ridj0+foHD6epbxmB4ugxz9B4vmNdYSmQLGa05E= +github.com/ipld/go-ipld-adl-hamt v0.0.0-20220616142416-9004dbd839e0/go.mod h1:odxGcpiQZLzP5+yGu84Ljo8y3EzCvNAQKEodHNsHLXA= github.com/ipld/go-ipld-prime v0.0.2-0.20191108012745-28a82f04c785/go.mod h1:bDDSvVz7vaK12FNvMeRYnpRFkSUPNQOiCYQezMD/P3w= github.com/ipld/go-ipld-prime v0.9.0/go.mod h1:KvBLMr4PX1gWptgkzRjVZCrLmSGcZCb/jioOQwCqZN8= github.com/ipld/go-ipld-prime v0.10.0/go.mod h1:KvBLMr4PX1gWptgkzRjVZCrLmSGcZCb/jioOQwCqZN8= -github.com/ipld/go-ipld-prime v0.20.0 h1:Ud3VwE9ClxpO2LkCYP7vWPc0Fo+dYdYzgxUJZ3uRG4g= -github.com/ipld/go-ipld-prime v0.20.0/go.mod h1:PzqZ/ZR981eKbgdr3y2DJYeD/8bgMawdGVlJDE8kK+M= +github.com/ipld/go-ipld-prime v0.21.0 h1:n4JmcpOlPDIxBcY037SVfpd1G+Sj1nKZah0m6QH9C2E= +github.com/ipld/go-ipld-prime v0.21.0/go.mod h1:3RLqy//ERg/y5oShXXdx5YIp50cFGOanyMctpPjsvxQ= github.com/ipld/go-ipld-prime-proto v0.0.0-20191113031812-e32bd156a1e5/go.mod h1:gcvzoEDBjwycpXt3LBE061wT9f46szXGHAmj9uoP6fU= github.com/ipld/go-ipld-selector-text-lite v0.0.1 h1:lNqFsQpBHc3p5xHob2KvEg/iM5dIFn6iw4L/Hh+kS1Y= github.com/ipld/go-ipld-selector-text-lite v0.0.1/go.mod h1:U2CQmFb+uWzfIEF3I1arrDa5rwtj00PrpiwwCO+k1RM= github.com/ipni/go-libipni v0.0.8 h1:0wLfZRSBG84swmZwmaLKul/iB/FlBkkl9ZcR1ub+Z+w= +github.com/ipni/go-libipni v0.0.8/go.mod h1:paYP9U4N3/vOzGCuN9kU972vtvw9JUcQjOKyiCFGwRk= github.com/ipni/index-provider v0.12.0 h1:R3F6dxxKNv4XkE4GJZNLOG0bDEbBQ/S5iztXwSD8jhQ= +github.com/ipni/index-provider v0.12.0/go.mod h1:GhyrADJp7n06fqoc1djzkvL4buZYHzV8SoWrlxEo5F4= github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 h1:QG4CGBqCeuBo6aZlGAamSkxWdgWfZGeE49eUOWJPA4c= github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52/go.mod h1:fdg+/X9Gg4AsAIzWpEHwnqd+QY3b7lajxyjE1m4hkq4= github.com/jackpal/gateway v1.0.5/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA= github.com/jackpal/go-nat-pmp v1.0.1/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= +github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jbenet/go-cienv v0.0.0-20150120210510-1bb1476777ec/go.mod h1:rGaEvXB4uRSZMmzKNLoXvTu1sfx+1kv/DojUlPrSZGs= github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA= github.com/jbenet/go-random v0.0.0-20190219211222-123a90aedc0c h1:uUx61FiAa1GI6ZmVd2wf2vULeQZIKG66eybjNXKYCz4= github.com/jbenet/go-random v0.0.0-20190219211222-123a90aedc0c/go.mod h1:sdx1xVM9UuLw1tXnhJWN3piypTUO3vCIHYmG15KE/dU= github.com/jbenet/go-temp-err-catcher v0.0.0-20150120210811-aac704a3f4f2/go.mod h1:8GXXJV31xl8whumTzdZsTt3RnUIiPqzkyf7mxToRCMs= github.com/jbenet/go-temp-err-catcher v0.1.0 h1:zpb3ZH6wIE8Shj2sKS+khgRvf7T7RABoLk/+KKHggpk= +github.com/jbenet/go-temp-err-catcher v0.1.0/go.mod h1:0kJRvmDZXNMIiJirNPEYfhpPwbGVtZVWC34vc5WLsDk= github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8/go.mod h1:Ly/wlsjFq/qrU3Rar62tu1gASgGw6chQbSh/XgIIXCY= github.com/jbenet/goprocess v0.1.3/go.mod h1:5yspPrukOVuOLORacaBi858NqyClJPQxYZlqdZVfqY4= github.com/jbenet/goprocess v0.1.4 h1:DRGOFReOMqqDNXwW70QkacFW0YN9QnwLV0Vqk+3oU0o= @@ -580,21 +618,24 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= +github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= -github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= +github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/koron/go-ssdp v0.0.0-20180514024734-4a0ed625a78b/go.mod h1:5Ky9EC2xfoUKUor0Hjgi2BJhCSXJfMOFlmyYrVKGQMk= github.com/koron/go-ssdp v0.0.4 h1:1IDwrghSKYM7yLf7XCzbByg2sJ/JcNOZRXS2jczTwz0= +github.com/koron/go-ssdp v0.0.4/go.mod h1:oDXq+E5IL5q0U8uSBcoAXzTzInwy5lEgC91HoKtbmZk= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -610,15 +651,17 @@ github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoR github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/libp2p/go-cidranger v1.1.0 h1:ewPN8EZ0dd1LSnrtuwd4709PXVcITVeuwbag38yPW7c= +github.com/libp2p/go-cidranger v1.1.0/go.mod h1:KWZTfSr+r9qEo9OkI9/SIEeAtw+NNoU0dXIXt15Okic= github.com/libp2p/go-conn-security-multistream v0.1.0/go.mod h1:aw6eD7LOsHEX7+2hJkDxw1MteijaVcI+/eP2/x3J1xc= github.com/libp2p/go-flow-metrics v0.0.1/go.mod h1:Iv1GH0sG8DtYN3SVJ2eG221wMiNpZxBdp967ls1g+k8= github.com/libp2p/go-flow-metrics v0.1.0 h1:0iPhMI8PskQwzh57jB9WxIuIOQ0r+15PChFGkx3Q3WM= github.com/libp2p/go-flow-metrics v0.1.0/go.mod h1:4Xi8MX8wj5aWNDAZttg6UPmc0ZrnFNsMtpsYUClFtro= github.com/libp2p/go-libp2p v0.1.0/go.mod h1:6D/2OBauqLUoqcADOJpn9WbKqvaM07tDw68qHM0BxUM= github.com/libp2p/go-libp2p v0.1.1/go.mod h1:I00BRo1UuUSdpuc8Q2mN7yDF/oTUTRAX6JWpTiK9Rp8= -github.com/libp2p/go-libp2p v0.31.1 h1:mUiFPwdzC2zMLIATKVddjCuPXVbtC3BsKKVPMs4+jzY= -github.com/libp2p/go-libp2p v0.31.1/go.mod h1:+9TCv+XySSOdaxPF1WIgTK8rXP9jBb8WbemlMCSXGsU= -github.com/libp2p/go-libp2p-asn-util v0.3.0 h1:gMDcMyYiZKkocGXDQ5nsUQyquC9+H+iLEQHwOCZ7s8s= +github.com/libp2p/go-libp2p v0.33.1 h1:tvJl9b9M6nSLBtZSXSguq+/lRhRj2oLRkyhBmQNMFLA= +github.com/libp2p/go-libp2p v0.33.1/go.mod h1:zOUTMjG4I7TXwMndNyOBn/CNtVBLlvBlnxfi+8xzx+E= +github.com/libp2p/go-libp2p-asn-util v0.4.1 h1:xqL7++IKD9TBFMgnLPZR6/6iYhawHKHl950SO9L6n94= +github.com/libp2p/go-libp2p-asn-util v0.4.1/go.mod h1:d/NI6XZ9qxw67b4e+NgpQexCIiFYJjErASrYW4PFDN8= github.com/libp2p/go-libp2p-autonat v0.1.0/go.mod h1:1tLf2yXxiE/oKGtDwPYWTSYG3PtvYlJmg7NeVtPRqH8= github.com/libp2p/go-libp2p-blankhost v0.1.1/go.mod h1:pf2fvdLJPsC1FsVrNP3DUUvMzUts2dsLLBEpo1vW1ro= github.com/libp2p/go-libp2p-circuit v0.1.0/go.mod h1:Ahq4cY3V9VJcHcn1SBXjr78AbFkZeIRmfunbA7pmFh8= @@ -629,6 +672,10 @@ github.com/libp2p/go-libp2p-core v0.20.1 h1:fQz4BJyIFmSZAiTbKV8qoYhEH5Dtv/cVhZbG github.com/libp2p/go-libp2p-core v0.20.1/go.mod h1:6zR8H7CvQWgYLsbG4on6oLNSGcyKaYFSEYyDt51+bIY= github.com/libp2p/go-libp2p-crypto v0.1.0/go.mod h1:sPUokVISZiy+nNuTTH/TY+leRSxnFj/2GLjtOTW90hI= github.com/libp2p/go-libp2p-discovery v0.1.0/go.mod h1:4F/x+aldVHjHDHuX85x1zWoFTGElt8HnoDzwkFZm29g= +github.com/libp2p/go-libp2p-kad-dht v0.25.2 h1:FOIk9gHoe4YRWXTu8SY9Z1d0RILol0TrtApsMDPjAVQ= +github.com/libp2p/go-libp2p-kad-dht v0.25.2/go.mod h1:6za56ncRHYXX4Nc2vn8z7CZK0P4QiMcrn77acKLM2Oo= +github.com/libp2p/go-libp2p-kbucket v0.6.3 h1:p507271wWzpy2f1XxPzCQG9NiN6R6lHL9GiSErbQQo0= +github.com/libp2p/go-libp2p-kbucket v0.6.3/go.mod h1:RCseT7AH6eJWxxk2ol03xtP9pEHetYSPXOaJnOiD8i0= github.com/libp2p/go-libp2p-loggables v0.1.0/go.mod h1:EyumB2Y6PrYjr55Q3/tiJ/o3xoDasoRYM7nOzEpoa90= github.com/libp2p/go-libp2p-mplex v0.2.0/go.mod h1:Ejl9IyjvXJ0T9iqUTE1jpYATQ9NM3g+OtR+EMMODbKo= github.com/libp2p/go-libp2p-mplex v0.2.1/go.mod h1:SC99Rxs8Vuzrf/6WhmH41kNn13TiYdAWNYHrwImKLnE= @@ -636,16 +683,20 @@ github.com/libp2p/go-libp2p-nat v0.0.4/go.mod h1:N9Js/zVtAXqaeT99cXgTV9e75KpnWCv github.com/libp2p/go-libp2p-netutil v0.1.0/go.mod h1:3Qv/aDqtMLTUyQeundkKsA+YCThNdbQD54k3TqjpbFU= github.com/libp2p/go-libp2p-peer v0.2.0/go.mod h1:RCffaCvUyW2CJmG2gAWVqwePwW7JMgxjsHm7+J5kjWY= github.com/libp2p/go-libp2p-peerstore v0.1.0/go.mod h1:2CeHkQsr8svp4fZ+Oi9ykN1HBb6u0MOvdJ7YIsmcwtY= -github.com/libp2p/go-libp2p-pubsub v0.9.3 h1:ihcz9oIBMaCK9kcx+yHWm3mLAFBMAUsM4ux42aikDxo= -github.com/libp2p/go-libp2p-pubsub v0.9.3/go.mod h1:RYA7aM9jIic5VV47WXu4GkcRxRhrdElWf8xtyli+Dzc= +github.com/libp2p/go-libp2p-pubsub v0.10.0 h1:wS0S5FlISavMaAbxyQn3dxMOe2eegMfswM471RuHJwA= +github.com/libp2p/go-libp2p-pubsub v0.10.0/go.mod h1:1OxbaT/pFRO5h+Dpze8hdHQ63R0ke55XTs6b6NwLLkw= github.com/libp2p/go-libp2p-record v0.1.0/go.mod h1:ujNc8iuE5dlKWVy6wuL6dd58t0n7xI4hAIl8pE6wu5Q= github.com/libp2p/go-libp2p-record v0.2.0 h1:oiNUOCWno2BFuxt3my4i1frNrt7PerzB3queqa1NkQ0= +github.com/libp2p/go-libp2p-record v0.2.0/go.mod h1:I+3zMkvvg5m2OcSdoL0KPljyJyvNDFGKX7QdlpYUcwk= +github.com/libp2p/go-libp2p-routing-helpers v0.7.3 h1:u1LGzAMVRK9Nqq5aYDVOiq/HaB93U9WWczBzGyAC5ZY= +github.com/libp2p/go-libp2p-routing-helpers v0.7.3/go.mod h1:cN4mJAD/7zfPKXBcs9ze31JGYAZgzdABEm+q/hkswb8= github.com/libp2p/go-libp2p-secio v0.1.0/go.mod h1:tMJo2w7h3+wN4pgU2LSYeiKPrfqBgkOsdiKK77hE7c8= github.com/libp2p/go-libp2p-swarm v0.1.0/go.mod h1:wQVsCdjsuZoc730CgOvh5ox6K8evllckjebkdiY5ta4= github.com/libp2p/go-libp2p-testing v0.0.2/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= github.com/libp2p/go-libp2p-testing v0.0.3/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= github.com/libp2p/go-libp2p-testing v0.0.4/go.mod h1:gvchhf3FQOtBdr+eFUABet5a4MBLK8jM3V4Zghvmi+E= github.com/libp2p/go-libp2p-testing v0.12.0 h1:EPvBb4kKMWO29qP4mZGyhVzUyR25dvfUIK5WDu6iPUA= +github.com/libp2p/go-libp2p-testing v0.12.0/go.mod h1:KcGDRXyN7sQCllucn1cOOS+Dmm7ujhfEyXQL5lvkcPg= github.com/libp2p/go-libp2p-transport-upgrader v0.1.1/go.mod h1:IEtA6or8JUbsV07qPW4r01GnTenLW4oi3lOPbUMGJJA= github.com/libp2p/go-libp2p-yamux v0.2.0/go.mod h1:Db2gU+XfLpm6E4rG5uGCFX6uXA8MEXOxFcRoXUODaK8= github.com/libp2p/go-libp2p-yamux v0.2.1/go.mod h1:1FBXiHDk1VyRM1C0aez2bCfHQ4vMZKkAQzZbkSQt5fI= @@ -658,9 +709,12 @@ github.com/libp2p/go-msgio v0.3.0 h1:mf3Z8B1xcFN314sWX+2vOTShIE0Mmn2TXn3YCUQGNj0 github.com/libp2p/go-msgio v0.3.0/go.mod h1:nyRM819GmVaF9LX3l03RMh10QdOroF++NBbxAb0mmDM= github.com/libp2p/go-nat v0.0.3/go.mod h1:88nUEt0k0JD45Bk93NIwDqjlhiOwOoV36GchpcVc1yI= github.com/libp2p/go-nat v0.2.0 h1:Tyz+bUFAYqGyJ/ppPPymMGbIgNRH+WqC5QrT5fKrrGk= +github.com/libp2p/go-nat v0.2.0/go.mod h1:3MJr+GRpRkyT65EpVPBstXLvOlAPzUVlG6Pwg9ohLJk= github.com/libp2p/go-netroute v0.2.1 h1:V8kVrpD8GK0Riv15/7VN6RbUQ3URNZVosw7H2v9tksU= +github.com/libp2p/go-netroute v0.2.1/go.mod h1:hraioZr0fhBjG0ZRXJJ6Zj2IVEVNx6tDTFQfSmcq7mQ= github.com/libp2p/go-reuseport v0.0.1/go.mod h1:jn6RmB1ufnQwl0Q1f+YxAj8isJgDCQzaaxIFYDhcYEA= github.com/libp2p/go-reuseport v0.4.0 h1:nR5KU7hD0WxXCJbmw7r2rhRYruNRl2koHw8fQscQm2s= +github.com/libp2p/go-reuseport v0.4.0/go.mod h1:ZtI03j/wO5hZVDFo2jKywN6bYKWLOy8Se6DrI2E1cLU= github.com/libp2p/go-reuseport-transport v0.0.2/go.mod h1:YkbSDrvjUVDL6b8XqriyA20obEtsW9BLkuOUyQAOCbs= github.com/libp2p/go-stream-muxer v0.0.1/go.mod h1:bAo8x7YkSpadMTbtTaxGVHWUQsR/l5MEaHbKaliuT14= github.com/libp2p/go-stream-muxer-multistream v0.2.0/go.mod h1:j9eyPol/LLRqT+GPLSxvimPhNph4sfYfMoDPd7HkzIc= @@ -671,6 +725,7 @@ github.com/libp2p/go-yamux v1.2.2/go.mod h1:FGTiPvoV/3DVdgWpX+tM0OW3tsM+W5bSE3gZ github.com/libp2p/go-yamux v1.2.3 h1:xX8A36vpXb59frIzWFdEgptLMsOANMFq2K7fPRlunYI= github.com/libp2p/go-yamux v1.2.3/go.mod h1:FGTiPvoV/3DVdgWpX+tM0OW3tsM+W5bSE3gZwqQTcow= github.com/libp2p/go-yamux/v4 v4.0.1 h1:FfDR4S1wj6Bw2Pqbc8Uz7pCxeRBPbwsBbEdfwiCypkQ= +github.com/libp2p/go-yamux/v4 v4.0.1/go.mod h1:NWjl8ZTLOGlozrXSOZ/HlfG++39iKNnM5wwmtQP1YB4= github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= github.com/magefile/mage v1.9.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magefile/mage v1.11.0 h1:C/55Ywp9BpgVVclD3lRnSYCwXTYxmSppIgLeDYlNuls= @@ -679,6 +734,7 @@ github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czP github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= +github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= @@ -694,20 +750,21 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/miekg/dns v1.1.12/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/miekg/dns v1.1.55 h1:GoQ4hpsj0nFLYe+bWiCToyrBEJXkQfOOIvFGFy0lEgo= -github.com/miekg/dns v1.1.55/go.mod h1:uInx36IzPl7FYnDcMeVWxj9byh7DutNykX4G9Sj60FY= +github.com/miekg/dns v1.1.58 h1:ca2Hdkz+cDg/7eNF6V56jjzuZ4aCAE+DbVkILdQWG/4= +github.com/miekg/dns v1.1.58/go.mod h1:Ypv+3b/KadlvW9vJfXOTf300O4UqaHFzFCuHz+rPkBY= github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b h1:z78hV3sbSMAUoyUMM0I83AUIT6Hu17AWfgjzIbtrYFc= +github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b/go.mod h1:lxPUiZwKoFL8DUUmalo2yJJUCxbPKtm8OKfqr2/FTNU= github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc h1:PTfri+PuQmWDqERdnNMiD9ZejrlswWrCpBEZgWOiTrc= +github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc/go.mod h1:cGKTAVKx4SxOuR/czcZ/E2RSJ3sfHs8FpHhQ5CWMf9s= github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 h1:lYpkrQH5ajf0OXOcUbGjvZxxijuBwbbmlSxLiuofa+g= github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1/go.mod h1:pD8RvIylQ358TN4wwqatJ8rNavkEINozVn9DtGI3dfQ= github.com/minio/sha256-simd v0.0.0-20190131020904-2d45a736cd16/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U= @@ -753,6 +810,7 @@ github.com/multiformats/go-multiaddr-dns v0.3.1 h1:QgQgR+LQVt3NPTjbrLLpsaT2ufAA2 github.com/multiformats/go-multiaddr-dns v0.3.1/go.mod h1:G/245BRQ6FJGmryJCrOuTdB37AMA5AMOVuO6NY3JwTk= github.com/multiformats/go-multiaddr-fmt v0.0.1/go.mod h1:aBYjqL4T/7j4Qx+R73XSv/8JsgnRFlf0w2KGLCmXl3Q= github.com/multiformats/go-multiaddr-fmt v0.1.0 h1:WLEFClPycPkp4fnIzoFoV9FVd49/eQsuaL3/CWe167E= +github.com/multiformats/go-multiaddr-fmt v0.1.0/go.mod h1:hGtDIW4PU4BqJ50gW2quDuPVjyWNZxToGUh/HwTZYJo= github.com/multiformats/go-multiaddr-net v0.0.1/go.mod h1:nw6HSxNmCIQH27XPGBuX+d1tnvM7ihcFwHMSstNAVUU= github.com/multiformats/go-multibase v0.0.1/go.mod h1:bja2MqRZ3ggyXtZSEDKpl0uO/gviWFaSteVbWT51qgs= github.com/multiformats/go-multibase v0.0.3/go.mod h1:5+1R4eQrT3PkYZ24C3W2Ue2tPwIdYQD509ZjSb5y9Oc= @@ -771,8 +829,8 @@ github.com/multiformats/go-multihash v0.0.15/go.mod h1:D6aZrWNLFTV/ynMpKsNtB40mJ github.com/multiformats/go-multihash v0.2.3 h1:7Lyc8XfX/IY2jWb/gI7JP+o7JEq9hOa7BFvVU9RSh+U= github.com/multiformats/go-multihash v0.2.3/go.mod h1:dXgKXCXjBzdscBLk9JkjINiEsCKRVch90MdaGiKsvSM= github.com/multiformats/go-multistream v0.1.0/go.mod h1:fJTiDfXJVmItycydCnNx4+wSzZ5NwG2FEVAI30fiovg= -github.com/multiformats/go-multistream v0.4.1 h1:rFy0Iiyn3YT0asivDUIR05leAdwZq3de4741sbiSdfo= -github.com/multiformats/go-multistream v0.4.1/go.mod h1:Mz5eykRVAjJWckE2U78c6xqdtyNUEhKSM0Lwar2p77Q= +github.com/multiformats/go-multistream v0.5.0 h1:5htLSLl7lvJk3xx3qT/8Zm9J4K8vEOf/QGkvOGQAyiE= +github.com/multiformats/go-multistream v0.5.0/go.mod h1:n6tMZiwiP2wUsR8DgfDWw1dydlEqV3l6N3/GBsX6ILA= github.com/multiformats/go-varint v0.0.1/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.6/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= @@ -791,15 +849,17 @@ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0 h1:2mOpI4JVVPBN+WQRa0WKH2eXR+Ey+uK4n7Zj0aYpIQA= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= +github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY= +github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg= +github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk= +github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= 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/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -808,8 +868,11 @@ github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYr github.com/orcaman/concurrent-map v1.0.0 h1:I/2A2XPCb4IuQWcQhBhSwGfiuybl/J0ev9HDbW65HOY= github.com/orcaman/concurrent-map v1.0.0/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI= github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= +github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= +github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 h1:1/WtZae0yGtPq+TI6+Tv1WTxkukpXeMlviSxvL7SRgk= +github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9/go.mod h1:x3N5drFsm2uilKKuuYo6LdyD8vZAW55sH/9w+pbo1sw= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= @@ -830,36 +893,46 @@ github.com/polydawn/refmt v0.89.0 h1:ADJTApkvkeBZsN0tBTx8QjpD9JkmxbKp0cxfr9qszm4 github.com/polydawn/refmt v0.89.0/go.mod h1:/zvteZs/GwLtCgZ4BL6CBsk9IKIlexP43ObX9AxTqTw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= +github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= +github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= +github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= +github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= +github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= +github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= +github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= +github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo= -github.com/quic-go/qtls-go1-20 v0.3.3 h1:17/glZSLI9P9fDAeyCHBFSWSqJcwx1byhLwP5eUIDCM= -github.com/quic-go/quic-go v0.38.2 h1:VWv/6gxIoB8hROQJhx1JEyiegsUQ+zMN3em3kynTGdg= -github.com/quic-go/webtransport-go v0.5.3 h1:5XMlzemqB4qmOlgIus5zB45AcZ2kCgCy2EptUrfOPWU= +github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A= +github.com/quic-go/quic-go v0.42.0 h1:uSfdap0eveIl8KXnipv9K7nlwZ5IqLlYOpJ58u5utpM= +github.com/quic-go/quic-go v0.42.0/go.mod h1:132kz4kL3F9vxhW3CtQJLDVwcFe5wdWeJXXijhsO57M= +github.com/quic-go/webtransport-go v0.6.0 h1:CvNsKqc4W2HljHJnoT+rMmbRJybShZ0YPFDD3NxaZLY= +github.com/quic-go/webtransport-go v0.6.0/go.mod h1:9KjU4AEBqEQidGHNDkZrb8CAa1abRaosM2yGOyiikEc= github.com/raulk/clock v1.1.0 h1:dpb29+UKMbLqiU/jqIJptgLR1nn23HLgMY0sTCDza5Y= github.com/raulk/clock v1.1.0/go.mod h1:3MpVxdZ/ODBQDxbN+kzshf5OSZwPjtMDx6BBXBmOeY0= github.com/raulk/go-watchdog v1.3.0 h1:oUmdlHxdkXRJlwfG0O9omj8ukerm8MEQavSiDTEtBsk= +github.com/raulk/go-watchdog v1.3.0/go.mod h1:fIvOnLbF0b0ZwkB9YU4mOW9Did//4vPZtDqv66NfsMU= github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA= +github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= @@ -924,6 +997,7 @@ github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITn github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= github.com/twmb/murmur3 v1.1.6 h1:mqrRot1BRxm+Yct+vavLMou2/iJt0tNVTTC0QoIjaZg= +github.com/twmb/murmur3 v1.1.6/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -939,15 +1013,19 @@ github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52 github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/warpfork/go-testmark v0.11.0 h1:J6LnV8KpceDvo7spaNU4+DauH2n1x+6RaO2rJrmpQ9U= +github.com/warpfork/go-testmark v0.12.1 h1:rMgCpJfwy1sJ50x0M0NgyphxYYPMOODIJHhsXyEHU0s= +github.com/warpfork/go-testmark v0.12.1/go.mod h1:kHwy7wfvGSPh1rQJYKayD4AbtNaeyZdcGi9tNJTaa5Y= github.com/warpfork/go-wish v0.0.0-20180510122957-5ad1f5abf436/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20190328234359-8b3e70f8e830/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0 h1:GDDkbFiaK8jsSDJfjId/PEGEShv6ugrt4kYsC5UIDaQ= github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= +github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc h1:BCPnHtcboadS0DvysUuJXZ4lWVv5Bh5i7+tbIyi+ck4= +github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc/go.mod h1:r45hJU7yEoA81k6MWNhpMj/kms0n14dkzkxYHoB96UM= github.com/whyrusleeping/bencher v0.0.0-20190829221104-bb6607aa8bba h1:X4n8JG2e2biEZZXdBKt9HX7DN3bYGFUqljqqy0DqgnY= github.com/whyrusleeping/bencher v0.0.0-20190829221104-bb6607aa8bba/go.mod h1:CHQnYnQUEPydYCwuy8lmTHfGmdw9TKrhWV0xLx8l0oM= github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 h1:5HZfQkwe0mIfyDmc1Em5GqlNRzcdtlv4HTNmdpt7XH0= +github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11/go.mod h1:Wlo/SzPmxVp6vXpGt/zaXhHH0fn4IxgqZc82aKg6bpQ= github.com/whyrusleeping/cbor-gen v0.0.0-20191216205031-b047b6acb3c0/go.mod h1:xdlJQaiqipF0HW+Mzpg7XRM3fWbGvfgFlcppuvlkIvY= github.com/whyrusleeping/cbor-gen v0.0.0-20200123233031-1cdf64d27158/go.mod h1:Xj/M2wWU+QdTdRbu/L/1dIZY8/Wb2K9pAhtroQuxJJI= github.com/whyrusleeping/cbor-gen v0.0.0-20200414195334-429a0b5e922e/go.mod h1:Xj/M2wWU+QdTdRbu/L/1dIZY8/Wb2K9pAhtroQuxJJI= @@ -963,6 +1041,7 @@ github.com/whyrusleeping/cbor-gen v0.1.0 h1:Jneeq3V5enErVcuL0NKEbD1Gi+iOvEeFhXOV github.com/whyrusleeping/cbor-gen v0.1.0/go.mod h1:pM99HXyEbSQHcosHc0iW7YFmwnscr+t9Te4ibko05so= github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f h1:jQa4QT2UP9WYv2nzyawpKMOCl+Z/jW7djv2/J50lj9E= github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f/go.mod h1:p9UJB6dDgdPgMJZs7UjUOdulKyRr9fqkS+6JKAInPy8= +github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 h1:EKhdznlJHPMoKr0XTrX+IlJs1LH3lyx2nfr1dOlZ79k= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1/go.mod h1:8UvriyWtv5Q5EOgjHaSseUEdkQfvwFv1I/In/O2M9gc= github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc/go.mod h1:bopw91TMyo8J3tvftk8xmU2kPmlrt4nScJQZU2hE5EM= github.com/whyrusleeping/go-notifier v0.0.0-20170827234753-097c5d47330f/go.mod h1:cZNvX9cFybI01GriPRMXDtczuvUhgbcYr9iCGaNlRv8= @@ -973,6 +1052,7 @@ github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPyS github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/xorcare/golden v0.6.0/go.mod h1:7T39/ZMvaSEZlBPoYfVFmsBLmUl3uz9IuzWj/U6FtvQ= github.com/xorcare/golden v0.6.1-0.20191112154924-b87f686d7542 h1:oWgZJmC1DorFZDpfMfWg7xk29yEOZiXmo/wZl+utTI8= +github.com/xorcare/golden v0.6.1-0.20191112154924-b87f686d7542/go.mod h1:7T39/ZMvaSEZlBPoYfVFmsBLmUl3uz9IuzWj/U6FtvQ= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= @@ -980,22 +1060,21 @@ github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G 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= -github.com/zondax/rosetta-filecoin-lib v1.2600.0-rc1 h1:7mo+HaCA0miwKUuqewdK+9kbbgF8wwFfsX7oAUg9tOk= -github.com/zondax/rosetta-filecoin-lib v1.2600.0-rc1/go.mod h1:Got5+dcW9v8giJdS6/xxz/mSvhfNzYXM259iEOCF+mg= -github.com/zondax/rosetta-filecoin-lib v1.2600.0-rc3 h1:4RBp8OeJZ5PhdAaqOJnKzq8VfGtw2yxkIKUkPxCrtH8= -github.com/zondax/rosetta-filecoin-lib v1.2600.0-rc3/go.mod h1:tI2GSMxzEmYhYHxdySg8GwUEXSkq+IcqxU7u2BedXRA= +github.com/zondax/rosetta-filecoin-lib v1.2600.0 h1:p7EadPDnqz+VG76gFJd5ja4W6FMBEuJ7FTZAxOBJMNI= +github.com/zondax/rosetta-filecoin-lib v1.2600.0/go.mod h1:eOBMDV7z3FCNu0g4FXmZ8xfFAyQJJc28oNHG4dqkezc= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/otel v1.16.0 h1:Z7GVAX/UkAXPKsy94IU+i6thsQS4nb7LviLpnaNeW8s= -go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4= -go.opentelemetry.io/otel/metric v1.16.0 h1:RbrpwVG1Hfv85LgnZ7+txXioPDoh6EdbZHo26Q3hqOo= -go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4= -go.opentelemetry.io/otel/sdk v1.16.0 h1:Z1Ok1YsijYL0CSJpHt4cS3wDDh7p572grzNrBMiMWgE= -go.opentelemetry.io/otel/trace v1.16.0 h1:8JRpaObFoW0pxuVPapkgH8UhHQj+bJW8jJsCZEu5MQs= -go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= +go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= +go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= +go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4= +go.opentelemetry.io/otel/metric v1.21.0/go.mod h1:o1p3CA8nNHW8j5yuQLdc1eeqEaPfzug24uvsyIEJRWM= +go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8= +go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E= +go.opentelemetry.io/otel/trace v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc= +go.opentelemetry.io/otel/trace v1.21.0/go.mod h1:LGbsEB0f9LGjN+OZaQQ26sohbOmiMR+BaslueVtS/qQ= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1003,8 +1082,15 @@ go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= +go.uber.org/dig v1.17.1 h1:Tga8Lz8PcYNsWsyHMZ1Vm0OQOUaJNDyvPImgbAu9YSc= +go.uber.org/dig v1.17.1/go.mod h1:Us0rSJiThwCv2GteUN0Q7OKvU7n5J4dxZ9JKUXozFdE= +go.uber.org/fx v1.20.1 h1:zVwVQGS8zYvhh9Xxcu4w1M6ESyeMzebzj2NbSayZ4Mk= +go.uber.org/fx v1.20.1/go.mod h1:iSYNbHf2y55acNCwCXKx7LbWb5WG1Bnue5RDXz1OREg= go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= +go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= @@ -1041,8 +1127,8 @@ golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1053,8 +1139,8 @@ golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm0 golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 h1:m64FZMko/V45gv0bNmrNYoDEq8U5YUhetc9cBWKS1TQ= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -1066,6 +1152,7 @@ golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -1074,8 +1161,8 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1107,8 +1194,8 @@ golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1124,8 +1211,8 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1179,8 +1266,8 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1191,6 +1278,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1225,22 +1313,25 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 h1:Vve/L0v7CXXuxUmaMGIEK/dEeq7uiqb5qBgQrZzIE7E= -golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= +golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU= +golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= +gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0= +gonum.org/v1/gonum v0.14.0/go.mod h1:AoWeoz0becf9QMWtE8iWXNXc27fK4fNeHNf/oMejGfU= gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= @@ -1289,9 +1380,8 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/rosetta/services/mocks/fullnode_mock.go b/rosetta/services/mocks/fullnode_mock.go index 8c66984..953282f 100644 --- a/rosetta/services/mocks/fullnode_mock.go +++ b/rosetta/services/mocks/fullnode_mock.go @@ -1,1331 +1,6956 @@ -package services +// Code generated by mockery v2.20.0. DO NOT EDIT. -import ( - "context" - "encoding/json" - "github.com/filecoin-project/go-address" - "github.com/filecoin-project/go-bitfield" - datatransfer "github.com/filecoin-project/go-data-transfer/v2" - "github.com/filecoin-project/go-fil-markets/retrievalmarket" - "github.com/filecoin-project/go-jsonrpc" - "github.com/filecoin-project/go-jsonrpc/auth" - "github.com/filecoin-project/go-state-types/abi" - "github.com/filecoin-project/go-state-types/builtin/v8/paych" - "github.com/filecoin-project/go-state-types/builtin/v9/miner" - verifreg2 "github.com/filecoin-project/go-state-types/builtin/v9/verifreg" - "github.com/filecoin-project/go-state-types/crypto" - "github.com/filecoin-project/go-state-types/dline" - network2 "github.com/filecoin-project/go-state-types/network" - "github.com/filecoin-project/lotus/api" - "github.com/filecoin-project/lotus/api/types" - minerBuiltin "github.com/filecoin-project/lotus/chain/actors/builtin/miner" - filTypes "github.com/filecoin-project/lotus/chain/types" - "github.com/filecoin-project/lotus/chain/types/ethtypes" - "github.com/filecoin-project/lotus/journal/alerting" - marketevents "github.com/filecoin-project/lotus/markets/loggers" - "github.com/filecoin-project/lotus/node/modules/dtypes" - "github.com/filecoin-project/lotus/node/repo/imports" - "github.com/filecoin-project/specs-actors/actors/builtin/verifreg" - "github.com/google/uuid" - blocks "github.com/ipfs/go-block-format" - "github.com/ipfs/go-cid" - "github.com/libp2p/go-libp2p-core/metrics" - "github.com/libp2p/go-libp2p-core/protocol" - "github.com/libp2p/go-libp2p/core/network" - "github.com/libp2p/go-libp2p/core/peer" - "github.com/stretchr/testify/mock" - "time" -) +package mocks -type MessagePrototype struct{} +import ( + address "github.com/filecoin-project/go-address" + abi "github.com/filecoin-project/go-state-types/abi" -type FullNodeMock struct { - mock.Mock -} + alerting "github.com/filecoin-project/lotus/journal/alerting" -func (f *FullNodeMock) StateGetAllocationIdForPendingDeal(ctx context.Context, dealId abi.DealID, tsk filTypes.TipSetKey) (verifreg2.AllocationId, error) { - //TODO implement me - panic("implement me") -} + api "github.com/filecoin-project/lotus/api" -func (f *FullNodeMock) StateGetAllAllocations(ctx context.Context, tsk filTypes.TipSetKey) (map[verifreg2.AllocationId]verifreg2.Allocation, error) { - //TODO implement me - panic("implement me") -} + apitypes "github.com/filecoin-project/lotus/api/types" -func (f *FullNodeMock) StateGetAllClaims(ctx context.Context, tsk filTypes.TipSetKey) (map[verifreg2.ClaimId]verifreg2.Claim, error) { - //TODO implement me - panic("implement me") -} + auth "github.com/filecoin-project/go-jsonrpc/auth" -func (f *FullNodeMock) GetActorEvents(ctx context.Context, filter *filTypes.ActorEventFilter) ([]*filTypes.ActorEvent, error) { - //TODO implement me - panic("implement me") -} + big "github.com/filecoin-project/go-state-types/big" -func (f *FullNodeMock) SubscribeActorEvents(ctx context.Context, filter *filTypes.ActorEventFilter) (<-chan *filTypes.ActorEvent, error) { - //TODO implement me - panic("implement me") -} + bitfield "github.com/filecoin-project/go-bitfield" -func (f *FullNodeMock) EthEstimateGas(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthUint64, error) { - //TODO implement me - panic("implement me") -} + blocks "github.com/ipfs/go-block-format" -func (f *FullNodeMock) EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error) { - //TODO implement me - panic("implement me") -} + builtinminer "github.com/filecoin-project/lotus/chain/actors/builtin/miner" -func (f *FullNodeMock) EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) { - //TODO implement me - panic("implement me") -} + cid "github.com/ipfs/go-cid" -func (f *FullNodeMock) FilecoinAddressToEthAddress(ctx context.Context, filecoinAddress address.Address) (ethtypes.EthAddress, error) { - //TODO implement me - panic("implement me") -} + context "context" -func (f *FullNodeMock) NetConnectedness(ctx context.Context, id peer.ID) (network.Connectedness, error) { - //TODO implement me - panic("implement me") -} + crypto "github.com/filecoin-project/go-state-types/crypto" -func (f *FullNodeMock) ClientRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error { - //TODO implement me - panic("implement me") -} + datatransfer "github.com/filecoin-project/go-data-transfer/v2" -func (f *FullNodeMock) ClientCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error { - //TODO implement me - panic("implement me") -} + dline "github.com/filecoin-project/go-state-types/dline" -func (f *FullNodeMock) ChainExportRangeInternal(ctx context.Context, head, tail filTypes.TipSetKey, cfg api.ChainExportConfig) error { - //TODO implement me - panic("implement me") -} + dtypes "github.com/filecoin-project/lotus/node/modules/dtypes" -func (f *FullNodeMock) ChainHotGC(ctx context.Context, opts api.HotGCOpts) error { - //TODO implement me - panic("implement me") -} + ethtypes "github.com/filecoin-project/lotus/chain/types/ethtypes" -func (f *FullNodeMock) StateGetRandomnessDigestFromTickets(ctx context.Context, randEpoch abi.ChainEpoch, tsk filTypes.TipSetKey) (abi.Randomness, error) { - //TODO implement me - panic("implement me") -} + go_state_typesnetwork "github.com/filecoin-project/go-state-types/network" -func (f *FullNodeMock) StateGetRandomnessDigestFromBeacon(ctx context.Context, randEpoch abi.ChainEpoch, tsk filTypes.TipSetKey) (abi.Randomness, error) { - //TODO implement me - panic("implement me") -} + imports "github.com/filecoin-project/lotus/node/repo/imports" -func (f *FullNodeMock) EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error) { - //TODO implement me - panic("implement me") -} + json "encoding/json" -func (f *FullNodeMock) EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) { - //TODO implement me - panic("implement me") -} + jsonrpc "github.com/filecoin-project/go-jsonrpc" -func (f *FullNodeMock) EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*api.EthTxReceipt, error) { - //TODO implement me - panic("implement me") -} + metrics "github.com/libp2p/go-libp2p/core/metrics" -func (f *FullNodeMock) EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { - //TODO implement me - panic("implement me") -} + miner "github.com/filecoin-project/go-state-types/builtin/v9/miner" -func (f *FullNodeMock) EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { - //TODO implement me - panic("implement me") -} + mock "github.com/stretchr/testify/mock" -func (f *FullNodeMock) EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) { - //TODO implement me - panic("implement me") -} + network "github.com/libp2p/go-libp2p/core/network" -func (f *FullNodeMock) EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error) { - //TODO implement me - panic("implement me") -} + paych "github.com/filecoin-project/go-state-types/builtin/v8/paych" -func (f *FullNodeMock) EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { - //TODO implement me - panic("implement me") -} + peer "github.com/libp2p/go-libp2p/core/peer" -func (f *FullNodeMock) EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error) { - //TODO implement me - panic("implement me") -} + protocol "github.com/libp2p/go-libp2p/core/protocol" -func (f *FullNodeMock) StartTime(ctx context.Context) (time.Time, error) { - // TODO implement me - panic("implement me") -} + retrievalmarket "github.com/filecoin-project/go-fil-markets/retrievalmarket" -func (f *FullNodeMock) ChainGetEvents(ctx context.Context, c cid.Cid) ([]filTypes.Event, error) { - // TODO implement me - panic("implement me") -} + time "time" -func (f *FullNodeMock) EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) { - // TODO implement me - panic("implement me") -} + types "github.com/filecoin-project/lotus/chain/types" -func (f *FullNodeMock) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) { - // TODO implement me - panic("implement me") -} + uuid "github.com/google/uuid" -func (f *FullNodeMock) EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error) { - // TODO implement me - panic("implement me") -} + verifreg "github.com/filecoin-project/go-state-types/builtin/v9/verifreg" +) -func (f *FullNodeMock) EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error) { - // TODO implement me - panic("implement me") +// FullNodeMock is an autogenerated mock type for the FullNode type +type FullNodeMock struct { + mock.Mock } -func (f *FullNodeMock) EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error) { - // TODO implement me - panic("implement me") -} +// AuthNew provides a mock function with given fields: ctx, perms +func (_m *FullNodeMock) AuthNew(ctx context.Context, perms []auth.Permission) ([]byte, error) { + ret := _m.Called(ctx, perms) -func (f *FullNodeMock) EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error) { - // TODO implement me - panic("implement me") -} + var r0 []byte + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []auth.Permission) ([]byte, error)); ok { + return rf(ctx, perms) + } + if rf, ok := ret.Get(0).(func(context.Context, []auth.Permission) []byte); ok { + r0 = rf(ctx, perms) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]byte) + } + } -func (f *FullNodeMock) EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, []auth.Permission) error); ok { + r1 = rf(ctx, perms) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error) { - // TODO implement me - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error) { - // TODO implement me - panic("implement me") -} +// AuthVerify provides a mock function with given fields: ctx, token +func (_m *FullNodeMock) AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) { + ret := _m.Called(ctx, token) -func (f *FullNodeMock) EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*api.EthTxReceipt, error) { - // TODO implement me - panic("implement me") -} + var r0 []auth.Permission + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) ([]auth.Permission, error)); ok { + return rf(ctx, token) + } + if rf, ok := ret.Get(0).(func(context.Context, string) []auth.Permission); ok { + r0 = rf(ctx, token) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]auth.Permission) + } + } -func (f *FullNodeMock) EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, token) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum ethtypes.EthUint64, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) { - // TODO implement me - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) EthChainId(ctx context.Context) (ethtypes.EthUint64, error) { - // TODO implement me - panic("implement me") -} +// ChainBlockstoreInfo provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ChainBlockstoreInfo(_a0 context.Context) (map[string]interface{}, error) { + ret := _m.Called(_a0) -func (f *FullNodeMock) NetVersion(ctx context.Context) (string, error) { - // TODO implement me - panic("implement me") -} + var r0 map[string]interface{} + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (map[string]interface{}, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) map[string]interface{}); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]interface{}) + } + } -func (f *FullNodeMock) NetListening(ctx context.Context) (bool, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) { - // TODO implement me - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) { - // TODO implement me - panic("implement me") -} +// ChainCheckBlockstore provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ChainCheckBlockstore(_a0 context.Context) error { + ret := _m.Called(_a0) -func (f *FullNodeMock) EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) { - // TODO implement me - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) { - // TODO implement me - panic("implement me") + return r0 } -func (f *FullNodeMock) EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) { - // TODO implement me - panic("implement me") -} +// ChainDeleteObj provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainDeleteObj(_a0 context.Context, _a1 cid.Cid) error { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) { - // TODO implement me - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) { - // TODO implement me - panic("implement me") + return r0 } -func (f *FullNodeMock) EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) { - // TODO implement me - panic("implement me") -} +// ChainExport provides a mock function with given fields: ctx, nroots, oldmsgskip, tsk +func (_m *FullNodeMock) ChainExport(ctx context.Context, nroots abi.ChainEpoch, oldmsgskip bool, tsk types.TipSetKey) (<-chan []byte, error) { + ret := _m.Called(ctx, nroots, oldmsgskip, tsk) -func (f *FullNodeMock) EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) { - // TODO implement me - panic("implement me") -} + var r0 <-chan []byte + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, bool, types.TipSetKey) (<-chan []byte, error)); ok { + return rf(ctx, nroots, oldmsgskip, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, bool, types.TipSetKey) <-chan []byte); ok { + r0 = rf(ctx, nroots, oldmsgskip, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan []byte) + } + } -func (f *FullNodeMock) EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, bool, types.TipSetKey) error); ok { + r1 = rf(ctx, nroots, oldmsgskip, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error) { - // TODO implement me - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error) { - // TODO implement me - panic("implement me") -} +// ChainExportRangeInternal provides a mock function with given fields: ctx, head, tail, cfg +func (_m *FullNodeMock) ChainExportRangeInternal(ctx context.Context, head types.TipSetKey, tail types.TipSetKey, cfg api.ChainExportConfig) error { + ret := _m.Called(ctx, head, tail, cfg) -func (f *FullNodeMock) EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) { - // TODO implement me - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, types.TipSetKey, api.ChainExportConfig) error); ok { + r0 = rf(ctx, head, tail, cfg) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error) { - // TODO implement me - panic("implement me") + return r0 } -func (f *FullNodeMock) Web3ClientVersion(ctx context.Context) (string, error) { - // TODO implement me - panic("implement me") -} +// ChainGetBlock provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainGetBlock(_a0 context.Context, _a1 cid.Cid) (*types.BlockHeader, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) RaftState(ctx context.Context) (*api.RaftStateData, error) { - // TODO implement me - panic("implement me") -} + var r0 *types.BlockHeader + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (*types.BlockHeader, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) *types.BlockHeader); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.BlockHeader) + } + } -func (f *FullNodeMock) RaftLeader(ctx context.Context) (peer.ID, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateMinerPreCommitDepositForPower(ctx context.Context, a address.Address, info miner.SectorPreCommitInfo, key filTypes.TipSetKey) (filTypes.BigInt, error) { - // TODO implement me - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ChainPrune(ctx context.Context, opts api.PruneOpts) error { - panic("implement me") -} +// ChainGetBlockMessages provides a mock function with given fields: ctx, blockCid +func (_m *FullNodeMock) ChainGetBlockMessages(ctx context.Context, blockCid cid.Cid) (*api.BlockMessages, error) { + ret := _m.Called(ctx, blockCid) -func (f *FullNodeMock) StateGetAllocationForPendingDeal(ctx context.Context, dealId abi.DealID, tsk filTypes.TipSetKey) (*verifreg2.Allocation, error) { - panic("implement me") -} + var r0 *api.BlockMessages + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (*api.BlockMessages, error)); ok { + return rf(ctx, blockCid) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) *api.BlockMessages); ok { + r0 = rf(ctx, blockCid) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.BlockMessages) + } + } -func (f *FullNodeMock) StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifreg2.AllocationId, tsk filTypes.TipSetKey) (*verifreg2.Allocation, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, blockCid) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateGetAllocations(ctx context.Context, clientAddr address.Address, tsk filTypes.TipSetKey) (map[verifreg2.AllocationId]verifreg2.Allocation, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateGetClaim(ctx context.Context, providerAddr address.Address, claimId verifreg2.ClaimId, tsk filTypes.TipSetKey) (*verifreg2.Claim, error) { - panic("implement me") -} +// ChainGetEvents provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainGetEvents(_a0 context.Context, _a1 cid.Cid) ([]types.Event, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) StateGetClaims(ctx context.Context, providerAddr address.Address, tsk filTypes.TipSetKey) (map[verifreg2.ClaimId]verifreg2.Claim, error) { - panic("implement me") -} + var r0 []types.Event + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) ([]types.Event, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) []types.Event); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]types.Event) + } + } -func (f *FullNodeMock) StateComputeDataCID(ctx context.Context, maddr address.Address, sectorType abi.RegisteredSealProof, deals []abi.DealID, tsk filTypes.TipSetKey) (cid.Cid, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateMinerAllocated(ctx context.Context, a address.Address, key filTypes.TipSetKey) (*bitfield.BitField, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateActorManifestCID(ctx context.Context, version network2.Version) (cid.Cid, error) { - panic("implement me") -} +// ChainGetGenesis provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ChainGetGenesis(_a0 context.Context) (*types.TipSet, error) { + ret := _m.Called(_a0) -func (f *FullNodeMock) StateActorCodeCIDs(ctx context.Context, version network2.Version) (map[string]cid.Cid, error) { - args := f.Called(ctx, version) - cids := args.Get(0) - err := args.Error(1) - if cids != nil { - return cids.(map[string]cid.Cid), err + var r0 *types.TipSet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*types.TipSet, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) *types.TipSet); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.TipSet) + } } - return nil, err -} -func (f *FullNodeMock) ChainPutObj(ctx context.Context, block blocks.Block) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateLookupRobustAddress(ctx context.Context, a address.Address, key filTypes.TipSetKey) (address.Address, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateGetNetworkParams(ctx context.Context) (*api.NetworkParams, error) { - panic("implement me") -} +// ChainGetMessage provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainGetMessage(_a0 context.Context, _a1 cid.Cid) (*types.Message, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) StateGetBeaconEntry(ctx context.Context, epoch abi.ChainEpoch) (*filTypes.BeaconEntry, error) { - panic("implement me") -} + var r0 *types.Message + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (*types.Message, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) *types.Message); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.Message) + } + } -func (f *FullNodeMock) NetPing(ctx context.Context, id peer.ID) (time.Duration, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*api.StorageAsk, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateMinerInfo(ctx context.Context, a address.Address, key filTypes.TipSetKey) (api.MinerInfo, error) { - panic("implement me") -} +// ChainGetMessagesInTipset provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) ChainGetMessagesInTipset(ctx context.Context, tsk types.TipSetKey) ([]api.Message, error) { + ret := _m.Called(ctx, tsk) -func (f *FullNodeMock) StateMinerInitialPledgeCollateral(ctx context.Context, a address.Address, info miner.SectorPreCommitInfo, key filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") -} + var r0 []api.Message + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) ([]api.Message, error)); ok { + return rf(ctx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) []api.Message); ok { + r0 = rf(ctx, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.Message) + } + } -func (f *FullNodeMock) StateSectorPreCommitInfo(ctx context.Context, a address.Address, number abi.SectorNumber, key filTypes.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(ctx, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateMarketDeals(ctx context.Context, key filTypes.TipSetKey) (map[string]*api.MarketDeal, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) PaychVoucherCheckValid(ctx context.Context, a address.Address, voucher *paych.SignedVoucher) error { - panic("implement me") -} +// ChainGetNode provides a mock function with given fields: ctx, p +func (_m *FullNodeMock) ChainGetNode(ctx context.Context, p string) (*api.IpldObject, error) { + ret := _m.Called(ctx, p) -func (f *FullNodeMock) PaychVoucherCheckSpendable(ctx context.Context, a address.Address, voucher *paych.SignedVoucher, bytes []byte, bytes2 []byte) (bool, error) { - panic("implement me") -} + var r0 *api.IpldObject + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) (*api.IpldObject, error)); ok { + return rf(ctx, p) + } + if rf, ok := ret.Get(0).(func(context.Context, string) *api.IpldObject); ok { + r0 = rf(ctx, p) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.IpldObject) + } + } -func (f *FullNodeMock) PaychVoucherAdd(ctx context.Context, a address.Address, voucher *paych.SignedVoucher, bytes []byte, bigInt filTypes.BigInt) (filTypes.BigInt, error) { - // TODO implement me - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, p) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) PaychVoucherList(ctx context.Context, a address.Address) ([]*paych.SignedVoucher, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) PaychVoucherSubmit(ctx context.Context, a address.Address, voucher *paych.SignedVoucher, bytes []byte, bytes2 []byte) (cid.Cid, error) { - panic("implement me") -} +// ChainGetParentMessages provides a mock function with given fields: ctx, blockCid +func (_m *FullNodeMock) ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]api.Message, error) { + ret := _m.Called(ctx, blockCid) -func (f *FullNodeMock) MsigApproveTxnHash(ctx context.Context, a address.Address, u uint64, a2 address.Address, a3 address.Address, bigInt filTypes.BigInt, a4 address.Address, u2 uint64, bytes []byte) (*api.MessagePrototype, error) { - panic("implement me") -} + var r0 []api.Message + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) ([]api.Message, error)); ok { + return rf(ctx, blockCid) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) []api.Message); ok { + r0 = rf(ctx, blockCid) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.Message) + } + } -func (f *FullNodeMock) NetProtectAdd(ctx context.Context, acl []peer.ID) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, blockCid) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetProtectRemove(ctx context.Context, acl []peer.ID) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) NetProtectList(ctx context.Context) ([]peer.ID, error) { - panic("implement me") -} +// ChainGetParentReceipts provides a mock function with given fields: ctx, blockCid +func (_m *FullNodeMock) ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*types.MessageReceipt, error) { + ret := _m.Called(ctx, blockCid) -func (f *FullNodeMock) NetStat(ctx context.Context, scope string) (api.NetStat, error) { - panic("implement me") -} + var r0 []*types.MessageReceipt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) ([]*types.MessageReceipt, error)); ok { + return rf(ctx, blockCid) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) []*types.MessageReceipt); ok { + r0 = rf(ctx, blockCid) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*types.MessageReceipt) + } + } -func (f *FullNodeMock) NetLimit(ctx context.Context, scope string) (api.NetLimit, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, blockCid) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetSetLimit(ctx context.Context, scope string, limit api.NetLimit) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) PaychGet(ctx context.Context, from, to address.Address, amt filTypes.BigInt, opts api.PaychGetOpts) (*api.ChannelInfo, error) { - panic("implement me") -} +// ChainGetPath provides a mock function with given fields: ctx, from, to +func (_m *FullNodeMock) ChainGetPath(ctx context.Context, from types.TipSetKey, to types.TipSetKey) ([]*api.HeadChange, error) { + ret := _m.Called(ctx, from, to) -func (f *FullNodeMock) PaychFund(ctx context.Context, from, to address.Address, amt filTypes.BigInt) (*api.ChannelInfo, error) { - panic("implement me") -} + var r0 []*api.HeadChange + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, types.TipSetKey) ([]*api.HeadChange, error)); ok { + return rf(ctx, from, to) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, types.TipSetKey) []*api.HeadChange); ok { + r0 = rf(ctx, from, to) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*api.HeadChange) + } + } -func (f *FullNodeMock) MsigAddPropose(ctx context.Context, a address.Address, a2 address.Address, a3 address.Address, b bool) (*api.MessagePrototype, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey, types.TipSetKey) error); ok { + r1 = rf(ctx, from, to) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MsigAddApprove(ctx context.Context, a address.Address, a2 address.Address, u uint64, a3 address.Address, a4 address.Address, b bool) (*api.MessagePrototype, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MsigAddCancel(ctx context.Context, a address.Address, a2 address.Address, u uint64, a3 address.Address, b bool) (*api.MessagePrototype, error) { - panic("implement me") -} +// ChainGetTipSet provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainGetTipSet(_a0 context.Context, _a1 types.TipSetKey) (*types.TipSet, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) MsigRemoveSigner(ctx context.Context, msig address.Address, proposer address.Address, toRemove address.Address, decrease bool) (*api.MessagePrototype, error) { - panic("implement me") -} + var r0 *types.TipSet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (*types.TipSet, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) *types.TipSet); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.TipSet) + } + } -func (f *FullNodeMock) LogAlerts(ctx context.Context) ([]alerting.Alert, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainGetMessagesInTipset(ctx context.Context, tsk filTypes.TipSetKey) ([]api.Message, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ChainGetTipSetAfterHeight(ctx context.Context, epoch abi.ChainEpoch, key filTypes.TipSetKey) (*filTypes.TipSet, error) { - panic("implement me") -} +// ChainGetTipSetAfterHeight provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) ChainGetTipSetAfterHeight(_a0 context.Context, _a1 abi.ChainEpoch, _a2 types.TipSetKey) (*types.TipSet, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) ChainCheckBlockstore(ctx context.Context) error { - panic("implement me") -} + var r0 *types.TipSet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) *types.TipSet); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.TipSet) + } + } -func (f *FullNodeMock) ChainBlockstoreInfo(ctx context.Context) (map[string]interface{}, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MpoolCheckMessages(ctx context.Context, prototypes []*api.MessagePrototype) ([][]api.MessageCheckStatus, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MpoolCheckPendingMessages(ctx context.Context, a address.Address) ([][]api.MessageCheckStatus, error) { - panic("implement me") -} +// ChainGetTipSetByHeight provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) ChainGetTipSetByHeight(_a0 context.Context, _a1 abi.ChainEpoch, _a2 types.TipSetKey) (*types.TipSet, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) MpoolCheckReplaceMessages(ctx context.Context, messages []*filTypes.Message) ([][]api.MessageCheckStatus, error) { - panic("implement me") -} + var r0 *types.TipSet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) *types.TipSet); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.TipSet) + } + } -func (f *FullNodeMock) ClientRemoveImport(ctx context.Context, importID imports.ID) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientStatelessDeal(ctx context.Context, params *api.StartDealParams) (*cid.Cid, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientListRetrievals(ctx context.Context) ([]api.RetrievalInfo, error) { - panic("implement me") -} +// ChainHasObj provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainHasObj(_a0 context.Context, _a1 cid.Cid) (bool, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) ClientGetRetrievalUpdates(ctx context.Context) (<-chan api.RetrievalInfo, error) { - panic("implement me") -} + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (bool, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) bool); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(bool) + } -func (f *FullNodeMock) StateEncodeParams(ctx context.Context, toActCode cid.Cid, method abi.MethodNum, params json.RawMessage) ([]byte, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateGetRandomnessFromTickets(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk filTypes.TipSetKey) (abi.Randomness, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateGetRandomnessFromBeacon(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk filTypes.TipSetKey) (abi.Randomness, error) { - panic("implement me") -} +// ChainHead provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ChainHead(_a0 context.Context) (*types.TipSet, error) { + ret := _m.Called(_a0) -func (f *FullNodeMock) MsigCreate(ctx context.Context, u uint64, addresses []address.Address, epoch abi.ChainEpoch, bigInt filTypes.BigInt, a address.Address, bigInt2 filTypes.BigInt) (*api.MessagePrototype, error) { - panic("implement me") -} + var r0 *types.TipSet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*types.TipSet, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) *types.TipSet); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.TipSet) + } + } -func (f *FullNodeMock) MsigPropose(ctx context.Context, a address.Address, a2 address.Address, bigInt filTypes.BigInt, a3 address.Address, u uint64, bytes []byte) (*api.MessagePrototype, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MsigCancel(context.Context, address.Address, uint64, address.Address) (*api.MessagePrototype, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MsigSwapPropose(ctx context.Context, a address.Address, a2 address.Address, a3 address.Address, a4 address.Address) (*api.MessagePrototype, error) { - panic("implement me") -} +// ChainHotGC provides a mock function with given fields: ctx, opts +func (_m *FullNodeMock) ChainHotGC(ctx context.Context, opts api.HotGCOpts) error { + ret := _m.Called(ctx, opts) -func (f *FullNodeMock) MsigSwapApprove(ctx context.Context, a address.Address, a2 address.Address, u uint64, a3 address.Address, a4 address.Address, a5 address.Address) (*api.MessagePrototype, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.HotGCOpts) error); ok { + r0 = rf(ctx, opts) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) MsigSwapCancel(ctx context.Context, a address.Address, a2 address.Address, u uint64, a3 address.Address, a4 address.Address) (*api.MessagePrototype, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) NodeStatus(ctx context.Context, inclChainStatus bool) (api.NodeStatus, error) { - panic("implement me") -} +// ChainNotify provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ChainNotify(_a0 context.Context) (<-chan []*api.HeadChange, error) { + ret := _m.Called(_a0) -func (f *FullNodeMock) Discover(ctx context.Context) (apitypes.OpenRPCDocument, error) { - panic("implement me") -} + var r0 <-chan []*api.HeadChange + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan []*api.HeadChange, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan []*api.HeadChange); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan []*api.HeadChange) + } + } -func (f *FullNodeMock) StateSearchMsg(ctx context.Context, from filTypes.TipSetKey, msg cid.Cid, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateWaitMsg(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) NetPeerInfo(ctx context.Context, id peer.ID) (*api.ExtendedPeerInfo, error) { - panic("implement me") -} +// ChainPrune provides a mock function with given fields: ctx, opts +func (_m *FullNodeMock) ChainPrune(ctx context.Context, opts api.PruneOpts) error { + ret := _m.Called(ctx, opts) -func (f *FullNodeMock) Version(ctx context.Context) (api.APIVersion, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.PruneOpts) error); ok { + r0 = rf(ctx, opts) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) ClientCancelRetrievalDeal(ctx context.Context, dealid retrievalmarket.DealID) error { - panic("implement me") + return r0 } -func (f *FullNodeMock) MsigGetPending(ctx context.Context, a address.Address, key filTypes.TipSetKey) ([]*api.MsigTransaction, error) { - panic("implement me") -} +// ChainPutObj provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainPutObj(_a0 context.Context, _a1 blocks.Block) error { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) StateSearchMsgLimited(ctx context.Context, msg cid.Cid, limit abi.ChainEpoch) (*api.MsgLookup, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, blocks.Block) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) MarketAddBalance(ctx context.Context, wallet, addr address.Address, amt filTypes.BigInt) (cid.Cid, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) MarketGetReserved(ctx context.Context, addr address.Address) (filTypes.BigInt, error) { - panic("implement me") -} +// ChainReadObj provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainReadObj(_a0 context.Context, _a1 cid.Cid) ([]byte, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) NetBlockAdd(ctx context.Context, acl api.NetBlockList) error { - panic("implement me") -} + var r0 []byte + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) ([]byte, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) []byte); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]byte) + } + } -func (f *FullNodeMock) NetBlockRemove(ctx context.Context, acl api.NetBlockList) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetBlockList(ctx context.Context) (api.NetBlockList, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MarketWithdraw(ctx context.Context, wallet, addr address.Address, amt filTypes.BigInt) (cid.Cid, error) { - panic("implement me") -} +// ChainSetHead provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainSetHead(_a0 context.Context, _a1 types.TipSetKey) error { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) Session(ctx context.Context) (uuid.UUID, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) ClientDealPieceCID(ctx context.Context, root cid.Cid) (api.DataCIDSize, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) StateDecodeParams(ctx context.Context, toAddr address.Address, method abi.MethodNum, params []byte, tsk filTypes.TipSetKey) (interface{}, error) { - panic("implement me") -} +// ChainStatObj provides a mock function with given fields: ctx, obj, base +func (_m *FullNodeMock) ChainStatObj(ctx context.Context, obj cid.Cid, base cid.Cid) (api.ObjStat, error) { + ret := _m.Called(ctx, obj, base) -func (f *FullNodeMock) StateMinerSectorAllocated(ctx context.Context, a address.Address, number abi.SectorNumber, key filTypes.TipSetKey) (bool, error) { - panic("implement me") -} + var r0 api.ObjStat + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) (api.ObjStat, error)); ok { + return rf(ctx, obj, base) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) api.ObjStat); ok { + r0 = rf(ctx, obj, base) + } else { + r0 = ret.Get(0).(api.ObjStat) + } -func (f *FullNodeMock) MarketReserveFunds(ctx context.Context, wallet address.Address, addr address.Address, amt filTypes.BigInt) (cid.Cid, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid, cid.Cid) error); ok { + r1 = rf(ctx, obj, base) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MarketReleaseFunds(ctx context.Context, addr address.Address, amt filTypes.BigInt) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MpoolBatchPush(ctx context.Context, messages []*filTypes.SignedMessage) ([]cid.Cid, error) { - panic("implement me") -} +// ChainTipSetWeight provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ChainTipSetWeight(_a0 context.Context, _a1 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) MpoolBatchPushUntrusted(ctx context.Context, messages []*filTypes.SignedMessage) ([]cid.Cid, error) { - panic("implement me") -} + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(big.Int) + } -func (f *FullNodeMock) MpoolBatchPushMessage(ctx context.Context, messages []*filTypes.Message, spec *api.MessageSendSpec) ([]*filTypes.SignedMessage, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientGetDealStatus(ctx context.Context, statusCode uint64) (string, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateListMessages(ctx context.Context, match *api.MessageMatch, tsk filTypes.TipSetKey, toht abi.ChainEpoch) ([]cid.Cid, error) { - panic("implement me") -} +// ClientCalcCommP provides a mock function with given fields: ctx, inpath +func (_m *FullNodeMock) ClientCalcCommP(ctx context.Context, inpath string) (*api.CommPRet, error) { + ret := _m.Called(ctx, inpath) -func (f *FullNodeMock) WalletNew(ctx context.Context, keyType filTypes.KeyType) (address.Address, error) { - panic("implement me") -} + var r0 *api.CommPRet + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) (*api.CommPRet, error)); ok { + return rf(ctx, inpath) + } + if rf, ok := ret.Get(0).(func(context.Context, string) *api.CommPRet); ok { + r0 = rf(ctx, inpath) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.CommPRet) + } + } -func (f *FullNodeMock) StateCirculatingSupply(ctx context.Context, key filTypes.TipSetKey) (abi.TokenAmount, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, inpath) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateVMCirculatingSupplyInternal(ctx context.Context, key filTypes.TipSetKey) (api.CirculatingSupply, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) SyncUnmarkAllBad(ctx context.Context) error { - panic("implement me") -} +// ClientCancelDataTransfer provides a mock function with given fields: ctx, transferID, otherPeer, isInitiator +func (_m *FullNodeMock) ClientCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error { + ret := _m.Called(ctx, transferID, otherPeer, isInitiator) -func (f *FullNodeMock) StateWaitMsgLimited(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch) (*api.MsgLookup, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, datatransfer.TransferID, peer.ID, bool) error); ok { + r0 = rf(ctx, transferID, otherPeer, isInitiator) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) MsigApprove(context.Context, address.Address, uint64, address.Address) (*api.MessagePrototype, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) MpoolPushUntrusted(ctx context.Context, message *filTypes.SignedMessage) (cid.Cid, error) { - panic("implement me") -} +// ClientCancelRetrievalDeal provides a mock function with given fields: ctx, dealid +func (_m *FullNodeMock) ClientCancelRetrievalDeal(ctx context.Context, dealid retrievalmarket.DealID) error { + ret := _m.Called(ctx, dealid) -func (f *FullNodeMock) StateVerifierStatus(ctx context.Context, addr address.Address, tsk filTypes.TipSetKey) (*abi.StoragePower, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, retrievalmarket.DealID) error); ok { + r0 = rf(ctx, dealid) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) StateVerifiedRegistryRootKey(ctx context.Context, tsk filTypes.TipSetKey) (address.Address, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) MsigGetVestingSchedule(ctx context.Context, a address.Address, key filTypes.TipSetKey) (api.MsigVesting, error) { - args := f.Called(ctx, a, key) - return args.Get(0).(api.MsigVesting), args.Error(1) -} +// ClientDataTransferUpdates provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientDataTransferUpdates(ctx context.Context) (<-chan api.DataTransferChannel, error) { + ret := _m.Called(ctx) -func (f *FullNodeMock) CreateBackup(ctx context.Context, fpath string) error { - panic("implement me") -} + var r0 <-chan api.DataTransferChannel + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan api.DataTransferChannel, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan api.DataTransferChannel); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan api.DataTransferChannel) + } + } -func (f *FullNodeMock) SyncValidateTipset(ctx context.Context, tsk filTypes.TipSetKey) (bool, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) WalletValidateAddress(ctx context.Context, s string) (address.Address, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateMinerSectors(ctx context.Context, a address.Address, field *bitfield.BitField, key filTypes.TipSetKey) ([]*minerBuiltin.SectorOnChainInfo, error) { - panic("implement me") -} +// ClientDealPieceCID provides a mock function with given fields: ctx, root +func (_m *FullNodeMock) ClientDealPieceCID(ctx context.Context, root cid.Cid) (api.DataCIDSize, error) { + ret := _m.Called(ctx, root) -func (f *FullNodeMock) StateMinerActiveSectors(ctx context.Context, a address.Address, key filTypes.TipSetKey) ([]*minerBuiltin.SectorOnChainInfo, error) { - panic("implement me") -} + var r0 api.DataCIDSize + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (api.DataCIDSize, error)); ok { + return rf(ctx, root) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) api.DataCIDSize); ok { + r0 = rf(ctx, root) + } else { + r0 = ret.Get(0).(api.DataCIDSize) + } -func (f *FullNodeMock) StateSectorGetInfo(ctx context.Context, a address.Address, number abi.SectorNumber, key filTypes.TipSetKey) (*minerBuiltin.SectorOnChainInfo, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, root) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainDeleteObj(ctx context.Context, c cid.Cid) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) WalletVerify(ctx context.Context, a address.Address, bytes []byte, signature *crypto.Signature) (bool, error) { - panic("implement me") -} +// ClientDealSize provides a mock function with given fields: ctx, root +func (_m *FullNodeMock) ClientDealSize(ctx context.Context, root cid.Cid) (api.DataSize, error) { + ret := _m.Called(ctx, root) -func (f *FullNodeMock) StateMinerDeadlines(ctx context.Context, a address.Address, key filTypes.TipSetKey) ([]api.Deadline, error) { - panic("implement me") -} + var r0 api.DataSize + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (api.DataSize, error)); ok { + return rf(ctx, root) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) api.DataSize); ok { + r0 = rf(ctx, root) + } else { + r0 = ret.Get(0).(api.DataSize) + } -func (f *FullNodeMock) StateMinerPartitions(ctx context.Context, m address.Address, dlIdx uint64, tsk filTypes.TipSetKey) ([]api.Partition, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, root) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateSectorExpiration(ctx context.Context, a address.Address, number abi.SectorNumber, key filTypes.TipSetKey) (*minerBuiltin.SectorExpiration, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok filTypes.TipSetKey) (*minerBuiltin.SectorLocation, error) { - panic("implement me") -} +// ClientExport provides a mock function with given fields: ctx, exportRef, fileRef +func (_m *FullNodeMock) ClientExport(ctx context.Context, exportRef api.ExportRef, fileRef api.FileRef) error { + ret := _m.Called(ctx, exportRef, fileRef) -func (f *FullNodeMock) StateNetworkVersion(ctx context.Context, key filTypes.TipSetKey) (network2.Version, error) { - args := f.Called(ctx, key) - version := args.Get(0) - err := args.Error(1) - if version != nil { - return version.(network2.Version), err + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.ExportRef, api.FileRef) error); ok { + r0 = rf(ctx, exportRef, fileRef) + } else { + r0 = ret.Error(0) } - return 0, err -} -func (f *FullNodeMock) ChainExport(ctx context.Context, nroots abi.ChainEpoch, oldmsgskip bool, tsk filTypes.TipSetKey) (<-chan []byte, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) StateMsgGasCost(ctx context.Context, c cid.Cid, key filTypes.TipSetKey) (*api.MsgGasCost, error) { - panic("implement me") -} +// ClientFindData provides a mock function with given fields: ctx, root, piece +func (_m *FullNodeMock) ClientFindData(ctx context.Context, root cid.Cid, piece *cid.Cid) ([]api.QueryOffer, error) { + ret := _m.Called(ctx, root, piece) -func (f *FullNodeMock) PaychAvailableFunds(ctx context.Context, ch address.Address) (*api.ChannelAvailableFunds, error) { - panic("implement me") -} + var r0 []api.QueryOffer + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, *cid.Cid) ([]api.QueryOffer, error)); ok { + return rf(ctx, root, piece) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, *cid.Cid) []api.QueryOffer); ok { + r0 = rf(ctx, root, piece) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.QueryOffer) + } + } -func (f *FullNodeMock) PaychAvailableFundsByFromTo(ctx context.Context, from, to address.Address) (*api.ChannelAvailableFunds, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid, *cid.Cid) error); ok { + r1 = rf(ctx, root, piece) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) SyncCheckpoint(ctx context.Context, tsk filTypes.TipSetKey) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) SyncUnmarkBad(ctx context.Context, bcid cid.Cid) error { - panic("implement me") -} +// ClientGenCar provides a mock function with given fields: ctx, ref, outpath +func (_m *FullNodeMock) ClientGenCar(ctx context.Context, ref api.FileRef, outpath string) error { + ret := _m.Called(ctx, ref, outpath) -func (f *FullNodeMock) StateMinerProvingDeadline(ctx context.Context, a address.Address, key filTypes.TipSetKey) (*dline.Info, error) { - panic("implement me") -} + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.FileRef, string) error); ok { + r0 = rf(ctx, ref, outpath) + } else { + r0 = ret.Error(0) + } -func (f *FullNodeMock) MsigGetVested(ctx context.Context, a address.Address, key filTypes.TipSetKey, key2 filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") + return r0 } -func (f *FullNodeMock) NetAgentVersion(ctx context.Context, p peer.ID) (string, error) { - panic("implement me") -} +// ClientGetDealInfo provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) ClientGetDealInfo(_a0 context.Context, _a1 cid.Cid) (*api.DealInfo, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) NetBandwidthStats(ctx context.Context) (metrics.Stats, error) { - panic("implement me") -} + var r0 *api.DealInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (*api.DealInfo, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) *api.DealInfo); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.DealInfo) + } + } -func (f *FullNodeMock) NetBandwidthStatsByPeer(ctx context.Context) (map[string]metrics.Stats, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetBandwidthStatsByProtocol(ctx context.Context) (map[protocol.ID]metrics.Stats, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientRetrieveTryRestartInsufficientFunds(ctx context.Context, paymentChannel address.Address) error { - panic("implement me") -} +// ClientGetDealStatus provides a mock function with given fields: ctx, statusCode +func (_m *FullNodeMock) ClientGetDealStatus(ctx context.Context, statusCode uint64) (string, error) { + ret := _m.Called(ctx, statusCode) -func (f *FullNodeMock) PaychVoucherCreate(ctx context.Context, a address.Address, bigInt filTypes.BigInt, u uint64) (*api.VoucherCreateResult, error) { - panic("implement me") -} + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, uint64) (string, error)); ok { + return rf(ctx, statusCode) + } + if rf, ok := ret.Get(0).(func(context.Context, uint64) string); ok { + r0 = rf(ctx, statusCode) + } else { + r0 = ret.Get(0).(string) + } -func (f *FullNodeMock) ClientGetDealUpdates(ctx context.Context) (<-chan api.DealInfo, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, uint64) error); ok { + r1 = rf(ctx, statusCode) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MpoolPushMessage(ctx context.Context, msg *filTypes.Message, spec *api.MessageSendSpec) (*filTypes.SignedMessage, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientImport(ctx context.Context, ref api.FileRef) (*api.ImportRes, error) { - panic("implement me") -} +// ClientGetDealUpdates provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientGetDealUpdates(ctx context.Context) (<-chan api.DealInfo, error) { + ret := _m.Called(ctx) -func (f *FullNodeMock) ClientFindData(ctx context.Context, root cid.Cid, piece *cid.Cid) ([]api.QueryOffer, error) { - panic("implement me") -} + var r0 <-chan api.DealInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan api.DealInfo, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan api.DealInfo); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan api.DealInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientGetRetrievalUpdates provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientGetRetrievalUpdates(ctx context.Context) (<-chan api.RetrievalInfo, error) { + ret := _m.Called(ctx) + + var r0 <-chan api.RetrievalInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan api.RetrievalInfo, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan api.RetrievalInfo); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan api.RetrievalInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientHasLocal provides a mock function with given fields: ctx, root +func (_m *FullNodeMock) ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error) { + ret := _m.Called(ctx, root) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (bool, error)); ok { + return rf(ctx, root) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) bool); ok { + r0 = rf(ctx, root) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, root) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientImport provides a mock function with given fields: ctx, ref +func (_m *FullNodeMock) ClientImport(ctx context.Context, ref api.FileRef) (*api.ImportRes, error) { + ret := _m.Called(ctx, ref) + + var r0 *api.ImportRes + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, api.FileRef) (*api.ImportRes, error)); ok { + return rf(ctx, ref) + } + if rf, ok := ret.Get(0).(func(context.Context, api.FileRef) *api.ImportRes); ok { + r0 = rf(ctx, ref) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ImportRes) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, api.FileRef) error); ok { + r1 = rf(ctx, ref) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientListDataTransfers provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientListDataTransfers(ctx context.Context) ([]api.DataTransferChannel, error) { + ret := _m.Called(ctx) + + var r0 []api.DataTransferChannel + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]api.DataTransferChannel, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []api.DataTransferChannel); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.DataTransferChannel) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientListDeals provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientListDeals(ctx context.Context) ([]api.DealInfo, error) { + ret := _m.Called(ctx) + + var r0 []api.DealInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]api.DealInfo, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []api.DealInfo); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.DealInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientListImports provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientListImports(ctx context.Context) ([]api.Import, error) { + ret := _m.Called(ctx) + + var r0 []api.Import + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]api.Import, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []api.Import); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.Import) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientListRetrievals provides a mock function with given fields: ctx +func (_m *FullNodeMock) ClientListRetrievals(ctx context.Context) ([]api.RetrievalInfo, error) { + ret := _m.Called(ctx) + + var r0 []api.RetrievalInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]api.RetrievalInfo, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []api.RetrievalInfo); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.RetrievalInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientMinerQueryOffer provides a mock function with given fields: ctx, _a1, root, piece +func (_m *FullNodeMock) ClientMinerQueryOffer(ctx context.Context, _a1 address.Address, root cid.Cid, piece *cid.Cid) (api.QueryOffer, error) { + ret := _m.Called(ctx, _a1, root, piece) + + var r0 api.QueryOffer + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, cid.Cid, *cid.Cid) (api.QueryOffer, error)); ok { + return rf(ctx, _a1, root, piece) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, cid.Cid, *cid.Cid) api.QueryOffer); ok { + r0 = rf(ctx, _a1, root, piece) + } else { + r0 = ret.Get(0).(api.QueryOffer) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, cid.Cid, *cid.Cid) error); ok { + r1 = rf(ctx, _a1, root, piece) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientQueryAsk provides a mock function with given fields: ctx, p, _a2 +func (_m *FullNodeMock) ClientQueryAsk(ctx context.Context, p peer.ID, _a2 address.Address) (*api.StorageAsk, error) { + ret := _m.Called(ctx, p, _a2) + + var r0 *api.StorageAsk + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID, address.Address) (*api.StorageAsk, error)); ok { + return rf(ctx, p, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID, address.Address) *api.StorageAsk); ok { + r0 = rf(ctx, p, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.StorageAsk) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID, address.Address) error); ok { + r1 = rf(ctx, p, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientRemoveImport provides a mock function with given fields: ctx, importID +func (_m *FullNodeMock) ClientRemoveImport(ctx context.Context, importID imports.ID) error { + ret := _m.Called(ctx, importID) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, imports.ID) error); ok { + r0 = rf(ctx, importID) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ClientRestartDataTransfer provides a mock function with given fields: ctx, transferID, otherPeer, isInitiator +func (_m *FullNodeMock) ClientRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error { + ret := _m.Called(ctx, transferID, otherPeer, isInitiator) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, datatransfer.TransferID, peer.ID, bool) error); ok { + r0 = rf(ctx, transferID, otherPeer, isInitiator) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ClientRetrieve provides a mock function with given fields: ctx, params +func (_m *FullNodeMock) ClientRetrieve(ctx context.Context, params api.RetrievalOrder) (*api.RestrievalRes, error) { + ret := _m.Called(ctx, params) + + var r0 *api.RestrievalRes + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, api.RetrievalOrder) (*api.RestrievalRes, error)); ok { + return rf(ctx, params) + } + if rf, ok := ret.Get(0).(func(context.Context, api.RetrievalOrder) *api.RestrievalRes); ok { + r0 = rf(ctx, params) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.RestrievalRes) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, api.RetrievalOrder) error); ok { + r1 = rf(ctx, params) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientRetrieveTryRestartInsufficientFunds provides a mock function with given fields: ctx, paymentChannel +func (_m *FullNodeMock) ClientRetrieveTryRestartInsufficientFunds(ctx context.Context, paymentChannel address.Address) error { + ret := _m.Called(ctx, paymentChannel) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) error); ok { + r0 = rf(ctx, paymentChannel) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ClientRetrieveWait provides a mock function with given fields: ctx, deal +func (_m *FullNodeMock) ClientRetrieveWait(ctx context.Context, deal retrievalmarket.DealID) error { + ret := _m.Called(ctx, deal) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, retrievalmarket.DealID) error); ok { + r0 = rf(ctx, deal) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ClientStartDeal provides a mock function with given fields: ctx, params +func (_m *FullNodeMock) ClientStartDeal(ctx context.Context, params *api.StartDealParams) (*cid.Cid, error) { + ret := _m.Called(ctx, params) + + var r0 *cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *api.StartDealParams) (*cid.Cid, error)); ok { + return rf(ctx, params) + } + if rf, ok := ret.Get(0).(func(context.Context, *api.StartDealParams) *cid.Cid); ok { + r0 = rf(ctx, params) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *api.StartDealParams) error); ok { + r1 = rf(ctx, params) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ClientStatelessDeal provides a mock function with given fields: ctx, params +func (_m *FullNodeMock) ClientStatelessDeal(ctx context.Context, params *api.StartDealParams) (*cid.Cid, error) { + ret := _m.Called(ctx, params) + + var r0 *cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *api.StartDealParams) (*cid.Cid, error)); ok { + return rf(ctx, params) + } + if rf, ok := ret.Get(0).(func(context.Context, *api.StartDealParams) *cid.Cid); ok { + r0 = rf(ctx, params) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *api.StartDealParams) error); ok { + r1 = rf(ctx, params) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// Closing provides a mock function with given fields: _a0 +func (_m *FullNodeMock) Closing(_a0 context.Context) (<-chan struct{}, error) { + ret := _m.Called(_a0) + + var r0 <-chan struct{} + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan struct{}, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan struct{}); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan struct{}) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateBackup provides a mock function with given fields: ctx, fpath +func (_m *FullNodeMock) CreateBackup(ctx context.Context, fpath string) error { + ret := _m.Called(ctx, fpath) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, string) error); ok { + r0 = rf(ctx, fpath) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// Discover provides a mock function with given fields: ctx +func (_m *FullNodeMock) Discover(ctx context.Context) (apitypes.OpenRPCDocument, error) { + ret := _m.Called(ctx) + + var r0 apitypes.OpenRPCDocument + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (apitypes.OpenRPCDocument, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) apitypes.OpenRPCDocument); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(apitypes.OpenRPCDocument) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthAccounts provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) { + ret := _m.Called(ctx) + + var r0 []ethtypes.EthAddress + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]ethtypes.EthAddress, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []ethtypes.EthAddress); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]ethtypes.EthAddress) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthAddressToFilecoinAddress provides a mock function with given fields: ctx, ethAddress +func (_m *FullNodeMock) EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error) { + ret := _m.Called(ctx, ethAddress) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress) (address.Address, error)); ok { + return rf(ctx, ethAddress) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress) address.Address); ok { + r0 = rf(ctx, ethAddress) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthAddress) error); ok { + r1 = rf(ctx, ethAddress) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthBlockNumber provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthUint64, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthUint64); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthCall provides a mock function with given fields: ctx, tx, blkParam +func (_m *FullNodeMock) EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { + ret := _m.Called(ctx, tx, blkParam) + + var r0 ethtypes.EthBytes + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthCall, ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)); ok { + return rf(ctx, tx, blkParam) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthCall, ethtypes.EthBlockNumberOrHash) ethtypes.EthBytes); ok { + r0 = rf(ctx, tx, blkParam) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthBytes) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthCall, ethtypes.EthBlockNumberOrHash) error); ok { + r1 = rf(ctx, tx, blkParam) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthChainId provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthChainId(ctx context.Context) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthUint64, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthUint64); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthEstimateGas provides a mock function with given fields: ctx, p +func (_m *FullNodeMock) EthEstimateGas(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx, p) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) (ethtypes.EthUint64, error)); ok { + return rf(ctx, p) + } + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) ethtypes.EthUint64); ok { + r0 = rf(ctx, p) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, jsonrpc.RawParams) error); ok { + r1 = rf(ctx, p) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthFeeHistory provides a mock function with given fields: ctx, p +func (_m *FullNodeMock) EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) { + ret := _m.Called(ctx, p) + + var r0 ethtypes.EthFeeHistory + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)); ok { + return rf(ctx, p) + } + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) ethtypes.EthFeeHistory); ok { + r0 = rf(ctx, p) + } else { + r0 = ret.Get(0).(ethtypes.EthFeeHistory) + } + + if rf, ok := ret.Get(1).(func(context.Context, jsonrpc.RawParams) error); ok { + r1 = rf(ctx, p) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGasPrice provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthBigInt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthBigInt, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthBigInt); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthBigInt) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetBalance provides a mock function with given fields: ctx, _a1, blkParam +func (_m *FullNodeMock) EthGetBalance(ctx context.Context, _a1 ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) { + ret := _m.Called(ctx, _a1, blkParam) + + var r0 ethtypes.EthBigInt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)); ok { + return rf(ctx, _a1, blkParam) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) ethtypes.EthBigInt); ok { + r0 = rf(ctx, _a1, blkParam) + } else { + r0 = ret.Get(0).(ethtypes.EthBigInt) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) error); ok { + r1 = rf(ctx, _a1, blkParam) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetBlockByHash provides a mock function with given fields: ctx, blkHash, fullTxInfo +func (_m *FullNodeMock) EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error) { + ret := _m.Called(ctx, blkHash, fullTxInfo) + + var r0 ethtypes.EthBlock + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, bool) (ethtypes.EthBlock, error)); ok { + return rf(ctx, blkHash, fullTxInfo) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, bool) ethtypes.EthBlock); ok { + r0 = rf(ctx, blkHash, fullTxInfo) + } else { + r0 = ret.Get(0).(ethtypes.EthBlock) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthHash, bool) error); ok { + r1 = rf(ctx, blkHash, fullTxInfo) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetBlockByNumber provides a mock function with given fields: ctx, blkNum, fullTxInfo +func (_m *FullNodeMock) EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error) { + ret := _m.Called(ctx, blkNum, fullTxInfo) + + var r0 ethtypes.EthBlock + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string, bool) (ethtypes.EthBlock, error)); ok { + return rf(ctx, blkNum, fullTxInfo) + } + if rf, ok := ret.Get(0).(func(context.Context, string, bool) ethtypes.EthBlock); ok { + r0 = rf(ctx, blkNum, fullTxInfo) + } else { + r0 = ret.Get(0).(ethtypes.EthBlock) + } + + if rf, ok := ret.Get(1).(func(context.Context, string, bool) error); ok { + r1 = rf(ctx, blkNum, fullTxInfo) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetBlockTransactionCountByHash provides a mock function with given fields: ctx, blkHash +func (_m *FullNodeMock) EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx, blkHash) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash) (ethtypes.EthUint64, error)); ok { + return rf(ctx, blkHash) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash) ethtypes.EthUint64); ok { + r0 = rf(ctx, blkHash) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthHash) error); ok { + r1 = rf(ctx, blkHash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetBlockTransactionCountByNumber provides a mock function with given fields: ctx, blkNum +func (_m *FullNodeMock) EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx, blkNum) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthUint64) (ethtypes.EthUint64, error)); ok { + return rf(ctx, blkNum) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthUint64) ethtypes.EthUint64); ok { + r0 = rf(ctx, blkNum) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthUint64) error); ok { + r1 = rf(ctx, blkNum) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetCode provides a mock function with given fields: ctx, _a1, blkParam +func (_m *FullNodeMock) EthGetCode(ctx context.Context, _a1 ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { + ret := _m.Called(ctx, _a1, blkParam) + + var r0 ethtypes.EthBytes + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)); ok { + return rf(ctx, _a1, blkParam) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) ethtypes.EthBytes); ok { + r0 = rf(ctx, _a1, blkParam) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthBytes) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) error); ok { + r1 = rf(ctx, _a1, blkParam) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetFilterChanges provides a mock function with given fields: ctx, id +func (_m *FullNodeMock) EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) { + ret := _m.Called(ctx, id) + + var r0 *ethtypes.EthFilterResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)); ok { + return rf(ctx, id) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) *ethtypes.EthFilterResult); ok { + r0 = rf(ctx, id) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthFilterResult) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthFilterID) error); ok { + r1 = rf(ctx, id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetFilterLogs provides a mock function with given fields: ctx, id +func (_m *FullNodeMock) EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) { + ret := _m.Called(ctx, id) + + var r0 *ethtypes.EthFilterResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)); ok { + return rf(ctx, id) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) *ethtypes.EthFilterResult); ok { + r0 = rf(ctx, id) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthFilterResult) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthFilterID) error); ok { + r1 = rf(ctx, id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetLogs provides a mock function with given fields: ctx, filter +func (_m *FullNodeMock) EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) { + ret := _m.Called(ctx, filter) + + var r0 *ethtypes.EthFilterResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)); ok { + return rf(ctx, filter) + } + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthFilterSpec) *ethtypes.EthFilterResult); ok { + r0 = rf(ctx, filter) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthFilterResult) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ethtypes.EthFilterSpec) error); ok { + r1 = rf(ctx, filter) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetMessageCidByTransactionHash provides a mock function with given fields: ctx, txHash +func (_m *FullNodeMock) EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error) { + ret := _m.Called(ctx, txHash) + + var r0 *cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash) (*cid.Cid, error)); ok { + return rf(ctx, txHash) + } + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash) *cid.Cid); ok { + r0 = rf(ctx, txHash) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ethtypes.EthHash) error); ok { + r1 = rf(ctx, txHash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetStorageAt provides a mock function with given fields: ctx, _a1, position, blkParam +func (_m *FullNodeMock) EthGetStorageAt(ctx context.Context, _a1 ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) { + ret := _m.Called(ctx, _a1, position, blkParam) + + var r0 ethtypes.EthBytes + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBytes, ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)); ok { + return rf(ctx, _a1, position, blkParam) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBytes, ethtypes.EthBlockNumberOrHash) ethtypes.EthBytes); ok { + r0 = rf(ctx, _a1, position, blkParam) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthBytes) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBytes, ethtypes.EthBlockNumberOrHash) error); ok { + r1 = rf(ctx, _a1, position, blkParam) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionByBlockHashAndIndex provides a mock function with given fields: ctx, blkHash, txIndex +func (_m *FullNodeMock) EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) { + ret := _m.Called(ctx, blkHash, txIndex) + + var r0 ethtypes.EthTx + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, ethtypes.EthUint64) (ethtypes.EthTx, error)); ok { + return rf(ctx, blkHash, txIndex) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, ethtypes.EthUint64) ethtypes.EthTx); ok { + r0 = rf(ctx, blkHash, txIndex) + } else { + r0 = ret.Get(0).(ethtypes.EthTx) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthHash, ethtypes.EthUint64) error); ok { + r1 = rf(ctx, blkHash, txIndex) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionByBlockNumberAndIndex provides a mock function with given fields: ctx, blkNum, txIndex +func (_m *FullNodeMock) EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum ethtypes.EthUint64, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) { + ret := _m.Called(ctx, blkNum, txIndex) + + var r0 ethtypes.EthTx + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthUint64, ethtypes.EthUint64) (ethtypes.EthTx, error)); ok { + return rf(ctx, blkNum, txIndex) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthUint64, ethtypes.EthUint64) ethtypes.EthTx); ok { + r0 = rf(ctx, blkNum, txIndex) + } else { + r0 = ret.Get(0).(ethtypes.EthTx) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthUint64, ethtypes.EthUint64) error); ok { + r1 = rf(ctx, blkNum, txIndex) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionByHash provides a mock function with given fields: ctx, txHash +func (_m *FullNodeMock) EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error) { + ret := _m.Called(ctx, txHash) + + var r0 *ethtypes.EthTx + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash) (*ethtypes.EthTx, error)); ok { + return rf(ctx, txHash) + } + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash) *ethtypes.EthTx); ok { + r0 = rf(ctx, txHash) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthTx) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ethtypes.EthHash) error); ok { + r1 = rf(ctx, txHash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionByHashLimited provides a mock function with given fields: ctx, txHash, limit +func (_m *FullNodeMock) EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error) { + ret := _m.Called(ctx, txHash, limit) + + var r0 *ethtypes.EthTx + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash, abi.ChainEpoch) (*ethtypes.EthTx, error)); ok { + return rf(ctx, txHash, limit) + } + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthHash, abi.ChainEpoch) *ethtypes.EthTx); ok { + r0 = rf(ctx, txHash, limit) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthTx) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ethtypes.EthHash, abi.ChainEpoch) error); ok { + r1 = rf(ctx, txHash, limit) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionCount provides a mock function with given fields: ctx, sender, blkParam +func (_m *FullNodeMock) EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx, sender, blkParam) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)); ok { + return rf(ctx, sender, blkParam) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) ethtypes.EthUint64); ok { + r0 = rf(ctx, sender, blkParam) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthAddress, ethtypes.EthBlockNumberOrHash) error); ok { + r1 = rf(ctx, sender, blkParam) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionHashByCid provides a mock function with given fields: ctx, _a1 +func (_m *FullNodeMock) EthGetTransactionHashByCid(ctx context.Context, _a1 cid.Cid) (*ethtypes.EthHash, error) { + ret := _m.Called(ctx, _a1) + + var r0 *ethtypes.EthHash + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (*ethtypes.EthHash, error)); ok { + return rf(ctx, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) *ethtypes.EthHash); ok { + r0 = rf(ctx, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ethtypes.EthHash) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionReceipt provides a mock function with given fields: ctx, txHash +func (_m *FullNodeMock) EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*api.EthTxReceipt, error) { + ret := _m.Called(ctx, txHash) + + var r0 *api.EthTxReceipt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash) (*api.EthTxReceipt, error)); ok { + return rf(ctx, txHash) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash) *api.EthTxReceipt); ok { + r0 = rf(ctx, txHash) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.EthTxReceipt) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthHash) error); ok { + r1 = rf(ctx, txHash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthGetTransactionReceiptLimited provides a mock function with given fields: ctx, txHash, limit +func (_m *FullNodeMock) EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*api.EthTxReceipt, error) { + ret := _m.Called(ctx, txHash, limit) + + var r0 *api.EthTxReceipt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, abi.ChainEpoch) (*api.EthTxReceipt, error)); ok { + return rf(ctx, txHash, limit) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthHash, abi.ChainEpoch) *api.EthTxReceipt); ok { + r0 = rf(ctx, txHash, limit) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.EthTxReceipt) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthHash, abi.ChainEpoch) error); ok { + r1 = rf(ctx, txHash, limit) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthMaxPriorityFeePerGas provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthBigInt + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthBigInt, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthBigInt); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthBigInt) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthNewBlockFilter provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthFilterID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthFilterID, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthFilterID); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthFilterID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthNewFilter provides a mock function with given fields: ctx, filter +func (_m *FullNodeMock) EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) { + ret := _m.Called(ctx, filter) + + var r0 ethtypes.EthFilterID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)); ok { + return rf(ctx, filter) + } + if rf, ok := ret.Get(0).(func(context.Context, *ethtypes.EthFilterSpec) ethtypes.EthFilterID); ok { + r0 = rf(ctx, filter) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthFilterID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ethtypes.EthFilterSpec) error); ok { + r1 = rf(ctx, filter) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthNewPendingTransactionFilter provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthFilterID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthFilterID, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthFilterID); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthFilterID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthProtocolVersion provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthUint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthUint64, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthUint64); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthUint64) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthSendRawTransaction provides a mock function with given fields: ctx, rawTx +func (_m *FullNodeMock) EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) { + ret := _m.Called(ctx, rawTx) + + var r0 ethtypes.EthHash + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthBytes) (ethtypes.EthHash, error)); ok { + return rf(ctx, rawTx) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthBytes) ethtypes.EthHash); ok { + r0 = rf(ctx, rawTx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthHash) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthBytes) error); ok { + r1 = rf(ctx, rawTx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthSubscribe provides a mock function with given fields: ctx, params +func (_m *FullNodeMock) EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) { + ret := _m.Called(ctx, params) + + var r0 ethtypes.EthSubscriptionID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)); ok { + return rf(ctx, params) + } + if rf, ok := ret.Get(0).(func(context.Context, jsonrpc.RawParams) ethtypes.EthSubscriptionID); ok { + r0 = rf(ctx, params) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthSubscriptionID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, jsonrpc.RawParams) error); ok { + r1 = rf(ctx, params) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthSyncing provides a mock function with given fields: ctx +func (_m *FullNodeMock) EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error) { + ret := _m.Called(ctx) + + var r0 ethtypes.EthSyncingResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (ethtypes.EthSyncingResult, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) ethtypes.EthSyncingResult); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(ethtypes.EthSyncingResult) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthTraceBlock provides a mock function with given fields: ctx, blkNum +func (_m *FullNodeMock) EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error) { + ret := _m.Called(ctx, blkNum) + + var r0 []*ethtypes.EthTraceBlock + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) ([]*ethtypes.EthTraceBlock, error)); ok { + return rf(ctx, blkNum) + } + if rf, ok := ret.Get(0).(func(context.Context, string) []*ethtypes.EthTraceBlock); ok { + r0 = rf(ctx, blkNum) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*ethtypes.EthTraceBlock) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, blkNum) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthTraceReplayBlockTransactions provides a mock function with given fields: ctx, blkNum, traceTypes +func (_m *FullNodeMock) EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) { + ret := _m.Called(ctx, blkNum, traceTypes) + + var r0 []*ethtypes.EthTraceReplayBlockTransaction + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string, []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)); ok { + return rf(ctx, blkNum, traceTypes) + } + if rf, ok := ret.Get(0).(func(context.Context, string, []string) []*ethtypes.EthTraceReplayBlockTransaction); ok { + r0 = rf(ctx, blkNum, traceTypes) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*ethtypes.EthTraceReplayBlockTransaction) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, string, []string) error); ok { + r1 = rf(ctx, blkNum, traceTypes) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthUninstallFilter provides a mock function with given fields: ctx, id +func (_m *FullNodeMock) EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error) { + ret := _m.Called(ctx, id) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) (bool, error)); ok { + return rf(ctx, id) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthFilterID) bool); ok { + r0 = rf(ctx, id) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthFilterID) error); ok { + r1 = rf(ctx, id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EthUnsubscribe provides a mock function with given fields: ctx, id +func (_m *FullNodeMock) EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error) { + ret := _m.Called(ctx, id) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthSubscriptionID) (bool, error)); ok { + return rf(ctx, id) + } + if rf, ok := ret.Get(0).(func(context.Context, ethtypes.EthSubscriptionID) bool); ok { + r0 = rf(ctx, id) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, ethtypes.EthSubscriptionID) error); ok { + r1 = rf(ctx, id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// FilecoinAddressToEthAddress provides a mock function with given fields: ctx, filecoinAddress +func (_m *FullNodeMock) FilecoinAddressToEthAddress(ctx context.Context, filecoinAddress address.Address) (ethtypes.EthAddress, error) { + ret := _m.Called(ctx, filecoinAddress) + + var r0 ethtypes.EthAddress + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (ethtypes.EthAddress, error)); ok { + return rf(ctx, filecoinAddress) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) ethtypes.EthAddress); ok { + r0 = rf(ctx, filecoinAddress) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(ethtypes.EthAddress) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(ctx, filecoinAddress) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GasEstimateFeeCap provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) GasEstimateFeeCap(_a0 context.Context, _a1 *types.Message, _a2 int64, _a3 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.Message, int64, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GasEstimateGasLimit provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) GasEstimateGasLimit(_a0 context.Context, _a1 *types.Message, _a2 types.TipSetKey) (int64, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 int64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, types.TipSetKey) (int64, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, types.TipSetKey) int64); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(int64) + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.Message, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GasEstimateGasPremium provides a mock function with given fields: _a0, nblocksincl, sender, gaslimit, tsk +func (_m *FullNodeMock) GasEstimateGasPremium(_a0 context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, nblocksincl, sender, gaslimit, tsk) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, nblocksincl, sender, gaslimit, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, nblocksincl, sender, gaslimit, tsk) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) error); ok { + r1 = rf(_a0, nblocksincl, sender, gaslimit, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GasEstimateMessageGas provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) GasEstimateMessageGas(_a0 context.Context, _a1 *types.Message, _a2 *api.MessageSendSpec, _a3 types.TipSetKey) (*types.Message, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *types.Message + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, *api.MessageSendSpec, types.TipSetKey) (*types.Message, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, *api.MessageSendSpec, types.TipSetKey) *types.Message); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.Message) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.Message, *api.MessageSendSpec, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetActorEventsRaw provides a mock function with given fields: ctx, filter +func (_m *FullNodeMock) GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error) { + ret := _m.Called(ctx, filter) + + var r0 []*types.ActorEvent + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.ActorEventFilter) ([]*types.ActorEvent, error)); ok { + return rf(ctx, filter) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.ActorEventFilter) []*types.ActorEvent); ok { + r0 = rf(ctx, filter) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*types.ActorEvent) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.ActorEventFilter) error); ok { + r1 = rf(ctx, filter) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ID provides a mock function with given fields: _a0 +func (_m *FullNodeMock) ID(_a0 context.Context) (peer.ID, error) { + ret := _m.Called(_a0) + + var r0 peer.ID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (peer.ID, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) peer.ID); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(peer.ID) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LogAlerts provides a mock function with given fields: ctx +func (_m *FullNodeMock) LogAlerts(ctx context.Context) ([]alerting.Alert, error) { + ret := _m.Called(ctx) + + var r0 []alerting.Alert + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]alerting.Alert, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []alerting.Alert); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]alerting.Alert) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LogList provides a mock function with given fields: _a0 +func (_m *FullNodeMock) LogList(_a0 context.Context) ([]string, error) { + ret := _m.Called(_a0) + + var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]string, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) []string); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]string) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LogSetLevel provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) LogSetLevel(_a0 context.Context, _a1 string, _a2 string) error { + ret := _m.Called(_a0, _a1, _a2) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, string, string) error); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MarketAddBalance provides a mock function with given fields: ctx, wallet, addr, amt +func (_m *FullNodeMock) MarketAddBalance(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { + ret := _m.Called(ctx, wallet, addr, amt) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { + return rf(ctx, wallet, addr, amt) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { + r0 = rf(ctx, wallet, addr, amt) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { + r1 = rf(ctx, wallet, addr, amt) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MarketGetReserved provides a mock function with given fields: ctx, addr +func (_m *FullNodeMock) MarketGetReserved(ctx context.Context, addr address.Address) (big.Int, error) { + ret := _m.Called(ctx, addr) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (big.Int, error)); ok { + return rf(ctx, addr) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) big.Int); ok { + r0 = rf(ctx, addr) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(ctx, addr) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MarketReleaseFunds provides a mock function with given fields: ctx, addr, amt +func (_m *FullNodeMock) MarketReleaseFunds(ctx context.Context, addr address.Address, amt big.Int) error { + ret := _m.Called(ctx, addr, amt) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int) error); ok { + r0 = rf(ctx, addr, amt) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MarketReserveFunds provides a mock function with given fields: ctx, wallet, addr, amt +func (_m *FullNodeMock) MarketReserveFunds(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { + ret := _m.Called(ctx, wallet, addr, amt) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { + return rf(ctx, wallet, addr, amt) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { + r0 = rf(ctx, wallet, addr, amt) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { + r1 = rf(ctx, wallet, addr, amt) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MarketWithdraw provides a mock function with given fields: ctx, wallet, addr, amt +func (_m *FullNodeMock) MarketWithdraw(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { + ret := _m.Called(ctx, wallet, addr, amt) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { + return rf(ctx, wallet, addr, amt) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { + r0 = rf(ctx, wallet, addr, amt) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { + r1 = rf(ctx, wallet, addr, amt) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MinerCreateBlock provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MinerCreateBlock(_a0 context.Context, _a1 *api.BlockTemplate) (*types.BlockMsg, error) { + ret := _m.Called(_a0, _a1) + + var r0 *types.BlockMsg + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *api.BlockTemplate) (*types.BlockMsg, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, *api.BlockTemplate) *types.BlockMsg); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.BlockMsg) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *api.BlockTemplate) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MinerGetBaseInfo provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) MinerGetBaseInfo(_a0 context.Context, _a1 address.Address, _a2 abi.ChainEpoch, _a3 types.TipSetKey) (*api.MiningBaseInfo, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *api.MiningBaseInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) (*api.MiningBaseInfo, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) *api.MiningBaseInfo); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MiningBaseInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolBatchPush provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolBatchPush(_a0 context.Context, _a1 []*types.SignedMessage) ([]cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 []cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []*types.SignedMessage) ([]cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, []*types.SignedMessage) []cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, []*types.SignedMessage) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolBatchPushMessage provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) MpoolBatchPushMessage(_a0 context.Context, _a1 []*types.Message, _a2 *api.MessageSendSpec) ([]*types.SignedMessage, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 []*types.SignedMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []*types.Message, *api.MessageSendSpec) ([]*types.SignedMessage, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, []*types.Message, *api.MessageSendSpec) []*types.SignedMessage); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*types.SignedMessage) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, []*types.Message, *api.MessageSendSpec) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolBatchPushUntrusted provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolBatchPushUntrusted(_a0 context.Context, _a1 []*types.SignedMessage) ([]cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 []cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []*types.SignedMessage) ([]cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, []*types.SignedMessage) []cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, []*types.SignedMessage) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolCheckMessages provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolCheckMessages(_a0 context.Context, _a1 []*api.MessagePrototype) ([][]api.MessageCheckStatus, error) { + ret := _m.Called(_a0, _a1) + + var r0 [][]api.MessageCheckStatus + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []*api.MessagePrototype) ([][]api.MessageCheckStatus, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, []*api.MessagePrototype) [][]api.MessageCheckStatus); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([][]api.MessageCheckStatus) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, []*api.MessagePrototype) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolCheckPendingMessages provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolCheckPendingMessages(_a0 context.Context, _a1 address.Address) ([][]api.MessageCheckStatus, error) { + ret := _m.Called(_a0, _a1) + + var r0 [][]api.MessageCheckStatus + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) ([][]api.MessageCheckStatus, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) [][]api.MessageCheckStatus); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([][]api.MessageCheckStatus) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolCheckReplaceMessages provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolCheckReplaceMessages(_a0 context.Context, _a1 []*types.Message) ([][]api.MessageCheckStatus, error) { + ret := _m.Called(_a0, _a1) + + var r0 [][]api.MessageCheckStatus + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, []*types.Message) ([][]api.MessageCheckStatus, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, []*types.Message) [][]api.MessageCheckStatus); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([][]api.MessageCheckStatus) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, []*types.Message) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolClear provides a mock function with given fields: ctx, clearLocal +func (_m *FullNodeMock) MpoolClear(ctx context.Context, clearLocal bool) error { + ret := _m.Called(ctx, clearLocal) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, bool) error); ok { + r0 = rf(ctx, clearLocal) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MpoolGetConfig provides a mock function with given fields: _a0 +func (_m *FullNodeMock) MpoolGetConfig(_a0 context.Context) (*types.MpoolConfig, error) { + ret := _m.Called(_a0) + + var r0 *types.MpoolConfig + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*types.MpoolConfig, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) *types.MpoolConfig); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.MpoolConfig) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolGetNonce provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolGetNonce(_a0 context.Context, _a1 address.Address) (uint64, error) { + ret := _m.Called(_a0, _a1) + + var r0 uint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (uint64, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) uint64); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(uint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolPending provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolPending(_a0 context.Context, _a1 types.TipSetKey) ([]*types.SignedMessage, error) { + ret := _m.Called(_a0, _a1) + + var r0 []*types.SignedMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) ([]*types.SignedMessage, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) []*types.SignedMessage); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*types.SignedMessage) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolPush provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolPush(_a0 context.Context, _a1 *types.SignedMessage) (cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.SignedMessage) (cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.SignedMessage) cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.SignedMessage) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolPushMessage provides a mock function with given fields: ctx, msg, spec +func (_m *FullNodeMock) MpoolPushMessage(ctx context.Context, msg *types.Message, spec *api.MessageSendSpec) (*types.SignedMessage, error) { + ret := _m.Called(ctx, msg, spec) + + var r0 *types.SignedMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, *api.MessageSendSpec) (*types.SignedMessage, error)); ok { + return rf(ctx, msg, spec) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, *api.MessageSendSpec) *types.SignedMessage); ok { + r0 = rf(ctx, msg, spec) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.SignedMessage) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.Message, *api.MessageSendSpec) error); ok { + r1 = rf(ctx, msg, spec) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolPushUntrusted provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolPushUntrusted(_a0 context.Context, _a1 *types.SignedMessage) (cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.SignedMessage) (cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.SignedMessage) cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.SignedMessage) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolSelect provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) MpoolSelect(_a0 context.Context, _a1 types.TipSetKey, _a2 float64) ([]*types.SignedMessage, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 []*types.SignedMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, float64) ([]*types.SignedMessage, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, float64) []*types.SignedMessage); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*types.SignedMessage) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey, float64) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MpoolSetConfig provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) MpoolSetConfig(_a0 context.Context, _a1 *types.MpoolConfig) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *types.MpoolConfig) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MpoolSub provides a mock function with given fields: _a0 +func (_m *FullNodeMock) MpoolSub(_a0 context.Context) (<-chan api.MpoolUpdate, error) { + ret := _m.Called(_a0) + + var r0 <-chan api.MpoolUpdate + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan api.MpoolUpdate, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan api.MpoolUpdate); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan api.MpoolUpdate) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigAddApprove provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 +func (_m *FullNodeMock) MsigAddApprove(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 uint64, _a4 address.Address, _a5 address.Address, _a6 bool) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, bool) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, bool) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, bool) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigAddCancel provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5 +func (_m *FullNodeMock) MsigAddCancel(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 uint64, _a4 address.Address, _a5 bool) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, bool) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, bool) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, uint64, address.Address, bool) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigAddPropose provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 +func (_m *FullNodeMock) MsigAddPropose(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 address.Address, _a4 bool) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, bool) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, bool) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, address.Address, bool) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigApprove provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) MsigApprove(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigApproveTxnHash provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8 +func (_m *FullNodeMock) MsigApproveTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 address.Address, _a5 big.Int, _a6 address.Address, _a7 uint64, _a8 []byte) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigCancel provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) MsigCancel(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigCancelTxnHash provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7 +func (_m *FullNodeMock) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 big.Int, _a5 address.Address, _a6 uint64, _a7 []byte) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigCreate provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 +func (_m *FullNodeMock) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Address, _a3 abi.ChainEpoch, _a4 big.Int, _a5 address.Address, _a6 big.Int) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } + if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigGetAvailableBalance provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) MsigGetAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigGetPending provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) MsigGetPending(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) ([]*api.MsigTransaction, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 []*api.MsigTransaction + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) ([]*api.MsigTransaction, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) []*api.MsigTransaction); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*api.MsigTransaction) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigGetVested provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) MsigGetVested(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey, _a3 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigGetVestingSchedule provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) MsigGetVestingSchedule(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (api.MsigVesting, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 api.MsigVesting + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (api.MsigVesting, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) api.MsigVesting); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(api.MsigVesting) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigPropose provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 +func (_m *FullNodeMock) MsigPropose(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 big.Int, _a4 address.Address, _a5 uint64, _a6 []byte) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigRemoveSigner provides a mock function with given fields: ctx, msig, proposer, toRemove, decrease +func (_m *FullNodeMock) MsigRemoveSigner(ctx context.Context, msig address.Address, proposer address.Address, toRemove address.Address, decrease bool) (*api.MessagePrototype, error) { + ret := _m.Called(ctx, msig, proposer, toRemove, decrease) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, bool) (*api.MessagePrototype, error)); ok { + return rf(ctx, msig, proposer, toRemove, decrease) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, bool) *api.MessagePrototype); ok { + r0 = rf(ctx, msig, proposer, toRemove, decrease) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, address.Address, bool) error); ok { + r1 = rf(ctx, msig, proposer, toRemove, decrease) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigSwapApprove provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 +func (_m *FullNodeMock) MsigSwapApprove(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 uint64, _a4 address.Address, _a5 address.Address, _a6 address.Address) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, address.Address) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, address.Address) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, address.Address) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigSwapCancel provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5 +func (_m *FullNodeMock) MsigSwapCancel(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 uint64, _a4 address.Address, _a5 address.Address) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4, _a5) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, uint64, address.Address, address.Address) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MsigSwapPropose provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 +func (_m *FullNodeMock) MsigSwapPropose(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 address.Address, _a4 address.Address) (*api.MessagePrototype, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4) + + var r0 *api.MessagePrototype + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, address.Address) (*api.MessagePrototype, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, address.Address, address.Address) *api.MessagePrototype); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MessagePrototype) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, address.Address, address.Address) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetAddrsListen provides a mock function with given fields: _a0 +func (_m *FullNodeMock) NetAddrsListen(_a0 context.Context) (peer.AddrInfo, error) { + ret := _m.Called(_a0) + + var r0 peer.AddrInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (peer.AddrInfo, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) peer.AddrInfo); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(peer.AddrInfo) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetAgentVersion provides a mock function with given fields: ctx, p +func (_m *FullNodeMock) NetAgentVersion(ctx context.Context, p peer.ID) (string, error) { + ret := _m.Called(ctx, p) + + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) (string, error)); ok { + return rf(ctx, p) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) string); ok { + r0 = rf(ctx, p) + } else { + r0 = ret.Get(0).(string) + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID) error); ok { + r1 = rf(ctx, p) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetAutoNatStatus provides a mock function with given fields: _a0 +func (_m *FullNodeMock) NetAutoNatStatus(_a0 context.Context) (api.NatInfo, error) { + ret := _m.Called(_a0) + + var r0 api.NatInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (api.NatInfo, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) api.NatInfo); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(api.NatInfo) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetBandwidthStats provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetBandwidthStats(ctx context.Context) (metrics.Stats, error) { + ret := _m.Called(ctx) + + var r0 metrics.Stats + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (metrics.Stats, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) metrics.Stats); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(metrics.Stats) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetBandwidthStatsByPeer provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetBandwidthStatsByPeer(ctx context.Context) (map[string]metrics.Stats, error) { + ret := _m.Called(ctx) + + var r0 map[string]metrics.Stats + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (map[string]metrics.Stats, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) map[string]metrics.Stats); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]metrics.Stats) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetBandwidthStatsByProtocol provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetBandwidthStatsByProtocol(ctx context.Context) (map[protocol.ID]metrics.Stats, error) { + ret := _m.Called(ctx) + + var r0 map[protocol.ID]metrics.Stats + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (map[protocol.ID]metrics.Stats, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) map[protocol.ID]metrics.Stats); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[protocol.ID]metrics.Stats) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetBlockAdd provides a mock function with given fields: ctx, acl +func (_m *FullNodeMock) NetBlockAdd(ctx context.Context, acl api.NetBlockList) error { + ret := _m.Called(ctx, acl) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.NetBlockList) error); ok { + r0 = rf(ctx, acl) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetBlockList provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetBlockList(ctx context.Context) (api.NetBlockList, error) { + ret := _m.Called(ctx) + + var r0 api.NetBlockList + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (api.NetBlockList, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) api.NetBlockList); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(api.NetBlockList) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetBlockRemove provides a mock function with given fields: ctx, acl +func (_m *FullNodeMock) NetBlockRemove(ctx context.Context, acl api.NetBlockList) error { + ret := _m.Called(ctx, acl) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, api.NetBlockList) error); ok { + r0 = rf(ctx, acl) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetConnect provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetConnect(_a0 context.Context, _a1 peer.AddrInfo) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, peer.AddrInfo) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetConnectedness provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetConnectedness(_a0 context.Context, _a1 peer.ID) (network.Connectedness, error) { + ret := _m.Called(_a0, _a1) + + var r0 network.Connectedness + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) (network.Connectedness, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) network.Connectedness); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(network.Connectedness) + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetDisconnect provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetDisconnect(_a0 context.Context, _a1 peer.ID) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetFindPeer provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetFindPeer(_a0 context.Context, _a1 peer.ID) (peer.AddrInfo, error) { + ret := _m.Called(_a0, _a1) + + var r0 peer.AddrInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) (peer.AddrInfo, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) peer.AddrInfo); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(peer.AddrInfo) + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetLimit provides a mock function with given fields: ctx, scope +func (_m *FullNodeMock) NetLimit(ctx context.Context, scope string) (api.NetLimit, error) { + ret := _m.Called(ctx, scope) + + var r0 api.NetLimit + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) (api.NetLimit, error)); ok { + return rf(ctx, scope) + } + if rf, ok := ret.Get(0).(func(context.Context, string) api.NetLimit); ok { + r0 = rf(ctx, scope) + } else { + r0 = ret.Get(0).(api.NetLimit) + } + + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, scope) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetListening provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetListening(ctx context.Context) (bool, error) { + ret := _m.Called(ctx) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (bool, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) bool); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetPeerInfo provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetPeerInfo(_a0 context.Context, _a1 peer.ID) (*api.ExtendedPeerInfo, error) { + ret := _m.Called(_a0, _a1) + + var r0 *api.ExtendedPeerInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) (*api.ExtendedPeerInfo, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) *api.ExtendedPeerInfo); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ExtendedPeerInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetPeers provides a mock function with given fields: _a0 +func (_m *FullNodeMock) NetPeers(_a0 context.Context) ([]peer.AddrInfo, error) { + ret := _m.Called(_a0) + + var r0 []peer.AddrInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]peer.AddrInfo, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) []peer.AddrInfo); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]peer.AddrInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetPing provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) NetPing(_a0 context.Context, _a1 peer.ID) (time.Duration, error) { + ret := _m.Called(_a0, _a1) + + var r0 time.Duration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) (time.Duration, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, peer.ID) time.Duration); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(time.Duration) + } + + if rf, ok := ret.Get(1).(func(context.Context, peer.ID) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetProtectAdd provides a mock function with given fields: ctx, acl +func (_m *FullNodeMock) NetProtectAdd(ctx context.Context, acl []peer.ID) error { + ret := _m.Called(ctx, acl) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, []peer.ID) error); ok { + r0 = rf(ctx, acl) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetProtectList provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetProtectList(ctx context.Context) ([]peer.ID, error) { + ret := _m.Called(ctx) + + var r0 []peer.ID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]peer.ID, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) []peer.ID); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]peer.ID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetProtectRemove provides a mock function with given fields: ctx, acl +func (_m *FullNodeMock) NetProtectRemove(ctx context.Context, acl []peer.ID) error { + ret := _m.Called(ctx, acl) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, []peer.ID) error); ok { + r0 = rf(ctx, acl) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetPubsubScores provides a mock function with given fields: _a0 +func (_m *FullNodeMock) NetPubsubScores(_a0 context.Context) ([]api.PubsubScore, error) { + ret := _m.Called(_a0) + + var r0 []api.PubsubScore + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]api.PubsubScore, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) []api.PubsubScore); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.PubsubScore) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetSetLimit provides a mock function with given fields: ctx, scope, limit +func (_m *FullNodeMock) NetSetLimit(ctx context.Context, scope string, limit api.NetLimit) error { + ret := _m.Called(ctx, scope, limit) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, string, api.NetLimit) error); ok { + r0 = rf(ctx, scope, limit) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// NetStat provides a mock function with given fields: ctx, scope +func (_m *FullNodeMock) NetStat(ctx context.Context, scope string) (api.NetStat, error) { + ret := _m.Called(ctx, scope) + + var r0 api.NetStat + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) (api.NetStat, error)); ok { + return rf(ctx, scope) + } + if rf, ok := ret.Get(0).(func(context.Context, string) api.NetStat); ok { + r0 = rf(ctx, scope) + } else { + r0 = ret.Get(0).(api.NetStat) + } + + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(ctx, scope) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NetVersion provides a mock function with given fields: ctx +func (_m *FullNodeMock) NetVersion(ctx context.Context) (string, error) { + ret := _m.Called(ctx) + + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (string, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) string); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(string) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// NodeStatus provides a mock function with given fields: ctx, inclChainStatus +func (_m *FullNodeMock) NodeStatus(ctx context.Context, inclChainStatus bool) (api.NodeStatus, error) { + ret := _m.Called(ctx, inclChainStatus) + + var r0 api.NodeStatus + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, bool) (api.NodeStatus, error)); ok { + return rf(ctx, inclChainStatus) + } + if rf, ok := ret.Get(0).(func(context.Context, bool) api.NodeStatus); ok { + r0 = rf(ctx, inclChainStatus) + } else { + r0 = ret.Get(0).(api.NodeStatus) + } + + if rf, ok := ret.Get(1).(func(context.Context, bool) error); ok { + r1 = rf(ctx, inclChainStatus) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychAllocateLane provides a mock function with given fields: ctx, ch +func (_m *FullNodeMock) PaychAllocateLane(ctx context.Context, ch address.Address) (uint64, error) { + ret := _m.Called(ctx, ch) + + var r0 uint64 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (uint64, error)); ok { + return rf(ctx, ch) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) uint64); ok { + r0 = rf(ctx, ch) + } else { + r0 = ret.Get(0).(uint64) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(ctx, ch) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychAvailableFunds provides a mock function with given fields: ctx, ch +func (_m *FullNodeMock) PaychAvailableFunds(ctx context.Context, ch address.Address) (*api.ChannelAvailableFunds, error) { + ret := _m.Called(ctx, ch) + + var r0 *api.ChannelAvailableFunds + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (*api.ChannelAvailableFunds, error)); ok { + return rf(ctx, ch) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) *api.ChannelAvailableFunds); ok { + r0 = rf(ctx, ch) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ChannelAvailableFunds) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(ctx, ch) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychAvailableFundsByFromTo provides a mock function with given fields: ctx, from, to +func (_m *FullNodeMock) PaychAvailableFundsByFromTo(ctx context.Context, from address.Address, to address.Address) (*api.ChannelAvailableFunds, error) { + ret := _m.Called(ctx, from, to) + + var r0 *api.ChannelAvailableFunds + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address) (*api.ChannelAvailableFunds, error)); ok { + return rf(ctx, from, to) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address) *api.ChannelAvailableFunds); ok { + r0 = rf(ctx, from, to) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ChannelAvailableFunds) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address) error); ok { + r1 = rf(ctx, from, to) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychCollect provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) PaychCollect(_a0 context.Context, _a1 address.Address) (cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychFund provides a mock function with given fields: ctx, from, to, amt +func (_m *FullNodeMock) PaychFund(ctx context.Context, from address.Address, to address.Address, amt big.Int) (*api.ChannelInfo, error) { + ret := _m.Called(ctx, from, to, amt) + + var r0 *api.ChannelInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (*api.ChannelInfo, error)); ok { + return rf(ctx, from, to, amt) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) *api.ChannelInfo); ok { + r0 = rf(ctx, from, to, amt) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ChannelInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { + r1 = rf(ctx, from, to, amt) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychGet provides a mock function with given fields: ctx, from, to, amt, opts +func (_m *FullNodeMock) PaychGet(ctx context.Context, from address.Address, to address.Address, amt big.Int, opts api.PaychGetOpts) (*api.ChannelInfo, error) { + ret := _m.Called(ctx, from, to, amt, opts) + + var r0 *api.ChannelInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) (*api.ChannelInfo, error)); ok { + return rf(ctx, from, to, amt, opts) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) *api.ChannelInfo); ok { + r0 = rf(ctx, from, to, amt, opts) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ChannelInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) error); ok { + r1 = rf(ctx, from, to, amt, opts) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychGetWaitReady provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) PaychGetWaitReady(_a0 context.Context, _a1 cid.Cid) (address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) address.Address); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychList provides a mock function with given fields: _a0 +func (_m *FullNodeMock) PaychList(_a0 context.Context) ([]address.Address, error) { + ret := _m.Called(_a0) + + var r0 []address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]address.Address, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) []address.Address); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]address.Address) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychNewPayment provides a mock function with given fields: ctx, from, to, vouchers +func (_m *FullNodeMock) PaychNewPayment(ctx context.Context, from address.Address, to address.Address, vouchers []api.VoucherSpec) (*api.PaymentInfo, error) { + ret := _m.Called(ctx, from, to, vouchers) + + var r0 *api.PaymentInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, []api.VoucherSpec) (*api.PaymentInfo, error)); ok { + return rf(ctx, from, to, vouchers) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, []api.VoucherSpec) *api.PaymentInfo); ok { + r0 = rf(ctx, from, to, vouchers) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.PaymentInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, []api.VoucherSpec) error); ok { + r1 = rf(ctx, from, to, vouchers) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychSettle provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) PaychSettle(_a0 context.Context, _a1 address.Address) (cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychStatus provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) PaychStatus(_a0 context.Context, _a1 address.Address) (*api.PaychStatus, error) { + ret := _m.Called(_a0, _a1) + + var r0 *api.PaychStatus + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (*api.PaychStatus, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) *api.PaychStatus); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.PaychStatus) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychVoucherAdd provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 +func (_m *FullNodeMock) PaychVoucherAdd(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher, _a3 []byte, _a4 big.Int) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) (big.Int, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) big.Int); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychVoucherCheckSpendable provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 +func (_m *FullNodeMock) PaychVoucherCheckSpendable(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher, _a3 []byte, _a4 []byte) (bool, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) (bool, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) bool); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychVoucherCheckValid provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) PaychVoucherCheckValid(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher) error { + ret := _m.Called(_a0, _a1, _a2) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher) error); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// PaychVoucherCreate provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) PaychVoucherCreate(_a0 context.Context, _a1 address.Address, _a2 big.Int, _a3 uint64) (*api.VoucherCreateResult, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *api.VoucherCreateResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int, uint64) (*api.VoucherCreateResult, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int, uint64) *api.VoucherCreateResult); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.VoucherCreateResult) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, big.Int, uint64) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychVoucherList provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) PaychVoucherList(_a0 context.Context, _a1 address.Address) ([]*paych.SignedVoucher, error) { + ret := _m.Called(_a0, _a1) + + var r0 []*paych.SignedVoucher + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) ([]*paych.SignedVoucher, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) []*paych.SignedVoucher); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*paych.SignedVoucher) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PaychVoucherSubmit provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 +func (_m *FullNodeMock) PaychVoucherSubmit(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher, _a3 []byte, _a4 []byte) (cid.Cid, error) { + ret := _m.Called(_a0, _a1, _a2, _a3, _a4) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) (cid.Cid, error)); ok { + return rf(_a0, _a1, _a2, _a3, _a4) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) cid.Cid); ok { + r0 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) error); ok { + r1 = rf(_a0, _a1, _a2, _a3, _a4) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RaftLeader provides a mock function with given fields: ctx +func (_m *FullNodeMock) RaftLeader(ctx context.Context) (peer.ID, error) { + ret := _m.Called(ctx) + + var r0 peer.ID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (peer.ID, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) peer.ID); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(peer.ID) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RaftState provides a mock function with given fields: ctx +func (_m *FullNodeMock) RaftState(ctx context.Context) (*api.RaftStateData, error) { + ret := _m.Called(ctx) + + var r0 *api.RaftStateData + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*api.RaftStateData, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) *api.RaftStateData); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.RaftStateData) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// Session provides a mock function with given fields: _a0 +func (_m *FullNodeMock) Session(_a0 context.Context) (uuid.UUID, error) { + ret := _m.Called(_a0) + + var r0 uuid.UUID + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (uuid.UUID, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) uuid.UUID); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(uuid.UUID) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// Shutdown provides a mock function with given fields: _a0 +func (_m *FullNodeMock) Shutdown(_a0 context.Context) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// StartTime provides a mock function with given fields: _a0 +func (_m *FullNodeMock) StartTime(_a0 context.Context) (time.Time, error) { + ret := _m.Called(_a0) + + var r0 time.Time + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (time.Time, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) time.Time); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(time.Time) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateAccountKey provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateAccountKey(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (address.Address, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (address.Address, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) address.Address); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateActorCodeCIDs provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateActorCodeCIDs(_a0 context.Context, _a1 go_state_typesnetwork.Version) (map[string]cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 map[string]cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, go_state_typesnetwork.Version) (map[string]cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, go_state_typesnetwork.Version) map[string]cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, go_state_typesnetwork.Version) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateActorManifestCID provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateActorManifestCID(_a0 context.Context, _a1 go_state_typesnetwork.Version) (cid.Cid, error) { + ret := _m.Called(_a0, _a1) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, go_state_typesnetwork.Version) (cid.Cid, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, go_state_typesnetwork.Version) cid.Cid); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, go_state_typesnetwork.Version) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateAllMinerFaults provides a mock function with given fields: ctx, lookback, ts +func (_m *FullNodeMock) StateAllMinerFaults(ctx context.Context, lookback abi.ChainEpoch, ts types.TipSetKey) ([]*api.Fault, error) { + ret := _m.Called(ctx, lookback, ts) + + var r0 []*api.Fault + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) ([]*api.Fault, error)); ok { + return rf(ctx, lookback, ts) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) []*api.Fault); ok { + r0 = rf(ctx, lookback, ts) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*api.Fault) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(ctx, lookback, ts) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateCall provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateCall(_a0 context.Context, _a1 *types.Message, _a2 types.TipSetKey) (*api.InvocResult, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 *api.InvocResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, types.TipSetKey) (*api.InvocResult, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, types.TipSetKey) *api.InvocResult); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.InvocResult) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.Message, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateChangedActors provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateChangedActors(_a0 context.Context, _a1 cid.Cid, _a2 cid.Cid) (map[string]types.ActorV5, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 map[string]types.ActorV5 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) (map[string]types.ActorV5, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) map[string]types.ActorV5); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]types.ActorV5) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid, cid.Cid) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateCirculatingSupply provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateCirculatingSupply(_a0 context.Context, _a1 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateCompute provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateCompute(_a0 context.Context, _a1 abi.ChainEpoch, _a2 []*types.Message, _a3 types.TipSetKey) (*api.ComputeStateOutput, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 *api.ComputeStateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, []*types.Message, types.TipSetKey) (*api.ComputeStateOutput, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, []*types.Message, types.TipSetKey) *api.ComputeStateOutput); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ComputeStateOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, []*types.Message, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateComputeDataCID provides a mock function with given fields: ctx, maddr, sectorType, deals, tsk +func (_m *FullNodeMock) StateComputeDataCID(ctx context.Context, maddr address.Address, sectorType abi.RegisteredSealProof, deals []abi.DealID, tsk types.TipSetKey) (cid.Cid, error) { + ret := _m.Called(ctx, maddr, sectorType, deals, tsk) + + var r0 cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.RegisteredSealProof, []abi.DealID, types.TipSetKey) (cid.Cid, error)); ok { + return rf(ctx, maddr, sectorType, deals, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.RegisteredSealProof, []abi.DealID, types.TipSetKey) cid.Cid); ok { + r0 = rf(ctx, maddr, sectorType, deals, tsk) + } else { + r0 = ret.Get(0).(cid.Cid) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.RegisteredSealProof, []abi.DealID, types.TipSetKey) error); ok { + r1 = rf(ctx, maddr, sectorType, deals, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateDealProviderCollateralBounds provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateDealProviderCollateralBounds(_a0 context.Context, _a1 abi.PaddedPieceSize, _a2 bool, _a3 types.TipSetKey) (api.DealCollateralBounds, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 api.DealCollateralBounds + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.PaddedPieceSize, bool, types.TipSetKey) (api.DealCollateralBounds, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.PaddedPieceSize, bool, types.TipSetKey) api.DealCollateralBounds); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(api.DealCollateralBounds) + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.PaddedPieceSize, bool, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateDecodeParams provides a mock function with given fields: ctx, toAddr, method, params, tsk +func (_m *FullNodeMock) StateDecodeParams(ctx context.Context, toAddr address.Address, method abi.MethodNum, params []byte, tsk types.TipSetKey) (interface{}, error) { + ret := _m.Called(ctx, toAddr, method, params, tsk) + + var r0 interface{} + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.MethodNum, []byte, types.TipSetKey) (interface{}, error)); ok { + return rf(ctx, toAddr, method, params, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.MethodNum, []byte, types.TipSetKey) interface{}); ok { + r0 = rf(ctx, toAddr, method, params, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(interface{}) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.MethodNum, []byte, types.TipSetKey) error); ok { + r1 = rf(ctx, toAddr, method, params, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateEncodeParams provides a mock function with given fields: ctx, toActCode, method, params +func (_m *FullNodeMock) StateEncodeParams(ctx context.Context, toActCode cid.Cid, method abi.MethodNum, params json.RawMessage) ([]byte, error) { + ret := _m.Called(ctx, toActCode, method, params) + + var r0 []byte + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, abi.MethodNum, json.RawMessage) ([]byte, error)); ok { + return rf(ctx, toActCode, method, params) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, abi.MethodNum, json.RawMessage) []byte); ok { + r0 = rf(ctx, toActCode, method, params) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]byte) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid, abi.MethodNum, json.RawMessage) error); ok { + r1 = rf(ctx, toActCode, method, params) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetActor provides a mock function with given fields: ctx, actor, tsk +func (_m *FullNodeMock) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.ActorV5, error) { + ret := _m.Called(ctx, actor, tsk) + + var r0 *types.ActorV5 + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*types.ActorV5, error)); ok { + return rf(ctx, actor, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *types.ActorV5); ok { + r0 = rf(ctx, actor, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.ActorV5) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, actor, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllAllocations provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) StateGetAllAllocations(ctx context.Context, tsk types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error) { + ret := _m.Called(ctx, tsk) + + var r0 map[verifreg.AllocationId]verifreg.Allocation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)); ok { + return rf(ctx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) map[verifreg.AllocationId]verifreg.Allocation); ok { + r0 = rf(ctx, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[verifreg.AllocationId]verifreg.Allocation) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(ctx, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllClaims provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) StateGetAllClaims(ctx context.Context, tsk types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error) { + ret := _m.Called(ctx, tsk) + + var r0 map[verifreg.ClaimId]verifreg.Claim + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error)); ok { + return rf(ctx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) map[verifreg.ClaimId]verifreg.Claim); ok { + r0 = rf(ctx, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[verifreg.ClaimId]verifreg.Claim) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(ctx, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllocation provides a mock function with given fields: ctx, clientAddr, allocationId, tsk +func (_m *FullNodeMock) StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifreg.AllocationId, tsk types.TipSetKey) (*verifreg.Allocation, error) { + ret := _m.Called(ctx, clientAddr, allocationId, tsk) + + var r0 *verifreg.Allocation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, verifreg.AllocationId, types.TipSetKey) (*verifreg.Allocation, error)); ok { + return rf(ctx, clientAddr, allocationId, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, verifreg.AllocationId, types.TipSetKey) *verifreg.Allocation); ok { + r0 = rf(ctx, clientAddr, allocationId, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*verifreg.Allocation) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, verifreg.AllocationId, types.TipSetKey) error); ok { + r1 = rf(ctx, clientAddr, allocationId, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllocationForPendingDeal provides a mock function with given fields: ctx, dealId, tsk +func (_m *FullNodeMock) StateGetAllocationForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*verifreg.Allocation, error) { + ret := _m.Called(ctx, dealId, tsk) + + var r0 *verifreg.Allocation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) (*verifreg.Allocation, error)); ok { + return rf(ctx, dealId, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) *verifreg.Allocation); ok { + r0 = rf(ctx, dealId, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*verifreg.Allocation) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.DealID, types.TipSetKey) error); ok { + r1 = rf(ctx, dealId, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllocationIdForPendingDeal provides a mock function with given fields: ctx, dealId, tsk +func (_m *FullNodeMock) StateGetAllocationIdForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (verifreg.AllocationId, error) { + ret := _m.Called(ctx, dealId, tsk) + + var r0 verifreg.AllocationId + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) (verifreg.AllocationId, error)); ok { + return rf(ctx, dealId, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) verifreg.AllocationId); ok { + r0 = rf(ctx, dealId, tsk) + } else { + r0 = ret.Get(0).(verifreg.AllocationId) + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.DealID, types.TipSetKey) error); ok { + r1 = rf(ctx, dealId, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetAllocations provides a mock function with given fields: ctx, clientAddr, tsk +func (_m *FullNodeMock) StateGetAllocations(ctx context.Context, clientAddr address.Address, tsk types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error) { + ret := _m.Called(ctx, clientAddr, tsk) + + var r0 map[verifreg.AllocationId]verifreg.Allocation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)); ok { + return rf(ctx, clientAddr, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) map[verifreg.AllocationId]verifreg.Allocation); ok { + r0 = rf(ctx, clientAddr, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[verifreg.AllocationId]verifreg.Allocation) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, clientAddr, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetBeaconEntry provides a mock function with given fields: ctx, epoch +func (_m *FullNodeMock) StateGetBeaconEntry(ctx context.Context, epoch abi.ChainEpoch) (*types.BeaconEntry, error) { + ret := _m.Called(ctx, epoch) + + var r0 *types.BeaconEntry + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch) (*types.BeaconEntry, error)); ok { + return rf(ctx, epoch) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch) *types.BeaconEntry); ok { + r0 = rf(ctx, epoch) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.BeaconEntry) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch) error); ok { + r1 = rf(ctx, epoch) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetClaim provides a mock function with given fields: ctx, providerAddr, claimId, tsk +func (_m *FullNodeMock) StateGetClaim(ctx context.Context, providerAddr address.Address, claimId verifreg.ClaimId, tsk types.TipSetKey) (*verifreg.Claim, error) { + ret := _m.Called(ctx, providerAddr, claimId, tsk) + + var r0 *verifreg.Claim + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, verifreg.ClaimId, types.TipSetKey) (*verifreg.Claim, error)); ok { + return rf(ctx, providerAddr, claimId, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, verifreg.ClaimId, types.TipSetKey) *verifreg.Claim); ok { + r0 = rf(ctx, providerAddr, claimId, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*verifreg.Claim) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, verifreg.ClaimId, types.TipSetKey) error); ok { + r1 = rf(ctx, providerAddr, claimId, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetClaims provides a mock function with given fields: ctx, providerAddr, tsk +func (_m *FullNodeMock) StateGetClaims(ctx context.Context, providerAddr address.Address, tsk types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error) { + ret := _m.Called(ctx, providerAddr, tsk) + + var r0 map[verifreg.ClaimId]verifreg.Claim + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error)); ok { + return rf(ctx, providerAddr, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) map[verifreg.ClaimId]verifreg.Claim); ok { + r0 = rf(ctx, providerAddr, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[verifreg.ClaimId]verifreg.Claim) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, providerAddr, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetNetworkParams provides a mock function with given fields: ctx +func (_m *FullNodeMock) StateGetNetworkParams(ctx context.Context) (*api.NetworkParams, error) { + ret := _m.Called(ctx) + + var r0 *api.NetworkParams + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*api.NetworkParams, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) *api.NetworkParams); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.NetworkParams) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetRandomnessDigestFromBeacon provides a mock function with given fields: ctx, randEpoch, tsk +func (_m *FullNodeMock) StateGetRandomnessDigestFromBeacon(ctx context.Context, randEpoch abi.ChainEpoch, tsk types.TipSetKey) (abi.Randomness, error) { + ret := _m.Called(ctx, randEpoch, tsk) + + var r0 abi.Randomness + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) (abi.Randomness, error)); ok { + return rf(ctx, randEpoch, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) abi.Randomness); ok { + r0 = rf(ctx, randEpoch, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(abi.Randomness) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(ctx, randEpoch, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetRandomnessDigestFromTickets provides a mock function with given fields: ctx, randEpoch, tsk +func (_m *FullNodeMock) StateGetRandomnessDigestFromTickets(ctx context.Context, randEpoch abi.ChainEpoch, tsk types.TipSetKey) (abi.Randomness, error) { + ret := _m.Called(ctx, randEpoch, tsk) + + var r0 abi.Randomness + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) (abi.Randomness, error)); ok { + return rf(ctx, randEpoch, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, types.TipSetKey) abi.Randomness); ok { + r0 = rf(ctx, randEpoch, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(abi.Randomness) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, types.TipSetKey) error); ok { + r1 = rf(ctx, randEpoch, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetRandomnessFromBeacon provides a mock function with given fields: ctx, personalization, randEpoch, entropy, tsk +func (_m *FullNodeMock) StateGetRandomnessFromBeacon(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error) { + ret := _m.Called(ctx, personalization, randEpoch, entropy, tsk) + + var r0 abi.Randomness + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) (abi.Randomness, error)); ok { + return rf(ctx, personalization, randEpoch, entropy, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) abi.Randomness); ok { + r0 = rf(ctx, personalization, randEpoch, entropy, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(abi.Randomness) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) error); ok { + r1 = rf(ctx, personalization, randEpoch, entropy, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateGetRandomnessFromTickets provides a mock function with given fields: ctx, personalization, randEpoch, entropy, tsk +func (_m *FullNodeMock) StateGetRandomnessFromTickets(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error) { + ret := _m.Called(ctx, personalization, randEpoch, entropy, tsk) + + var r0 abi.Randomness + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) (abi.Randomness, error)); ok { + return rf(ctx, personalization, randEpoch, entropy, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) abi.Randomness); ok { + r0 = rf(ctx, personalization, randEpoch, entropy, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(abi.Randomness) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, crypto.DomainSeparationTag, abi.ChainEpoch, []byte, types.TipSetKey) error); ok { + r1 = rf(ctx, personalization, randEpoch, entropy, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateListActors provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateListActors(_a0 context.Context, _a1 types.TipSetKey) ([]address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 []address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) ([]address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) []address.Address); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]address.Address) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateListMessages provides a mock function with given fields: ctx, match, tsk, toht +func (_m *FullNodeMock) StateListMessages(ctx context.Context, match *api.MessageMatch, tsk types.TipSetKey, toht abi.ChainEpoch) ([]cid.Cid, error) { + ret := _m.Called(ctx, match, tsk, toht) + + var r0 []cid.Cid + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *api.MessageMatch, types.TipSetKey, abi.ChainEpoch) ([]cid.Cid, error)); ok { + return rf(ctx, match, tsk, toht) + } + if rf, ok := ret.Get(0).(func(context.Context, *api.MessageMatch, types.TipSetKey, abi.ChainEpoch) []cid.Cid); ok { + r0 = rf(ctx, match, tsk, toht) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]cid.Cid) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *api.MessageMatch, types.TipSetKey, abi.ChainEpoch) error); ok { + r1 = rf(ctx, match, tsk, toht) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateListMiners provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateListMiners(_a0 context.Context, _a1 types.TipSetKey) ([]address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 []address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) ([]address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) []address.Address); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]address.Address) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateLookupID provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateLookupID(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (address.Address, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (address.Address, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) address.Address); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateLookupRobustAddress provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateLookupRobustAddress(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (address.Address, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (address.Address, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) address.Address); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMarketBalance provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMarketBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (api.MarketBalance, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 api.MarketBalance + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (api.MarketBalance, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) api.MarketBalance); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(api.MarketBalance) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMarketDeals provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateMarketDeals(_a0 context.Context, _a1 types.TipSetKey) (map[string]*api.MarketDeal, error) { + ret := _m.Called(_a0, _a1) + + var r0 map[string]*api.MarketDeal + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (map[string]*api.MarketDeal, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) map[string]*api.MarketDeal); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]*api.MarketDeal) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMarketParticipants provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateMarketParticipants(_a0 context.Context, _a1 types.TipSetKey) (map[string]api.MarketBalance, error) { + ret := _m.Called(_a0, _a1) + + var r0 map[string]api.MarketBalance + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (map[string]api.MarketBalance, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) map[string]api.MarketBalance); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(map[string]api.MarketBalance) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMarketStorageDeal provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMarketStorageDeal(_a0 context.Context, _a1 abi.DealID, _a2 types.TipSetKey) (*api.MarketDeal, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 *api.MarketDeal + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) (*api.MarketDeal, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, abi.DealID, types.TipSetKey) *api.MarketDeal); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MarketDeal) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, abi.DealID, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerActiveSectors provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerActiveSectors(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 []*miner.SectorOnChainInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) ([]*miner.SectorOnChainInfo, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) []*miner.SectorOnChainInfo); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*miner.SectorOnChainInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerAllocated provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerAllocated(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (*bitfield.BitField, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 *bitfield.BitField + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*bitfield.BitField, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *bitfield.BitField); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*bitfield.BitField) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerAvailableBalance provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerDeadlines provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerDeadlines(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) ([]api.Deadline, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 []api.Deadline + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) ([]api.Deadline, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) []api.Deadline); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.Deadline) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerFaults provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerFaults(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (bitfield.BitField, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 bitfield.BitField + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) bitfield.BitField); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(bitfield.BitField) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerInfo provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerInfo(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (api.MinerInfo, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 api.MinerInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (api.MinerInfo, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) api.MinerInfo); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(api.MinerInfo) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerInitialPledgeCollateral provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateMinerInitialPledgeCollateral(_a0 context.Context, _a1 address.Address, _a2 miner.SectorPreCommitInfo, _a3 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerPartitions provides a mock function with given fields: ctx, m, dlIdx, tsk +func (_m *FullNodeMock) StateMinerPartitions(ctx context.Context, m address.Address, dlIdx uint64, tsk types.TipSetKey) ([]api.Partition, error) { + ret := _m.Called(ctx, m, dlIdx, tsk) + + var r0 []api.Partition + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, types.TipSetKey) ([]api.Partition, error)); ok { + return rf(ctx, m, dlIdx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, types.TipSetKey) []api.Partition); ok { + r0 = rf(ctx, m, dlIdx, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]api.Partition) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, types.TipSetKey) error); ok { + r1 = rf(ctx, m, dlIdx, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StateMinerPower provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerPower(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (*api.MinerPower, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) ClientMinerQueryOffer(ctx context.Context, miner address.Address, root cid.Cid, piece *cid.Cid) (api.QueryOffer, error) { - panic("implement me") -} + var r0 *api.MinerPower + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*api.MinerPower, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *api.MinerPower); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MinerPower) + } + } -func (f *FullNodeMock) StateMinerFaults(ctx context.Context, a address.Address, key filTypes.TipSetKey) (bitfield.BitField, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateMinerRecoveries(ctx context.Context, a address.Address, key filTypes.TipSetKey) (bitfield.BitField, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) NetAutoNatStatus(ctx context.Context) (api.NatInfo, error) { - panic("implement me") -} +// StateMinerPreCommitDepositForPower provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateMinerPreCommitDepositForPower(_a0 context.Context, _a1 address.Address, _a2 miner.SectorPreCommitInfo, _a3 types.TipSetKey) (big.Int, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) ChainGetRandomnessFromTickets(ctx context.Context, tsk filTypes.TipSetKey, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte) (abi.Randomness, error) { - panic("implement me") -} + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (big.Int, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) big.Int); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(big.Int) + } -func (f *FullNodeMock) ChainGetRandomnessFromBeacon(ctx context.Context, tsk filTypes.TipSetKey, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte) (abi.Randomness, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) BeaconGetEntry(ctx context.Context, epoch abi.ChainEpoch) (*filTypes.BeaconEntry, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) GasEstimateFeeCap(ctx context.Context, message *filTypes.Message, i int64, key filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") -} +// StateMinerProvingDeadline provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerProvingDeadline(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (*dline.Info, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) GasEstimateGasLimit(ctx context.Context, message *filTypes.Message, key filTypes.TipSetKey) (int64, error) { - panic("implement me") -} + var r0 *dline.Info + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*dline.Info, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *dline.Info); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dline.Info) + } + } -func (f *FullNodeMock) GasEstimateGasPremium(_ context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) GasEstimateMessageGas(ctx context.Context, message *filTypes.Message, spec *api.MessageSendSpec, key filTypes.TipSetKey) (*filTypes.Message, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MpoolSelect(ctx context.Context, key filTypes.TipSetKey, f2 float64) ([]*filTypes.SignedMessage, error) { - panic("implement me") -} +// StateMinerRecoveries provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerRecoveries(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (bitfield.BitField, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) MpoolClear(ctx context.Context, b bool) error { - panic("implement me") -} + var r0 bitfield.BitField + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) bitfield.BitField); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(bitfield.BitField) + } -func (f *FullNodeMock) MpoolGetConfig(ctx context.Context) (*filTypes.MpoolConfig, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MpoolSetConfig(ctx context.Context, config *filTypes.MpoolConfig) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientRetrieveWithEvents(ctx context.Context, order api.RetrievalOrder, ref *api.FileRef) (<-chan marketevents.RetrievalEvent, error) { - panic("implement me") -} +// StateMinerSectorAllocated provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateMinerSectorAllocated(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (bool, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) ClientDealSize(ctx context.Context, root cid.Cid) (api.DataSize, error) { - panic("implement me") -} + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (bool, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) bool); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(bool) + } -func (f *FullNodeMock) ClientListDataTransfers(ctx context.Context) ([]api.DataTransferChannel, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientDataTransferUpdates(ctx context.Context) (<-chan api.DataTransferChannel, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk filTypes.TipSetKey) (*verifreg.DataCap, error) { - panic("implement me") -} +// StateMinerSectorCount provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateMinerSectorCount(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (api.MinerSectors, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) StateDealProviderCollateralBounds(ctx context.Context, size abi.PaddedPieceSize, b bool, key filTypes.TipSetKey) (api.DealCollateralBounds, error) { - panic("implement me") -} + var r0 api.MinerSectors + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (api.MinerSectors, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) api.MinerSectors); ok { + r0 = rf(_a0, _a1, _a2) + } else { + r0 = ret.Get(0).(api.MinerSectors) + } -func (f *FullNodeMock) PaychGetWaitReady(ctx context.Context, c cid.Cid) (address.Address, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) PaychSettle(ctx context.Context, a address.Address) (cid.Cid, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) PaychCollect(ctx context.Context, a address.Address) (cid.Cid, error) { - panic("implement me") -} +// StateMinerSectors provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateMinerSectors(_a0 context.Context, _a1 address.Address, _a2 *bitfield.BitField, _a3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) { - panic("implement me") -} + var r0 []*miner.SectorOnChainInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *bitfield.BitField, types.TipSetKey) ([]*miner.SectorOnChainInfo, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *bitfield.BitField, types.TipSetKey) []*miner.SectorOnChainInfo); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*miner.SectorOnChainInfo) + } + } -func (f *FullNodeMock) AuthNew(ctx context.Context, perms []auth.Permission) ([]byte, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *bitfield.BitField, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetPeers(ctx context.Context) ([]peer.AddrInfo, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) NetConnect(ctx context.Context, info peer.AddrInfo) error { - panic("implement me") -} +// StateNetworkName provides a mock function with given fields: _a0 +func (_m *FullNodeMock) StateNetworkName(_a0 context.Context) (dtypes.NetworkName, error) { + ret := _m.Called(_a0) -func (f *FullNodeMock) NetAddrsListen(ctx context.Context) (peer.AddrInfo, error) { - panic("implement me") -} + var r0 dtypes.NetworkName + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (dtypes.NetworkName, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) dtypes.NetworkName); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(dtypes.NetworkName) + } -func (f *FullNodeMock) NetDisconnect(ctx context.Context, id peer.ID) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) NetFindPeer(ctx context.Context, id peer.ID) (peer.AddrInfo, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) NetPubsubScores(ctx context.Context) ([]api.PubsubScore, error) { - panic("implement me") -} +// StateNetworkVersion provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateNetworkVersion(_a0 context.Context, _a1 types.TipSetKey) (go_state_typesnetwork.Version, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) ID(ctx context.Context) (peer.ID, error) { - panic("implement me") -} + var r0 go_state_typesnetwork.Version + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (go_state_typesnetwork.Version, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) go_state_typesnetwork.Version); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(go_state_typesnetwork.Version) + } -func (f *FullNodeMock) LogList(ctx context.Context) ([]string, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) LogSetLevel(ctx context.Context, s string, s2 string) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) Shutdown(ctx context.Context) error { - panic("implement me") -} +// StateReadState provides a mock function with given fields: ctx, actor, tsk +func (_m *FullNodeMock) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error) { + ret := _m.Called(ctx, actor, tsk) -func (f *FullNodeMock) Closing(ctx context.Context) (<-chan struct{}, error) { - panic("implement me") -} + var r0 *api.ActorState + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*api.ActorState, error)); ok { + return rf(ctx, actor, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *api.ActorState); ok { + r0 = rf(ctx, actor, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.ActorState) + } + } -func (f *FullNodeMock) ChainNotify(ctx context.Context) (<-chan []*api.HeadChange, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, actor, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainHead(ctx context.Context) (*filTypes.TipSet, error) { - args := f.Called(ctx) - return args.Get(0).(*filTypes.TipSet), args.Error(1) + return r0, r1 } -func (f *FullNodeMock) ChainGetRandomness(ctx context.Context, tsk filTypes.TipSetKey, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte) (abi.Randomness, error) { - panic("implement me") -} +// StateReplay provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) StateReplay(_a0 context.Context, _a1 types.TipSetKey, _a2 cid.Cid) (*api.InvocResult, error) { + ret := _m.Called(_a0, _a1, _a2) -func (f *FullNodeMock) ChainGetBlock(ctx context.Context, c cid.Cid) (*filTypes.BlockHeader, error) { - panic("implement me") -} + var r0 *api.InvocResult + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, cid.Cid) (*api.InvocResult, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, cid.Cid) *api.InvocResult); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.InvocResult) + } + } -func (f *FullNodeMock) ChainGetTipSet(ctx context.Context, key filTypes.TipSetKey) (*filTypes.TipSet, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey, cid.Cid) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainGetBlockMessages(ctx context.Context, blockCid cid.Cid) (*api.BlockMessages, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*filTypes.MessageReceipt, error) { - args := f.Called(ctx, blockCid) - return args.Get(0).([]*filTypes.MessageReceipt), args.Error(1) -} +// StateSearchMsg provides a mock function with given fields: ctx, from, msg, limit, allowReplaced +func (_m *FullNodeMock) StateSearchMsg(ctx context.Context, from types.TipSetKey, msg cid.Cid, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error) { + ret := _m.Called(ctx, from, msg, limit, allowReplaced) -func (f *FullNodeMock) ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]api.Message, error) { - args := f.Called(ctx, blockCid) - return args.Get(0).([]api.Message), args.Error(1) -} + var r0 *api.MsgLookup + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, cid.Cid, abi.ChainEpoch, bool) (*api.MsgLookup, error)); ok { + return rf(ctx, from, msg, limit, allowReplaced) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey, cid.Cid, abi.ChainEpoch, bool) *api.MsgLookup); ok { + r0 = rf(ctx, from, msg, limit, allowReplaced) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MsgLookup) + } + } -func (f *FullNodeMock) ChainGetTipSetByHeight(ctx context.Context, epoch abi.ChainEpoch, key filTypes.TipSetKey) (*filTypes.TipSet, error) { - args := f.Called(ctx, epoch, key) - return args.Get(0).(*filTypes.TipSet), args.Error(1) -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey, cid.Cid, abi.ChainEpoch, bool) error); ok { + r1 = rf(ctx, from, msg, limit, allowReplaced) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainReadObj(ctx context.Context, c cid.Cid) ([]byte, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ChainHasObj(ctx context.Context, c cid.Cid) (bool, error) { - panic("implement me") -} +// StateSectorExpiration provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateSectorExpiration(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*builtinminer.SectorExpiration, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) ChainStatObj(ctx context.Context, c cid.Cid, c2 cid.Cid) (api.ObjStat, error) { - panic("implement me") -} + var r0 *builtinminer.SectorExpiration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*builtinminer.SectorExpiration, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *builtinminer.SectorExpiration); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*builtinminer.SectorExpiration) + } + } -func (f *FullNodeMock) ChainSetHead(ctx context.Context, key filTypes.TipSetKey) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainGetGenesis(ctx context.Context) (*filTypes.TipSet, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ChainTipSetWeight(ctx context.Context, key filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") -} +// StateSectorGetInfo provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateSectorGetInfo(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*miner.SectorOnChainInfo, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) ChainGetNode(ctx context.Context, p string) (*api.IpldObject, error) { - panic("implement me") -} + var r0 *miner.SectorOnChainInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorOnChainInfo, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *miner.SectorOnChainInfo); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*miner.SectorOnChainInfo) + } + } -func (f *FullNodeMock) ChainGetMessage(ctx context.Context, c cid.Cid) (*filTypes.Message, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ChainGetPath(ctx context.Context, from filTypes.TipSetKey, to filTypes.TipSetKey) ([]*api.HeadChange, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) SyncState(ctx context.Context) (*api.SyncState, error) { - args := f.Called(ctx) - return args.Get(0).(*api.SyncState), args.Error(1) -} +// StateSectorPartition provides a mock function with given fields: ctx, maddr, sectorNumber, tok +func (_m *FullNodeMock) StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok types.TipSetKey) (*builtinminer.SectorLocation, error) { + ret := _m.Called(ctx, maddr, sectorNumber, tok) -func (f *FullNodeMock) SyncSubmitBlock(ctx context.Context, blk *filTypes.BlockMsg) error { - panic("implement me") -} + var r0 *builtinminer.SectorLocation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*builtinminer.SectorLocation, error)); ok { + return rf(ctx, maddr, sectorNumber, tok) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *builtinminer.SectorLocation); ok { + r0 = rf(ctx, maddr, sectorNumber, tok) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*builtinminer.SectorLocation) + } + } -func (f *FullNodeMock) SyncIncomingBlocks(ctx context.Context) (<-chan *filTypes.BlockHeader, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) error); ok { + r1 = rf(ctx, maddr, sectorNumber, tok) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) SyncMarkBad(ctx context.Context, bcid cid.Cid) error { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) SyncCheckBad(ctx context.Context, bcid cid.Cid) (string, error) { - panic("implement me") -} +// StateSectorPreCommitInfo provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) StateSectorPreCommitInfo(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) -func (f *FullNodeMock) MpoolPending(ctx context.Context, key filTypes.TipSetKey) ([]*filTypes.SignedMessage, error) { - panic("implement me") -} + var r0 *miner.SectorPreCommitOnChainInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *miner.SectorPreCommitOnChainInfo); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*miner.SectorPreCommitOnChainInfo) + } + } -func (f *FullNodeMock) MpoolPush(ctx context.Context, message *filTypes.SignedMessage) (cid.Cid, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MpoolGetNonce(ctx context.Context, a address.Address) (uint64, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) MpoolSub(ctx context.Context) (<-chan api.MpoolUpdate, error) { - panic("implement me") -} +// StateVMCirculatingSupplyInternal provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) StateVMCirculatingSupplyInternal(_a0 context.Context, _a1 types.TipSetKey) (api.CirculatingSupply, error) { + ret := _m.Called(_a0, _a1) -func (f *FullNodeMock) MpoolEstimateGasPrice(ctx context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") -} + var r0 api.CirculatingSupply + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (api.CirculatingSupply, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) api.CirculatingSupply); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(api.CirculatingSupply) + } -func (f *FullNodeMock) MinerGetBaseInfo(ctx context.Context, a address.Address, epoch abi.ChainEpoch, key filTypes.TipSetKey) (*api.MiningBaseInfo, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) MinerCreateBlock(ctx context.Context, template *api.BlockTemplate) (*filTypes.BlockMsg, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) WalletHas(ctx context.Context, a address.Address) (bool, error) { - panic("implement me") -} +// StateVerifiedClientStatus provides a mock function with given fields: ctx, addr, tsk +func (_m *FullNodeMock) StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*big.Int, error) { + ret := _m.Called(ctx, addr, tsk) -func (f *FullNodeMock) WalletList(ctx context.Context) ([]address.Address, error) { - panic("implement me") -} + var r0 *big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*big.Int, error)); ok { + return rf(ctx, addr, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *big.Int); ok { + r0 = rf(ctx, addr, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*big.Int) + } + } -func (f *FullNodeMock) WalletBalance(ctx context.Context, a address.Address) (filTypes.BigInt, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, addr, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) WalletSign(ctx context.Context, a address.Address, bytes []byte) (*crypto.Signature, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) WalletSignMessage(ctx context.Context, a address.Address, message *filTypes.Message) (*filTypes.SignedMessage, error) { - panic("implement me") -} +// StateVerifiedRegistryRootKey provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) StateVerifiedRegistryRootKey(ctx context.Context, tsk types.TipSetKey) (address.Address, error) { + ret := _m.Called(ctx, tsk) -func (f *FullNodeMock) WalletDefaultAddress(ctx context.Context) (address.Address, error) { - panic("implement me") -} + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (address.Address, error)); ok { + return rf(ctx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) address.Address); ok { + r0 = rf(ctx, tsk) + } else { + r0 = ret.Get(0).(address.Address) + } -func (f *FullNodeMock) WalletSetDefault(ctx context.Context, a address.Address) error { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(ctx, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) WalletExport(ctx context.Context, a address.Address) (*filTypes.KeyInfo, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) WalletImport(ctx context.Context, info *filTypes.KeyInfo) (address.Address, error) { - panic("implement me") -} +// StateVerifierStatus provides a mock function with given fields: ctx, addr, tsk +func (_m *FullNodeMock) StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*big.Int, error) { + ret := _m.Called(ctx, addr, tsk) -func (f *FullNodeMock) WalletDelete(ctx context.Context, a address.Address) error { - panic("implement me") -} + var r0 *big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*big.Int, error)); ok { + return rf(ctx, addr, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *big.Int); ok { + r0 = rf(ctx, addr, tsk) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*big.Int) + } + } -func (f *FullNodeMock) ClientStartDeal(ctx context.Context, params *api.StartDealParams) (*cid.Cid, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { + r1 = rf(ctx, addr, tsk) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientGetDealInfo(ctx context.Context, c cid.Cid) (*api.DealInfo, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientListDeals(ctx context.Context) ([]api.DealInfo, error) { - panic("implement me") -} +// StateWaitMsg provides a mock function with given fields: ctx, _a1, confidence, limit, allowReplaced +func (_m *FullNodeMock) StateWaitMsg(ctx context.Context, _a1 cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error) { + ret := _m.Called(ctx, _a1, confidence, limit, allowReplaced) -func (f *FullNodeMock) ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error) { - panic("implement me") -} + var r0 *api.MsgLookup + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, uint64, abi.ChainEpoch, bool) (*api.MsgLookup, error)); ok { + return rf(ctx, _a1, confidence, limit, allowReplaced) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, uint64, abi.ChainEpoch, bool) *api.MsgLookup); ok { + r0 = rf(ctx, _a1, confidence, limit, allowReplaced) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.MsgLookup) + } + } -func (f *FullNodeMock) ClientRetrieve(ctx context.Context, params api.RetrievalOrder) (*api.RestrievalRes, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid, uint64, abi.ChainEpoch, bool) error); ok { + r1 = rf(ctx, _a1, confidence, limit, allowReplaced) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) ClientCalcCommP(ctx context.Context, inpath string) (*api.CommPRet, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) ClientGenCar(ctx context.Context, ref api.FileRef, outpath string) error { - panic("implement me") -} +// SubscribeActorEventsRaw provides a mock function with given fields: ctx, filter +func (_m *FullNodeMock) SubscribeActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error) { + ret := _m.Called(ctx, filter) -func (f *FullNodeMock) ClientListImports(ctx context.Context) ([]api.Import, error) { - panic("implement me") -} + var r0 <-chan *types.ActorEvent + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.ActorEventFilter) (<-chan *types.ActorEvent, error)); ok { + return rf(ctx, filter) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.ActorEventFilter) <-chan *types.ActorEvent); ok { + r0 = rf(ctx, filter) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan *types.ActorEvent) + } + } -func (f *FullNodeMock) StateCall(ctx context.Context, message *filTypes.Message, key filTypes.TipSetKey) (*api.InvocResult, error) { - panic("implement me") -} + if rf, ok := ret.Get(1).(func(context.Context, *types.ActorEventFilter) error); ok { + r1 = rf(ctx, filter) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateReplay(ctx context.Context, key filTypes.TipSetKey, c cid.Cid) (*api.InvocResult, error) { - panic("implement me") + return r0, r1 } -func (f *FullNodeMock) StateGetActor(ctx context.Context, actor address.Address, tsk filTypes.TipSetKey) (*filTypes.Actor, error) { - args := f.Called(ctx, actor, tsk) - return args.Get(0).(*filTypes.Actor), args.Error(1) -} +// SyncCheckBad provides a mock function with given fields: ctx, bcid +func (_m *FullNodeMock) SyncCheckBad(ctx context.Context, bcid cid.Cid) (string, error) { + ret := _m.Called(ctx, bcid) -func (f *FullNodeMock) StateReadState(ctx context.Context, actor address.Address, tsk filTypes.TipSetKey) (*api.ActorState, error) { - args := f.Called(ctx, actor, tsk) - return args.Get(0).(*api.ActorState), args.Error(1) -} + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) (string, error)); ok { + return rf(ctx, bcid) + } + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) string); ok { + r0 = rf(ctx, bcid) + } else { + r0 = ret.Get(0).(string) + } + + if rf, ok := ret.Get(1).(func(context.Context, cid.Cid) error); ok { + r1 = rf(ctx, bcid) + } else { + r1 = ret.Error(1) + } -func (f *FullNodeMock) StateNetworkName(ctx context.Context) (dtypes.NetworkName, error) { - args := f.Called(ctx) - return args.Get(0).(dtypes.NetworkName), args.Error(1) + return r0, r1 } -func (f *FullNodeMock) StateMinerPower(ctx context.Context, a address.Address, key filTypes.TipSetKey) (*api.MinerPower, error) { - panic("implement me") +// SyncCheckpoint provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) SyncCheckpoint(ctx context.Context, tsk types.TipSetKey) error { + ret := _m.Called(ctx, tsk) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) error); ok { + r0 = rf(ctx, tsk) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StateAllMinerFaults(ctx context.Context, lookback abi.ChainEpoch, ts filTypes.TipSetKey) ([]*api.Fault, error) { - panic("implement me") +// SyncIncomingBlocks provides a mock function with given fields: ctx +func (_m *FullNodeMock) SyncIncomingBlocks(ctx context.Context) (<-chan *types.BlockHeader, error) { + ret := _m.Called(ctx) + + var r0 <-chan *types.BlockHeader + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (<-chan *types.BlockHeader, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) <-chan *types.BlockHeader); ok { + r0 = rf(ctx) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan *types.BlockHeader) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateMinerAvailableBalance(ctx context.Context, a address.Address, key filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") +// SyncMarkBad provides a mock function with given fields: ctx, bcid +func (_m *FullNodeMock) SyncMarkBad(ctx context.Context, bcid cid.Cid) error { + ret := _m.Called(ctx, bcid) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) error); ok { + r0 = rf(ctx, bcid) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StatePledgeCollateral(ctx context.Context, key filTypes.TipSetKey) (filTypes.BigInt, error) { - panic("implement me") +// SyncState provides a mock function with given fields: _a0 +func (_m *FullNodeMock) SyncState(_a0 context.Context) (*api.SyncState, error) { + ret := _m.Called(_a0) + + var r0 *api.SyncState + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (*api.SyncState, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) *api.SyncState); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*api.SyncState) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateListMiners(ctx context.Context, key filTypes.TipSetKey) ([]address.Address, error) { - panic("implement me") +// SyncSubmitBlock provides a mock function with given fields: ctx, blk +func (_m *FullNodeMock) SyncSubmitBlock(ctx context.Context, blk *types.BlockMsg) error { + ret := _m.Called(ctx, blk) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *types.BlockMsg) error); ok { + r0 = rf(ctx, blk) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StateListActors(ctx context.Context, key filTypes.TipSetKey) ([]address.Address, error) { - panic("implement me") +// SyncUnmarkAllBad provides a mock function with given fields: ctx +func (_m *FullNodeMock) SyncUnmarkAllBad(ctx context.Context) error { + ret := _m.Called(ctx) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context) error); ok { + r0 = rf(ctx) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StateMarketBalance(ctx context.Context, a address.Address, key filTypes.TipSetKey) (api.MarketBalance, error) { - panic("implement me") +// SyncUnmarkBad provides a mock function with given fields: ctx, bcid +func (_m *FullNodeMock) SyncUnmarkBad(ctx context.Context, bcid cid.Cid) error { + ret := _m.Called(ctx, bcid) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid) error); ok { + r0 = rf(ctx, bcid) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StateMarketParticipants(ctx context.Context, key filTypes.TipSetKey) (map[string]api.MarketBalance, error) { - panic("implement me") +// SyncValidateTipset provides a mock function with given fields: ctx, tsk +func (_m *FullNodeMock) SyncValidateTipset(ctx context.Context, tsk types.TipSetKey) (bool, error) { + ret := _m.Called(ctx, tsk) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (bool, error)); ok { + return rf(ctx, tsk) + } + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) bool); ok { + r0 = rf(ctx, tsk) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { + r1 = rf(ctx, tsk) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateMarketStorageDeal(ctx context.Context, id abi.DealID, key filTypes.TipSetKey) (*api.MarketDeal, error) { - panic("implement me") +// Version provides a mock function with given fields: _a0 +func (_m *FullNodeMock) Version(_a0 context.Context) (api.APIVersion, error) { + ret := _m.Called(_a0) + + var r0 api.APIVersion + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (api.APIVersion, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) api.APIVersion); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(api.APIVersion) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateLookupID(ctx context.Context, a address.Address, key filTypes.TipSetKey) (address.Address, error) { - panic("implement me") +// WalletBalance provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletBalance(_a0 context.Context, _a1 address.Address) (big.Int, error) { + ret := _m.Called(_a0, _a1) + + var r0 big.Int + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (big.Int, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) big.Int); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(big.Int) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateAccountKey(ctx context.Context, a address.Address, key filTypes.TipSetKey) (address.Address, error) { - panic("implement me") +// WalletDefaultAddress provides a mock function with given fields: _a0 +func (_m *FullNodeMock) WalletDefaultAddress(_a0 context.Context) (address.Address, error) { + ret := _m.Called(_a0) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (address.Address, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) address.Address); ok { + r0 = rf(_a0) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateChangedActors(ctx context.Context, c cid.Cid, c2 cid.Cid) (map[string]filTypes.Actor, error) { - panic("implement me") +// WalletDelete provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletDelete(_a0 context.Context, _a1 address.Address) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) StateGetReceipt(ctx context.Context, c cid.Cid, key filTypes.TipSetKey) (*filTypes.MessageReceipt, error) { - panic("implement me") +// WalletExport provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletExport(_a0 context.Context, _a1 address.Address) (*types.KeyInfo, error) { + ret := _m.Called(_a0, _a1) + + var r0 *types.KeyInfo + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (*types.KeyInfo, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) *types.KeyInfo); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.KeyInfo) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateMinerSectorCount(ctx context.Context, a address.Address, key filTypes.TipSetKey) (api.MinerSectors, error) { - panic("implement me") +// WalletHas provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletHas(_a0 context.Context, _a1 address.Address) (bool, error) { + ret := _m.Called(_a0, _a1) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (bool, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address) bool); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) StateCompute(ctx context.Context, epoch abi.ChainEpoch, messages []*filTypes.Message, key filTypes.TipSetKey) (*api.ComputeStateOutput, error) { - panic("implement me") +// WalletImport provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletImport(_a0 context.Context, _a1 *types.KeyInfo) (address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *types.KeyInfo) (address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, *types.KeyInfo) address.Address); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, *types.KeyInfo) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) MsigGetAvailableBalance(ctx context.Context, a address.Address, key filTypes.TipSetKey) (filTypes.BigInt, error) { - args := f.Called(ctx, a, key) - return args.Get(0).(filTypes.BigInt), args.Error(1) +// WalletList provides a mock function with given fields: _a0 +func (_m *FullNodeMock) WalletList(_a0 context.Context) ([]address.Address, error) { + ret := _m.Called(_a0) + + var r0 []address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) ([]address.Address, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(context.Context) []address.Address); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]address.Address) + } + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) MarketEnsureAvailable(ctx context.Context, a address.Address, a2 address.Address, bigInt filTypes.BigInt) (cid.Cid, error) { - panic("implement me") +// WalletNew provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletNew(_a0 context.Context, _a1 types.KeyType) (address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, types.KeyType) (address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, types.KeyType) address.Address); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, types.KeyType) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) PaychList(ctx context.Context) ([]address.Address, error) { - panic("implement me") +// WalletSetDefault provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletSetDefault(_a0 context.Context, _a1 address.Address) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 } -func (f *FullNodeMock) PaychStatus(ctx context.Context, a address.Address) (*api.PaychStatus, error) { - panic("implement me") +// WalletSign provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) WalletSign(_a0 context.Context, _a1 address.Address, _a2 []byte) (*crypto.Signature, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 *crypto.Signature + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, []byte) (*crypto.Signature, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, []byte) *crypto.Signature); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*crypto.Signature) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, []byte) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) PaychClose(ctx context.Context, a address.Address) (cid.Cid, error) { - panic("implement me") +// WalletSignMessage provides a mock function with given fields: _a0, _a1, _a2 +func (_m *FullNodeMock) WalletSignMessage(_a0 context.Context, _a1 address.Address, _a2 *types.Message) (*types.SignedMessage, error) { + ret := _m.Called(_a0, _a1, _a2) + + var r0 *types.SignedMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *types.Message) (*types.SignedMessage, error)); ok { + return rf(_a0, _a1, _a2) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *types.Message) *types.SignedMessage); ok { + r0 = rf(_a0, _a1, _a2) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.SignedMessage) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *types.Message) error); ok { + r1 = rf(_a0, _a1, _a2) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) PaychAllocateLane(ctx context.Context, ch address.Address) (uint64, error) { - panic("implement me") +// WalletValidateAddress provides a mock function with given fields: _a0, _a1 +func (_m *FullNodeMock) WalletValidateAddress(_a0 context.Context, _a1 string) (address.Address, error) { + ret := _m.Called(_a0, _a1) + + var r0 address.Address + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string) (address.Address, error)); ok { + return rf(_a0, _a1) + } + if rf, ok := ret.Get(0).(func(context.Context, string) address.Address); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Get(0).(address.Address) + } + + if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) PaychNewPayment(ctx context.Context, from, to address.Address, vouchers []api.VoucherSpec) (*api.PaymentInfo, error) { - panic("implement me") +// WalletVerify provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *FullNodeMock) WalletVerify(_a0 context.Context, _a1 address.Address, _a2 []byte, _a3 *crypto.Signature) (bool, error) { + ret := _m.Called(_a0, _a1, _a2, _a3) + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, address.Address, []byte, *crypto.Signature) (bool, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } + if rf, ok := ret.Get(0).(func(context.Context, address.Address, []byte, *crypto.Signature) bool); ok { + r0 = rf(_a0, _a1, _a2, _a3) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(context.Context, address.Address, []byte, *crypto.Signature) error); ok { + r1 = rf(_a0, _a1, _a2, _a3) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) ClientRetrieveWait(ctx context.Context, deal retrievalmarket.DealID) error { - panic("implement me") +// Web3ClientVersion provides a mock function with given fields: ctx +func (_m *FullNodeMock) Web3ClientVersion(ctx context.Context) (string, error) { + ret := _m.Called(ctx) + + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(context.Context) (string, error)); ok { + return rf(ctx) + } + if rf, ok := ret.Get(0).(func(context.Context) string); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(string) + } + + if rf, ok := ret.Get(1).(func(context.Context) error); ok { + r1 = rf(ctx) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -func (f *FullNodeMock) ClientExport(ctx context.Context, exportRef api.ExportRef, fileRef api.FileRef) error { - panic("implement me") +type mockConstructorTestingTNewFullNodeMock interface { + mock.TestingT + Cleanup(func()) } -func (f *FullNodeMock) MsigCancelTxnHash(context.Context, address.Address, uint64, address.Address, filTypes.BigInt, address.Address, uint64, []byte) (*api.MessagePrototype, error) { - panic("implement me") +// NewFullNodeMock creates a new instance of FullNodeMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewFullNodeMock(t mockConstructorTestingTNewFullNodeMock) *FullNodeMock { + mock := &FullNodeMock{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock } diff --git a/rosetta/tests/rosetta-config-PR-calibration.json b/rosetta/tests/rosetta-config-PR-calibration.json index 82abd98..d4d2e34 100644 --- a/rosetta/tests/rosetta-config-PR-calibration.json +++ b/rosetta/tests/rosetta-config-PR-calibration.json @@ -29,9 +29,9 @@ "balance_tracking_disabled": false, "coin_tracking_disabled": false, "status_port": 9090, - "start_index": 1453345, + "start_index": 1468082, "end_conditions": { - "index": 1454345 + "index": 1468082 } } } diff --git a/rosetta/tests/rosetta-config-PR-mainnet.json b/rosetta/tests/rosetta-config-PR-mainnet.json index ff23b38..06058e0 100644 --- a/rosetta/tests/rosetta-config-PR-mainnet.json +++ b/rosetta/tests/rosetta-config-PR-mainnet.json @@ -32,9 +32,9 @@ "status_port": 9090, "pruning_disabled": false, "historical_balance_enabled": true, - "start_index": 2121000, + "start_index": 3763750, "end_conditions": { - "index": 2121400 + "index": 3768750 } } } \ No newline at end of file