Skip to content

Commit 46d0301

Browse files
committed
update to flowkit and fix test
1 parent 92bd842 commit 46d0301

File tree

4 files changed

+262
-233
lines changed

4 files changed

+262
-233
lines changed

doc_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func ExampleOverflowState_Tx() {
3333
//🧑 Created account: emulator-first with address: 179b6b1cb6755e31 with flow: 10.00
3434
//🧑 Created account: emulator-second with address: f3fcd2c1a78f5eee with flow: 10.00
3535
//📜 deploy contracts Debug
36-
//👌 Tx:arguments fee:0.00001000 gas:8
36+
//👌 Tx:arguments fee:0.00001000 gas:9
3737
//
3838
}
3939

@@ -55,7 +55,7 @@ func ExampleOverflowState_Tx_inline() {
5555
//🧑 Created account: emulator-first with address: 179b6b1cb6755e31 with flow: 10.00
5656
//🧑 Created account: emulator-second with address: f3fcd2c1a78f5eee with flow: 10.00
5757
//📜 deploy contracts Debug
58-
//👌 Tx: fee:0.00001000 gas:14
58+
//👌 Tx: fee:0.00001000 gas:17
5959
//=== Events ===
6060
//A.f8d6e0586b0a20c7.Debug.Log
6161
// msg -> overflow ftw!
@@ -81,7 +81,7 @@ func ExampleOverflowState_Tx_multisign() {
8181
//🧑 Created account: emulator-first with address: 179b6b1cb6755e31 with flow: 10.00
8282
//🧑 Created account: emulator-second with address: f3fcd2c1a78f5eee with flow: 10.00
8383
//📜 deploy contracts Debug
84-
//👌 Tx: fee:0.00001000 gas:14
84+
//👌 Tx: fee:0.00001000 gas:17
8585
//=== Events ===
8686
//A.f8d6e0586b0a20c7.Debug.Log
8787
// msg -> acct:0xf3fcd2c1a78f5eee

go.mod

Lines changed: 66 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
11
module github.com/bjartek/overflow/v2
22

3-
go 1.23
3+
go 1.23.7
44

5-
toolchain go1.23.6
5+
toolchain go1.24.4
66

77
require (
88
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
9-
github.com/bjartek/underflow v1.11.0
9+
github.com/bjartek/underflow v1.12.0
1010
github.com/enescakir/emoji v1.0.0
1111
github.com/fatih/color v1.17.0
1212
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0
1313
github.com/hashicorp/go-multierror v1.1.1
1414
github.com/hexops/autogold v1.3.1
15-
github.com/onflow/cadence v1.3.4
15+
github.com/onflow/cadence v1.6.0
1616
github.com/onflow/flixkit-go/v2 v2.1.0
17-
github.com/onflow/flow-emulator v1.4.1
18-
github.com/onflow/flow-go v0.40.1
19-
github.com/onflow/flow-go-sdk v1.3.3
20-
github.com/onflow/flowkit/v2 v2.3.4
17+
github.com/onflow/flow-emulator v1.5.0
18+
github.com/onflow/flow-go v0.41.0-rc.1.0.20250612202352-c000365f7daf
19+
github.com/onflow/flow-go-sdk v1.6.0
20+
github.com/onflow/flowkit/v2 v2.4.0
2121
github.com/pkg/errors v0.9.1
2222
github.com/rs/zerolog v1.34.0
2323
github.com/sanity-io/litter v1.5.5
2424
github.com/spf13/afero v1.11.0
2525
github.com/stretchr/testify v1.10.0
2626
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
2727
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67
28-
google.golang.org/grpc v1.67.1
28+
google.golang.org/grpc v1.73.0
2929
)
3030

3131
require (
32-
cloud.google.com/go/compute/metadata v0.5.0 // indirect
33-
cloud.google.com/go/iam v1.1.6 // indirect
34-
cloud.google.com/go/kms v1.15.7 // indirect
32+
cloud.google.com/go v0.120.0 // indirect
33+
cloud.google.com/go/auth v0.16.1 // indirect
34+
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
35+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
36+
cloud.google.com/go/iam v1.5.0 // indirect
37+
cloud.google.com/go/kms v1.21.2 // indirect
38+
cloud.google.com/go/longrunning v0.6.6 // indirect
3539
github.com/DataDog/zstd v1.5.2 // indirect
3640
github.com/FactomProject/basen v0.0.0-20150613233007-fe3947df716e // indirect
3741
github.com/FactomProject/btcutilecc v0.0.0-20130527213604-d3a63a5752ec // indirect
@@ -40,7 +44,7 @@ require (
4044
github.com/StackExchange/wmi v1.2.1 // indirect
4145
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
4246
github.com/beorn7/perks v1.0.1 // indirect
43-
github.com/bits-and-blooms/bitset v1.10.0 // indirect
47+
github.com/bits-and-blooms/bitset v1.17.0 // indirect
4448
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
4549
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.3 // indirect
4650
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
@@ -49,14 +53,14 @@ require (
4953
github.com/cockroachdb/errors v1.11.3 // indirect
5054
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
5155
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
52-
github.com/cockroachdb/pebble v1.1.1 // indirect
56+
github.com/cockroachdb/pebble v1.1.2 // indirect
5357
github.com/cockroachdb/redact v1.1.5 // indirect
5458
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
55-
github.com/consensys/bavard v0.1.13 // indirect
56-
github.com/consensys/gnark-crypto v0.12.1 // indirect
59+
github.com/consensys/bavard v0.1.22 // indirect
60+
github.com/consensys/gnark-crypto v0.14.0 // indirect
5761
github.com/coreos/go-semver v0.3.0 // indirect
58-
github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c // indirect
59-
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
62+
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
63+
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
6064
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6165
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
6266
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
@@ -70,13 +74,12 @@ require (
7074
github.com/ef-ds/deque v1.0.4 // indirect
7175
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
7276
github.com/ethereum/go-ethereum v1.13.10 // indirect
73-
github.com/ethereum/go-verkle v0.1.1-0.20240306133620-7d920df305f0 // indirect
77+
github.com/ethereum/go-verkle v0.2.2 // indirect
7478
github.com/fatih/structtag v1.2.0 // indirect
7579
github.com/felixge/httpsnoop v1.0.4 // indirect
7680
github.com/fsnotify/fsnotify v1.6.0 // indirect
7781
github.com/fxamacker/cbor/v2 v2.8.1-0.20250402194037-6f932b086829 // indirect
7882
github.com/fxamacker/circlehash v0.3.0 // indirect
79-
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect
8083
github.com/getsentry/sentry-go v0.27.0 // indirect
8184
github.com/glebarez/go-sqlite v1.22.0 // indirect
8285
github.com/go-kit/kit v0.12.0 // indirect
@@ -88,15 +91,14 @@ require (
8891
github.com/go-redis/redis/v8 v8.11.5 // indirect
8992
github.com/gofrs/flock v0.8.1 // indirect
9093
github.com/gogo/protobuf v1.3.2 // indirect
91-
github.com/golang/glog v1.2.2 // indirect
92-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
94+
github.com/golang/glog v1.2.4 // indirect
9395
github.com/golang/protobuf v1.5.4 // indirect
9496
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
95-
github.com/google/go-cmp v0.6.0 // indirect
96-
github.com/google/s2a-go v0.1.7 // indirect
97+
github.com/google/go-cmp v0.7.0 // indirect
98+
github.com/google/s2a-go v0.1.9 // indirect
9799
github.com/google/uuid v1.6.0 // indirect
98-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
99-
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
100+
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
101+
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
100102
github.com/gorilla/websocket v1.5.3 // indirect
101103
github.com/gosuri/uilive v0.0.4 // indirect
102104
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
@@ -107,7 +109,7 @@ require (
107109
github.com/hexops/gotextdiff v1.0.3 // indirect
108110
github.com/hexops/valast v1.4.4 // indirect
109111
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
110-
github.com/holiman/uint256 v1.3.1 // indirect
112+
github.com/holiman/uint256 v1.3.2 // indirect
111113
github.com/huandu/go-clone v1.6.0 // indirect
112114
github.com/huandu/go-clone/generic v1.7.2 // indirect
113115
github.com/huin/goupnp v1.3.0 // indirect
@@ -160,22 +162,27 @@ require (
160162
github.com/nightlyone/lockfile v1.0.0 // indirect
161163
github.com/olekukonko/tablewriter v0.0.5 // indirect
162164
github.com/onflow/atree v0.10.0 // indirect
163-
github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 // indirect
164-
github.com/onflow/crypto v0.25.2 // indirect
165-
github.com/onflow/flow-core-contracts/lib/go/contracts v1.6.0 // indirect
166-
github.com/onflow/flow-core-contracts/lib/go/templates v1.6.0 // indirect
165+
github.com/onflow/crypto v0.25.3 // indirect
166+
github.com/onflow/flow-core-contracts/lib/go/contracts v1.6.1 // indirect
167+
github.com/onflow/flow-core-contracts/lib/go/templates v1.6.1 // indirect
168+
github.com/onflow/flow-evm-bridge v0.1.0 // indirect
167169
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 // indirect
168170
github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect
169-
github.com/onflow/flow-nft/lib/go/contracts v1.2.3 // indirect
171+
github.com/onflow/flow-nft/lib/go/contracts v1.2.4 // indirect
170172
github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect
171173
github.com/onflow/flow/protobuf/go/flow v0.4.10 // indirect
172-
github.com/onflow/go-ethereum v1.14.7 // indirect
174+
github.com/onflow/go-ethereum v1.15.10 // indirect
173175
github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect
174176
github.com/onflow/sdks v0.6.0-preview.1 // indirect
175177
github.com/onflow/wal v1.0.2 // indirect
176178
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
177179
github.com/pelletier/go-toml/v2 v2.2.1 // indirect
178180
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
181+
github.com/pion/dtls/v2 v2.2.12 // indirect
182+
github.com/pion/logging v0.2.2 // indirect
183+
github.com/pion/stun/v2 v2.0.0 // indirect
184+
github.com/pion/transport/v2 v2.2.10 // indirect
185+
github.com/pion/transport/v3 v3.0.7 // indirect
179186
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
180187
github.com/prometheus/client_golang v1.20.5 // indirect
181188
github.com/prometheus/client_model v0.6.1 // indirect
@@ -191,59 +198,58 @@ require (
191198
github.com/slok/go-http-metrics v0.12.0 // indirect
192199
github.com/spaolacci/murmur3 v1.1.0 // indirect
193200
github.com/spf13/cast v1.5.0 // indirect
194-
github.com/spf13/cobra v1.8.0 // indirect
201+
github.com/spf13/cobra v1.8.1 // indirect
195202
github.com/spf13/jwalterweatherman v1.1.0 // indirect
196203
github.com/spf13/pflag v1.0.5 // indirect
197204
github.com/spf13/viper v1.15.0 // indirect
198-
github.com/status-im/keycard-go v0.2.0 // indirect
199205
github.com/stoewer/go-strcase v1.3.0 // indirect
200206
github.com/stretchr/objx v0.5.2 // indirect
201207
github.com/subosito/gotenv v1.4.2 // indirect
202-
github.com/supranational/blst v0.3.11 // indirect
208+
github.com/supranational/blst v0.3.14 // indirect
203209
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
204210
github.com/texttheater/golang-levenshtein/levenshtein v0.0.0-20200805054039-cae8b0eaed6c // indirect
205211
github.com/tklauser/go-sysconf v0.3.12 // indirect
206212
github.com/tklauser/numcpus v0.6.1 // indirect
207213
github.com/turbolent/prettier v0.0.0-20220320183459-661cc755135d // indirect
208214
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
209-
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
210215
github.com/vmihailenco/msgpack/v4 v4.3.11 // indirect
211216
github.com/vmihailenco/tagparser v0.1.1 // indirect
217+
github.com/wlynxg/anet v0.0.5 // indirect
212218
github.com/x448/float16 v0.8.4 // indirect
213219
github.com/zeebo/blake3 v0.2.4 // indirect
214-
go.opencensus.io v0.24.0 // indirect
215-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
216-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect
217-
go.opentelemetry.io/otel v1.31.0 // indirect
220+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
221+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
222+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
223+
go.opentelemetry.io/otel v1.35.0 // indirect
218224
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect
219225
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 // indirect
220-
go.opentelemetry.io/otel/metric v1.31.0 // indirect
221-
go.opentelemetry.io/otel/sdk v1.31.0 // indirect
222-
go.opentelemetry.io/otel/trace v1.31.0 // indirect
226+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
227+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
228+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
223229
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
224230
go.uber.org/atomic v1.11.0 // indirect
225231
go.uber.org/multierr v1.11.0 // indirect
226232
go.uber.org/zap v1.27.0 // indirect
227-
golang.org/x/crypto v0.31.0 // indirect
228-
golang.org/x/mod v0.22.0 // indirect
229-
golang.org/x/net v0.33.0 // indirect
230-
golang.org/x/oauth2 v0.24.0 // indirect
231-
golang.org/x/sync v0.10.0 // indirect
232-
golang.org/x/sys v0.28.0 // indirect
233-
golang.org/x/text v0.21.0 // indirect
234-
golang.org/x/time v0.5.0 // indirect
235-
golang.org/x/tools v0.28.0 // indirect
233+
golang.org/x/crypto v0.37.0 // indirect
234+
golang.org/x/mod v0.24.0 // indirect
235+
golang.org/x/net v0.39.0 // indirect
236+
golang.org/x/oauth2 v0.30.0 // indirect
237+
golang.org/x/sync v0.14.0 // indirect
238+
golang.org/x/sys v0.32.0 // indirect
239+
golang.org/x/text v0.24.0 // indirect
240+
golang.org/x/time v0.11.0 // indirect
241+
golang.org/x/tools v0.32.0 // indirect
236242
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
237-
gonum.org/v1/gonum v0.15.0 // indirect
238-
google.golang.org/api v0.169.0 // indirect
243+
gonum.org/v1/gonum v0.16.0 // indirect
244+
google.golang.org/api v0.232.0 // indirect
239245
google.golang.org/appengine v1.6.8 // indirect
240-
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
241-
google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 // indirect
242-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect
243-
google.golang.org/protobuf v1.36.0 // indirect
246+
google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb // indirect
247+
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e // indirect
248+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250428153025-10db94c68c34 // indirect
249+
google.golang.org/protobuf v1.36.6 // indirect
244250
gopkg.in/ini.v1 v1.67.0 // indirect
245251
gopkg.in/yaml.v3 v3.0.1 // indirect
246-
lukechampine.com/blake3 v1.4.0 // indirect
252+
lukechampine.com/blake3 v1.4.1 // indirect
247253
modernc.org/libc v1.37.6 // indirect
248254
modernc.org/mathutil v1.6.0 // indirect
249255
modernc.org/memory v1.7.2 // indirect

0 commit comments

Comments
 (0)