diff --git a/CHANGES.md b/CHANGES.md index ef56c94779..8d01864ed3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ This file details changes made to TrueBlocks over time. All version prior to ver - Added `Scrape` and `ScrapeOnce` endpoints to the SDK. - Now reflects new `chifra state --call/--send/--calldata syntax. - Now reflects new `chifra config --dump` option. +- You should change all references in your code to use "github.com/TrueBlocks/trueblocks-sdk/v4" ## Changes to the Unchained Index Specification diff --git a/docs/content/sdks/go.md b/docs/content/sdks/go.md index 03d45caaac..5f89a85b48 100644 --- a/docs/content/sdks/go.md +++ b/docs/content/sdks/go.md @@ -13,4 +13,4 @@ toc: true The GoLang SDK is in alpha. -The best documentation is available [here](https://pkg.go.dev/github.com/TrueBlocks/trueblocks-sdk/v3). +The best documentation is available [here](https://pkg.go.dev/github.com/TrueBlocks/trueblocks-sdk). diff --git a/examples b/examples index 9627b6bec2..8fee4f95b4 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit 9627b6bec2902a289e1e0cd37b78ffd4f4050d21 +Subproject commit 8fee4f95b4497dc95232ad3fcc4bec91bef99959 diff --git a/node b/node index 3f8eed5f07..e2f4d52c5f 160000 --- a/node +++ b/node @@ -1 +1 @@ -Subproject commit 3f8eed5f074dcd5f38069089037333716a6a6fcb +Subproject commit e2f4d52c5f0694095802b01818fae95ddd9b3971 diff --git a/scripts/go-work-sync.sh b/scripts/go-work-sync.sh index 4280ba0a3d..4d08d4ca12 100755 --- a/scripts/go-work-sync.sh +++ b/scripts/go-work-sync.sh @@ -46,7 +46,7 @@ find . -type f -name 'go.mod' | while read -r modfile; do fi if ! $isSdk && ! $isChifra && ! $isGoMaker && ! $isFourbyte && ! $isIndexMan && ! $isKeystore; then - go get github.com/TrueBlocks/trueblocks-sdk/v3@latest + go get github.com/TrueBlocks/trueblocks-sdk/v4@latest fi if ! $isChifra; then diff --git a/sdk b/sdk index a0b464ae73..4f7b4a71b2 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit a0b464ae73cb45a37565092c6dcf2358c5b7074b +Subproject commit 4f7b4a71b23f51790adae10b823feada06e9c7ef diff --git a/src/apps/chifra/pkg/config/env_test.go b/src/apps/chifra/pkg/config/env_test.go index fff94b2bfb..fac769c764 100644 --- a/src/apps/chifra/pkg/config/env_test.go +++ b/src/apps/chifra/pkg/config/env_test.go @@ -43,10 +43,10 @@ func Test_setByPath(t *testing.T) { t.Fatal("wrong value", v) } - if err := setByPath(&result, []string{"CONFIG", "VERSION", "CURRENT"}, "v3.0.0-release"); err != nil { + if err := setByPath(&result, []string{"CONFIG", "VERSION", "CURRENT"}, "v4.0.0"); err != nil { t.Fatal(err) } - if v := result.Version.Current; v != "v3.0.0-release" { + if v := result.Version.Current; v != "v4.0.0" { t.Fatal("wrong value", v) } diff --git a/src/dev_tools/goMaker/go.mod b/src/dev_tools/goMaker/go.mod index 104dfb1490..de975da60f 100644 --- a/src/dev_tools/goMaker/go.mod +++ b/src/dev_tools/goMaker/go.mod @@ -4,7 +4,7 @@ module github.com/TrueBlocks/trueblocks-core/goMaker go 1.23 require ( - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 github.com/gocarina/gocsv v0.0.0-20230123225133-763e25b40669 golang.org/x/text v0.21.0 ) diff --git a/src/dev_tools/goMaker/go.sum b/src/dev_tools/goMaker/go.sum index d0cb8de894..bd2ae4496c 100644 --- a/src/dev_tools/goMaker/go.sum +++ b/src/dev_tools/goMaker/go.sum @@ -1,5 +1,5 @@ -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f h1:OB/4JVCnSegsr6SRLPX0L6/i0q8zN6dZvihZ8ZEdxxY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 h1:spNMT7A/TyzRf47LkFJ1a87A6anSqo3eNaELi6spqNk= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/bykof/gostradamus v1.0.4 h1:77iq/tANg5rZSxjoZ98zepZbv3VrotijEmlnH/WycD4= diff --git a/src/dev_tools/indexManager/go.mod b/src/dev_tools/indexManager/go.mod index 787a1ce4ff..0d2ac5d2da 100644 --- a/src/dev_tools/indexManager/go.mod +++ b/src/dev_tools/indexManager/go.mod @@ -5,7 +5,7 @@ go 1.23 replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk -require github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f +require github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 require ( github.com/ethereum/go-ethereum v1.14.12 // indirect diff --git a/src/dev_tools/indexManager/go.sum b/src/dev_tools/indexManager/go.sum index 178e3c1d92..5b05538aaf 100644 --- a/src/dev_tools/indexManager/go.sum +++ b/src/dev_tools/indexManager/go.sum @@ -1,5 +1,5 @@ -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f h1:OB/4JVCnSegsr6SRLPX0L6/i0q8zN6dZvihZ8ZEdxxY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 h1:spNMT7A/TyzRf47LkFJ1a87A6anSqo3eNaELi6spqNk= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/ethereum/go-ethereum v1.14.12 h1:8hl57x77HSUo+cXExrURjU/w1VhL+ShCTJrTwcCQSe4= github.com/ethereum/go-ethereum v1.14.12/go.mod h1:RAC2gVMWJ6FkxSPESfbshrcKpIokgQKsVKmAuqdekDY= diff --git a/src/dev_tools/sdkFuzzer/abis.go b/src/dev_tools/sdkFuzzer/abis.go index 491e0ace42..bbcdbb62d3 100644 --- a/src/dev_tools/sdkFuzzer/abis.go +++ b/src/dev_tools/sdkFuzzer/abis.go @@ -16,7 +16,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/blocks.go b/src/dev_tools/sdkFuzzer/blocks.go index d608ec0973..0a4d612eac 100644 --- a/src/dev_tools/sdkFuzzer/blocks.go +++ b/src/dev_tools/sdkFuzzer/blocks.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/chunks.go b/src/dev_tools/sdkFuzzer/chunks.go index 4b5706506f..915ba9af02 100644 --- a/src/dev_tools/sdkFuzzer/chunks.go +++ b/src/dev_tools/sdkFuzzer/chunks.go @@ -16,7 +16,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/config.go b/src/dev_tools/sdkFuzzer/config.go index 436375eb7d..87dd6dc173 100644 --- a/src/dev_tools/sdkFuzzer/config.go +++ b/src/dev_tools/sdkFuzzer/config.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/daemon.go b/src/dev_tools/sdkFuzzer/daemon.go index c08aff3143..7173c75a7c 100644 --- a/src/dev_tools/sdkFuzzer/daemon.go +++ b/src/dev_tools/sdkFuzzer/daemon.go @@ -12,7 +12,7 @@ import ( "strings" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/explore.go b/src/dev_tools/sdkFuzzer/explore.go index b02ff98567..5f3bedd9b6 100644 --- a/src/dev_tools/sdkFuzzer/explore.go +++ b/src/dev_tools/sdkFuzzer/explore.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/export.go b/src/dev_tools/sdkFuzzer/export.go index 77bbefa6a7..5d95caf2b3 100644 --- a/src/dev_tools/sdkFuzzer/export.go +++ b/src/dev_tools/sdkFuzzer/export.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/globals.go b/src/dev_tools/sdkFuzzer/globals.go index efef7bcf10..3c7b05e65f 100644 --- a/src/dev_tools/sdkFuzzer/globals.go +++ b/src/dev_tools/sdkFuzzer/globals.go @@ -8,7 +8,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/colors" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) var fuzzAddresses = []string{"0x054993ab0f2b1acc0fdc65405ee203b4271bebe6"} diff --git a/src/dev_tools/sdkFuzzer/go.mod b/src/dev_tools/sdkFuzzer/go.mod index 77d4f7021a..c84f2226fd 100644 --- a/src/dev_tools/sdkFuzzer/go.mod +++ b/src/dev_tools/sdkFuzzer/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/sdkFuzzer go 1.23 require ( - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f - github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0 + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 + github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb ) require ( diff --git a/src/dev_tools/sdkFuzzer/go.sum b/src/dev_tools/sdkFuzzer/go.sum index 6e233634dc..6224b9e1db 100644 --- a/src/dev_tools/sdkFuzzer/go.sum +++ b/src/dev_tools/sdkFuzzer/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f h1:OB/4JVCnSegsr6SRLPX0L6/i0q8zN6dZvihZ8ZEdxxY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= -github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0 h1:5ekcTuR1cPWcr4GSHO15p3QtycaZyo095vKbiw3wYB4= -github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0/go.mod h1:KgHs6YTCCbQwOrT15Z1Zhi6H0on/PIlFr6aP/ktzL1w= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 h1:spNMT7A/TyzRf47LkFJ1a87A6anSqo3eNaELi6spqNk= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= +github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb h1:sQQW+gFH0tHmYM+C4yuadzLsVnFtJUbqaFbGgoihMi8= +github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb/go.mod h1:Balp3Optm+9+vSQr14hFcw7c4akuAXx93WLhvRt5Srk= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.2 h1:N0y9ASrJ0F6h0QaC3o6uJb3NIZ9VKLjCM7NQbSmF7WI= github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkThDcMsQicp4xDukwJYI= diff --git a/src/dev_tools/sdkFuzzer/init.go b/src/dev_tools/sdkFuzzer/init.go index c7d9dcdfef..ffeacf3b1c 100644 --- a/src/dev_tools/sdkFuzzer/init.go +++ b/src/dev_tools/sdkFuzzer/init.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/list.go b/src/dev_tools/sdkFuzzer/list.go index e9d9d86e3f..0b3a1a4d8f 100644 --- a/src/dev_tools/sdkFuzzer/list.go +++ b/src/dev_tools/sdkFuzzer/list.go @@ -16,7 +16,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/logs.go b/src/dev_tools/sdkFuzzer/logs.go index ff651d4df9..cf87bc0693 100644 --- a/src/dev_tools/sdkFuzzer/logs.go +++ b/src/dev_tools/sdkFuzzer/logs.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/monitors.go b/src/dev_tools/sdkFuzzer/monitors.go index 34d0d3a622..9d339c1e94 100644 --- a/src/dev_tools/sdkFuzzer/monitors.go +++ b/src/dev_tools/sdkFuzzer/monitors.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/names.go b/src/dev_tools/sdkFuzzer/names.go index b7005b7598..d8df0acdf6 100644 --- a/src/dev_tools/sdkFuzzer/names.go +++ b/src/dev_tools/sdkFuzzer/names.go @@ -16,7 +16,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/receipts.go b/src/dev_tools/sdkFuzzer/receipts.go index e09181ee3f..4ad47708a5 100644 --- a/src/dev_tools/sdkFuzzer/receipts.go +++ b/src/dev_tools/sdkFuzzer/receipts.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/save.go b/src/dev_tools/sdkFuzzer/save.go index f47d77ed30..6d696d70b1 100644 --- a/src/dev_tools/sdkFuzzer/save.go +++ b/src/dev_tools/sdkFuzzer/save.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // SaveToFile writes the content of the slice to a file specified by fn. diff --git a/src/dev_tools/sdkFuzzer/slurp.go b/src/dev_tools/sdkFuzzer/slurp.go index d10287d737..a3a605343e 100644 --- a/src/dev_tools/sdkFuzzer/slurp.go +++ b/src/dev_tools/sdkFuzzer/slurp.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/state.go b/src/dev_tools/sdkFuzzer/state.go index c769b566a6..287c32157e 100644 --- a/src/dev_tools/sdkFuzzer/state.go +++ b/src/dev_tools/sdkFuzzer/state.go @@ -16,7 +16,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/status.go b/src/dev_tools/sdkFuzzer/status.go index d989d1d937..e2b3970ede 100644 --- a/src/dev_tools/sdkFuzzer/status.go +++ b/src/dev_tools/sdkFuzzer/status.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/tokens.go b/src/dev_tools/sdkFuzzer/tokens.go index 654e31bcfe..bfa66fbb75 100644 --- a/src/dev_tools/sdkFuzzer/tokens.go +++ b/src/dev_tools/sdkFuzzer/tokens.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/traces.go b/src/dev_tools/sdkFuzzer/traces.go index 9a4a080fe0..1099bf932f 100644 --- a/src/dev_tools/sdkFuzzer/traces.go +++ b/src/dev_tools/sdkFuzzer/traces.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/transactions.go b/src/dev_tools/sdkFuzzer/transactions.go index f582a52d11..f02cbff3e4 100644 --- a/src/dev_tools/sdkFuzzer/transactions.go +++ b/src/dev_tools/sdkFuzzer/transactions.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/sdkFuzzer/when.go b/src/dev_tools/sdkFuzzer/when.go index 770eb7775b..b8453ac412 100644 --- a/src/dev_tools/sdkFuzzer/when.go +++ b/src/dev_tools/sdkFuzzer/when.go @@ -15,7 +15,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // EXISTING_CODE diff --git a/src/dev_tools/testRunner/api_server.go b/src/dev_tools/testRunner/api_server.go index 999adbecbf..867f9ae871 100644 --- a/src/dev_tools/testRunner/api_server.go +++ b/src/dev_tools/testRunner/api_server.go @@ -8,7 +8,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/colors" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) var apiPort = "" diff --git a/src/dev_tools/testRunner/go.mod b/src/dev_tools/testRunner/go.mod index c47b14e26e..e69712f488 100644 --- a/src/dev_tools/testRunner/go.mod +++ b/src/dev_tools/testRunner/go.mod @@ -6,8 +6,8 @@ go 1.23 replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk require ( - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f - github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0 + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 + github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb ) require ( diff --git a/src/dev_tools/testRunner/go.sum b/src/dev_tools/testRunner/go.sum index 6e233634dc..6224b9e1db 100644 --- a/src/dev_tools/testRunner/go.sum +++ b/src/dev_tools/testRunner/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f h1:OB/4JVCnSegsr6SRLPX0L6/i0q8zN6dZvihZ8ZEdxxY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217061115-4a93860d585f/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= -github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0 h1:5ekcTuR1cPWcr4GSHO15p3QtycaZyo095vKbiw3wYB4= -github.com/TrueBlocks/trueblocks-sdk/v3 v3.9.0/go.mod h1:KgHs6YTCCbQwOrT15Z1Zhi6H0on/PIlFr6aP/ktzL1w= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165 h1:spNMT7A/TyzRf47LkFJ1a87A6anSqo3eNaELi6spqNk= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241217071120-d3055faab165/go.mod h1:ETpBauf/NX6mlhJYeMu+Md9HTBHZ/mny1qu4rh4km1s= +github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb h1:sQQW+gFH0tHmYM+C4yuadzLsVnFtJUbqaFbGgoihMi8= +github.com/TrueBlocks/trueblocks-sdk/v4 v4.0.0-20241217065958-a0b464ae73cb/go.mod h1:Balp3Optm+9+vSQr14hFcw7c4akuAXx93WLhvRt5Srk= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.2 h1:N0y9ASrJ0F6h0QaC3o6uJb3NIZ9VKLjCM7NQbSmF7WI= github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkThDcMsQicp4xDukwJYI= diff --git a/src/dev_tools/testRunner/prepare.go b/src/dev_tools/testRunner/prepare.go index c064ac8e87..f0e0f3b92c 100644 --- a/src/dev_tools/testRunner/prepare.go +++ b/src/dev_tools/testRunner/prepare.go @@ -5,7 +5,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/colors" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) func downloadAbis() error { diff --git a/src/dev_tools/testRunner/run_sdk.go b/src/dev_tools/testRunner/run_sdk.go index d5d4b154c9..ddb98f8f90 100644 --- a/src/dev_tools/testRunner/run_sdk.go +++ b/src/dev_tools/testRunner/run_sdk.go @@ -6,7 +6,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/colors" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/logger" - sdk "github.com/TrueBlocks/trueblocks-sdk/v3" + sdk "github.com/TrueBlocks/trueblocks-sdk/v4" ) // SdkTest runs a test case through the SDK and returns the results in the provided bytes.Buffer