Skip to content

Commit

Permalink
Merge pull request #3885 from TrueBlocks/feature/update-gomods
Browse files Browse the repository at this point in the history
Updates go.mods to latest release
  • Loading branch information
tjayrush authored Sep 14, 2024
2 parents e08cb6e + d531232 commit 28c5cef
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docs
Submodule docs updated 1 files
+1 −1 content/sdks/go.md
2 changes: 1 addition & 1 deletion node
Submodule node updated 2 files
+2 −2 go.mod
+4 −4 go.sum
16 changes: 9 additions & 7 deletions scripts/go-show-trueblocks.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/usr/bin/env bash

# This script lists all uses of either chifra or the sdk in the go.mod files. Used for debugging.
find . -type f -name 'go.mod' -exec grep -His "TrueBlocks" {} ';' | \
grep "2024" | \
cut -f2 -d: | \
sed 's/ \/\/ indirect//' | \
sed 's/require //' | \
tr '\t' '|' | sed 's/|//' | sed 's/^/ /' | \
sort -u
find . -type f -name "go.mod" -exec grep -His TrueBlocks {} ';' | \
grep -v module | \
sed 's/ \/\/ indirect//' | \
sed 's/require //' | \
grep -v replace | \
tr '\t' '|' | \
sed 's/|//' | \
cut -f2 -d: | \
sort -u
2 changes: 1 addition & 1 deletion scripts/go-work-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ find . -type f -name 'go.mod' | while read -r modfile; do
fi

if ! $isSdk && ! $isChifra && ! $isGoMaker; then
go get github.com/TrueBlocks/trueblocks-core/sdk/v3@latest
go get github.com/TrueBlocks/trueblocks-sdk/v3@latest
fi
if ! $isSimple && ! $isChifra; then
go get github.com/TrueBlocks/trueblocks-core/src/apps/chifra@latest
Expand Down
2 changes: 1 addition & 1 deletion sdk
Submodule sdk updated 2 files
+1 −1 go.mod
+2 −2 go.sum
2 changes: 1 addition & 1 deletion src/dev_tools/goMaker/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module github.com/TrueBlocks/trueblocks-core/goMaker
go 1.22

require (
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de
github.com/gocarina/gocsv v0.0.0-20230123225133-763e25b40669
golang.org/x/text v0.16.0
)
Expand Down
4 changes: 2 additions & 2 deletions src/dev_tools/goMaker/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466 h1:DNH7mYWEEehKLRiFjBoiMoZJMdpuVNiLnFvsstQW2To=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de h1:9OmsWEdGlHfhSMeBMtSSbSz61IZm9CxoTedXI2oQocc=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
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/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k=
Expand Down
4 changes: 2 additions & 2 deletions src/dev_tools/sdkFuzzer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/sdkFuzzer
go 1.22

require (
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions src/dev_tools/sdkFuzzer/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
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-20240901212707-3b0228642466 h1:DNH7mYWEEehKLRiFjBoiMoZJMdpuVNiLnFvsstQW2To=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2 h1:SVemhtXxeYuOV/dQlQ/ECr66RiIPBS38rZ+WCqrXDSQ=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2/go.mod h1:GFP6A7O1tNgun1f/CrrhJkro9cbqu5t1prt5aboKqJU=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de h1:9OmsWEdGlHfhSMeBMtSSbSz61IZm9CxoTedXI2oQocc=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0 h1:lKnvOxsFdWvrNOEOY2Qin9QQWv+3vpKIROhitl8+1lo=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0/go.mod h1:GFP6A7O1tNgun1f/CrrhJkro9cbqu5t1prt5aboKqJU=
github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw=
github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40=
github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o=
Expand Down
4 changes: 2 additions & 2 deletions src/dev_tools/testRunner/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ go 1.22
replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk

require (
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions src/dev_tools/testRunner/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
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-20240901212707-3b0228642466 h1:DNH7mYWEEehKLRiFjBoiMoZJMdpuVNiLnFvsstQW2To=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240901212707-3b0228642466/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2 h1:SVemhtXxeYuOV/dQlQ/ECr66RiIPBS38rZ+WCqrXDSQ=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.3.2/go.mod h1:GFP6A7O1tNgun1f/CrrhJkro9cbqu5t1prt5aboKqJU=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de h1:9OmsWEdGlHfhSMeBMtSSbSz61IZm9CxoTedXI2oQocc=
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240914021502-857c9b6f37de/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0 h1:lKnvOxsFdWvrNOEOY2Qin9QQWv+3vpKIROhitl8+1lo=
github.com/TrueBlocks/trueblocks-sdk/v3 v3.4.0/go.mod h1:GFP6A7O1tNgun1f/CrrhJkro9cbqu5t1prt5aboKqJU=
github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw=
github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40=
github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o=
Expand Down

0 comments on commit 28c5cef

Please sign in to comment.