Skip to content

Commit 6c95771

Browse files
committed
updated to new flowkit and fixed tests and small changes
1 parent 89a2a12 commit 6c95771

File tree

5 files changed

+225
-233
lines changed

5 files changed

+225
-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:9
36+
//👌 Tx:arguments fee:0.00001000 gas:8
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:17
58+
//👌 Tx: fee:0.00001000 gas:14
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:17
84+
//👌 Tx: fee:0.00001000 gas:14
8585
//=== Events ===
8686
//A.f8d6e0586b0a20c7.Debug.Log
8787
// msg -> acct:0xf3fcd2c1a78f5eee

go.mod

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

3-
go 1.23.7
4-
5-
toolchain go1.24.4
3+
go 1.25.0
64

75
require (
86
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
9-
github.com/bjartek/underflow v1.14.0
7+
github.com/bjartek/underflow v1.15.0
108
github.com/enescakir/emoji v1.0.0
119
github.com/fatih/color v1.17.0
1210
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0
1311
github.com/hashicorp/go-multierror v1.1.1
1412
github.com/hexops/autogold v1.3.1
15-
github.com/onflow/cadence v1.6.2
16-
github.com/onflow/flixkit-go/v2 v2.1.0
17-
github.com/onflow/flow-emulator v1.5.1
18-
github.com/onflow/flow-go v0.41.0-rc.1.0.20250618213905-cfbf84027792
19-
github.com/onflow/flow-go-sdk v1.6.1
20-
github.com/onflow/flowkit/v2 v2.4.2
13+
github.com/onflow/cadence v1.7.0
14+
github.com/onflow/flixkit-go/v2 v2.5.0
15+
github.com/onflow/flow-emulator v1.7.0
16+
github.com/onflow/flow-go v0.43.0-dev-pebble.1.0.20250910132853-12699a150fd9
17+
github.com/onflow/flow-go-sdk v1.8.1
18+
github.com/onflow/flowkit/v2 v2.5.0
2119
github.com/pkg/errors v0.9.1
2220
github.com/rs/zerolog v1.34.0
2321
github.com/sanity-io/litter v1.5.5
2422
github.com/spf13/afero v1.11.0
25-
github.com/stretchr/testify v1.10.0
23+
github.com/stretchr/testify v1.11.1
2624
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
2725
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67
28-
google.golang.org/grpc v1.73.0
26+
google.golang.org/grpc v1.75.0
2927
)
3028

3129
require (
3230
cloud.google.com/go v0.120.0 // indirect
33-
cloud.google.com/go/auth v0.16.1 // indirect
31+
cloud.google.com/go/auth v0.16.4 // indirect
3432
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
35-
cloud.google.com/go/compute/metadata v0.6.0 // indirect
33+
cloud.google.com/go/compute/metadata v0.8.0 // indirect
3634
cloud.google.com/go/iam v1.5.2 // indirect
3735
cloud.google.com/go/kms v1.22.0 // indirect
3836
cloud.google.com/go/longrunning v0.6.7 // indirect
39-
github.com/DataDog/zstd v1.5.2 // indirect
37+
github.com/DataDog/zstd v1.5.6-0.20230824185856-869dae002e5e // indirect
4038
github.com/FactomProject/basen v0.0.0-20150613233007-fe3947df716e // indirect
4139
github.com/FactomProject/btcutilecc v0.0.0-20130527213604-d3a63a5752ec // indirect
4240
github.com/Microsoft/go-winio v0.6.2 // indirect
4341
github.com/SaveTheRbtz/mph v0.1.1-0.20240117162131-4166ec7869bc // indirect
4442
github.com/StackExchange/wmi v1.2.1 // indirect
4543
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
4644
github.com/beorn7/perks v1.0.1 // indirect
47-
github.com/bits-and-blooms/bitset v1.17.0 // indirect
45+
github.com/bits-and-blooms/bitset v1.24.0 // indirect
4846
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
4947
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.3 // indirect
5048
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
5149
github.com/cespare/xxhash v1.1.0 // indirect
5250
github.com/cespare/xxhash/v2 v2.3.0 // indirect
51+
github.com/cockroachdb/crlib v0.0.0-20241015224233-894974b3ad94 // indirect
5352
github.com/cockroachdb/errors v1.11.3 // indirect
5453
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
5554
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
56-
github.com/cockroachdb/pebble v1.1.2 // indirect
55+
github.com/cockroachdb/pebble/v2 v2.0.6 // indirect
5756
github.com/cockroachdb/redact v1.1.5 // indirect
57+
github.com/cockroachdb/swiss v0.0.0-20250624142022-d6e517c1d961 // indirect
5858
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
59-
github.com/consensys/bavard v0.1.22 // indirect
60-
github.com/consensys/gnark-crypto v0.14.0 // indirect
59+
github.com/consensys/gnark-crypto v0.18.0 // indirect
6160
github.com/coreos/go-semver v0.3.0 // indirect
61+
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
6262
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
63-
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
6463
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6564
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
6665
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
@@ -72,11 +71,13 @@ require (
7271
github.com/docker/go-units v0.5.0 // indirect
7372
github.com/dustin/go-humanize v1.0.1 // indirect
7473
github.com/ef-ds/deque v1.0.4 // indirect
75-
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
76-
github.com/ethereum/go-ethereum v1.13.10 // indirect
74+
github.com/emicklei/dot v1.6.2 // indirect
75+
github.com/ethereum/c-kzg-4844/v2 v2.1.0 // indirect
76+
github.com/ethereum/go-ethereum v1.16.3 // indirect
7777
github.com/ethereum/go-verkle v0.2.2 // indirect
7878
github.com/fatih/structtag v1.2.0 // indirect
7979
github.com/felixge/httpsnoop v1.0.4 // indirect
80+
github.com/ferranbt/fastssz v0.1.4 // indirect
8081
github.com/fsnotify/fsnotify v1.6.0 // indirect
8182
github.com/fxamacker/cbor/v2 v2.8.1-0.20250402194037-6f932b086829 // indirect
8283
github.com/fxamacker/circlehash v0.3.0 // indirect
@@ -85,25 +86,24 @@ require (
8586
github.com/go-kit/kit v0.12.0 // indirect
8687
github.com/go-kit/log v0.2.1 // indirect
8788
github.com/go-logfmt/logfmt v0.6.0 // indirect
88-
github.com/go-logr/logr v1.4.2 // indirect
89+
github.com/go-logr/logr v1.4.3 // indirect
8990
github.com/go-logr/stdr v1.2.2 // indirect
9091
github.com/go-ole/go-ole v1.3.0 // indirect
9192
github.com/go-redis/redis/v8 v8.11.5 // indirect
92-
github.com/gofrs/flock v0.8.1 // indirect
93+
github.com/gofrs/flock v0.12.1 // indirect
9394
github.com/gogo/protobuf v1.3.2 // indirect
94-
github.com/golang/glog v1.2.4 // indirect
95+
github.com/golang/glog v1.2.5 // indirect
9596
github.com/golang/protobuf v1.5.4 // indirect
96-
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
97+
github.com/golang/snappy v0.0.5-0.20231225225746-43d5d4cd4e0e // indirect
9798
github.com/google/go-cmp v0.7.0 // indirect
9899
github.com/google/s2a-go v0.1.9 // indirect
99100
github.com/google/uuid v1.6.0 // indirect
100101
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
101-
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
102+
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
102103
github.com/gorilla/websocket v1.5.3 // indirect
103104
github.com/gosuri/uilive v0.0.4 // indirect
104105
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
105106
github.com/hashicorp/errwrap v1.1.0 // indirect
106-
github.com/hashicorp/golang-lru v1.0.2 // indirect
107107
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
108108
github.com/hashicorp/hcl v1.0.0 // indirect
109109
github.com/hexops/gotextdiff v1.0.3 // indirect
@@ -120,15 +120,15 @@ require (
120120
github.com/ipfs/boxo v0.17.1-0.20240131173518-89bceff34bf1 // indirect
121121
github.com/ipfs/go-block-format v0.2.0 // indirect
122122
github.com/ipfs/go-cid v0.4.1 // indirect
123-
github.com/ipfs/go-datastore v0.6.0 // indirect
123+
github.com/ipfs/go-datastore v0.8.2 // indirect
124124
github.com/ipfs/go-ipfs-util v0.0.3 // indirect
125125
github.com/ipfs/go-ipld-format v0.6.0 // indirect
126126
github.com/ipfs/go-log/v2 v2.5.1 // indirect
127127
github.com/ipfs/go-metrics-interface v0.0.1 // indirect
128128
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
129129
github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect
130-
github.com/jbenet/goprocess v0.1.4 // indirect
131-
github.com/k0kubun/pp v3.0.1+incompatible // indirect
130+
github.com/jordanschalm/lockctx v0.0.0-20250412215529-226f85c10956 // indirect
131+
github.com/k0kubun/pp/v3 v3.5.0 // indirect
132132
github.com/kevinburke/go-bindata v3.24.0+incompatible // indirect
133133
github.com/klauspost/compress v1.17.11 // indirect
134134
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
@@ -142,12 +142,12 @@ require (
142142
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
143143
github.com/logrusorgru/aurora/v4 v4.0.0 // indirect
144144
github.com/magiconair/properties v1.8.7 // indirect
145-
github.com/mattn/go-colorable v0.1.13 // indirect
145+
github.com/mattn/go-colorable v0.1.14 // indirect
146146
github.com/mattn/go-isatty v0.0.20 // indirect
147-
github.com/mattn/go-runewidth v0.0.15 // indirect
147+
github.com/mattn/go-runewidth v0.0.16 // indirect
148148
github.com/minio/sha256-simd v1.0.1 // indirect
149+
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
149150
github.com/mitchellh/mapstructure v1.5.0 // indirect
150-
github.com/mmcloughlin/addchain v0.4.0 // indirect
151151
github.com/mr-tron/base58 v1.2.0 // indirect
152152
github.com/multiformats/go-base32 v0.1.0 // indirect
153153
github.com/multiformats/go-base36 v0.2.0 // indirect
@@ -161,16 +161,17 @@ require (
161161
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
162162
github.com/nightlyone/lockfile v1.0.0 // indirect
163163
github.com/olekukonko/tablewriter v0.0.5 // indirect
164-
github.com/onflow/atree v0.10.0 // indirect
164+
github.com/onflow/atree v0.10.1 // indirect
165165
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
166+
github.com/onflow/fixed-point v0.1.1 // indirect
167+
github.com/onflow/flow-core-contracts/lib/go/contracts v1.7.4-0.20250905214304-819c6e946442 // indirect
168+
github.com/onflow/flow-core-contracts/lib/go/templates v1.7.2-0.20250905214304-819c6e946442 // indirect
168169
github.com/onflow/flow-evm-bridge v0.1.0 // indirect
169170
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 // indirect
170171
github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect
171172
github.com/onflow/flow-nft/lib/go/contracts v1.2.4 // indirect
172173
github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect
173-
github.com/onflow/flow/protobuf/go/flow v0.4.10 // indirect
174+
github.com/onflow/flow/protobuf/go/flow v0.4.12 // indirect
174175
github.com/onflow/go-ethereum v1.15.10 // indirect
175176
github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect
176177
github.com/onflow/sdks v0.6.0-preview.1 // indirect
@@ -191,16 +192,17 @@ require (
191192
github.com/psiemens/graceland v1.0.0 // indirect
192193
github.com/psiemens/sconfig v0.1.0 // indirect
193194
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
194-
github.com/rivo/uniseg v0.4.4 // indirect
195+
github.com/rivo/uniseg v0.4.7 // indirect
195196
github.com/rogpeppe/go-internal v1.13.1 // indirect
197+
github.com/schollz/progressbar/v3 v3.18.0 // indirect
196198
github.com/sethvargo/go-retry v0.2.3 // indirect
197199
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
198200
github.com/slok/go-http-metrics v0.12.0 // indirect
199201
github.com/spaolacci/murmur3 v1.1.0 // indirect
200202
github.com/spf13/cast v1.5.0 // indirect
201203
github.com/spf13/cobra v1.8.1 // indirect
202204
github.com/spf13/jwalterweatherman v1.1.0 // indirect
203-
github.com/spf13/pflag v1.0.5 // indirect
205+
github.com/spf13/pflag v1.0.6 // indirect
204206
github.com/spf13/viper v1.15.0 // indirect
205207
github.com/stoewer/go-strcase v1.3.0 // indirect
206208
github.com/stretchr/objx v0.5.2 // indirect
@@ -218,42 +220,43 @@ require (
218220
github.com/x448/float16 v0.8.4 // indirect
219221
github.com/zeebo/blake3 v0.2.4 // indirect
220222
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
223+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
224+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
225+
go.opentelemetry.io/otel v1.37.0 // indirect
224226
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect
225227
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc 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
228+
go.opentelemetry.io/otel/metric v1.37.0 // indirect
229+
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
230+
go.opentelemetry.io/otel/trace v1.37.0 // indirect
229231
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
230232
go.uber.org/atomic v1.11.0 // indirect
231233
go.uber.org/multierr v1.11.0 // indirect
232234
go.uber.org/zap v1.27.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
235+
golang.org/x/crypto v0.41.0 // indirect
236+
golang.org/x/mod v0.27.0 // indirect
237+
golang.org/x/net v0.43.0 // indirect
236238
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
239+
golang.org/x/sync v0.16.0 // indirect
240+
golang.org/x/sys v0.35.0 // indirect
241+
golang.org/x/term v0.34.0 // indirect
242+
golang.org/x/text v0.28.0 // indirect
243+
golang.org/x/time v0.12.0 // indirect
244+
golang.org/x/tools v0.36.0 // indirect
242245
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
243246
gonum.org/v1/gonum v0.16.0 // indirect
244-
google.golang.org/api v0.232.0 // indirect
247+
google.golang.org/api v0.247.0 // indirect
245248
google.golang.org/appengine v1.6.8 // indirect
246-
google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb // indirect
247-
google.golang.org/genproto/googleapis/api v0.0.0-20250505200425-f936aa4a68b2 // indirect
248-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250428153025-10db94c68c34 // indirect
249-
google.golang.org/protobuf v1.36.6 // indirect
249+
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
250+
google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
251+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
252+
google.golang.org/protobuf v1.36.7 // indirect
250253
gopkg.in/ini.v1 v1.67.0 // indirect
254+
gopkg.in/yaml.v2 v2.4.0 // indirect
251255
gopkg.in/yaml.v3 v3.0.1 // indirect
252256
lukechampine.com/blake3 v1.4.1 // indirect
253257
modernc.org/libc v1.37.6 // indirect
254258
modernc.org/mathutil v1.6.0 // indirect
255259
modernc.org/memory v1.7.2 // indirect
256260
modernc.org/sqlite v1.28.0 // indirect
257261
mvdan.cc/gofumpt v0.5.0 // indirect
258-
rsc.io/tmplfunc v0.0.3 // indirect
259262
)

0 commit comments

Comments
 (0)