Skip to content

Commit 6025d8b

Browse files
warittornccolmazia
andauthored
[Grogu] Refactor (#162)
* refactor * fix * minor logic changes * fix logic * fixed bugs * fix * fix * fix * add logging * tidy * fix channel size bug * fix client issue * fix array issue * add header * fix * fix bugs * fix ch size * fix parse bug * fix error * add chain-id * fix * fix * add graceful shutdown * cleanup * add checks and fix * add check * fix getTxResponse * fix getTxResponse * fix * format * fix * checkpoint * checkpoint * checkpoint * update * fix lint * fix bugs * fix potential bug * change default value for broadcast timeout to 1 min * fix comment * skip if failed to query valid validator * fix from comments * refactor signaller * fix from comments * fix from comments * fix comments for time buffer --------- Co-authored-by: colmazia <[email protected]>
1 parent b45ba96 commit 6025d8b

File tree

23 files changed

+1507
-1244
lines changed

23 files changed

+1507
-1244
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ require (
3333
github.com/spf13/viper v1.18.2
3434
github.com/stretchr/testify v1.9.0
3535
go.uber.org/mock v0.4.0
36-
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
3736
google.golang.org/genproto/googleapis/api v0.0.0-20240506185236-b8a5c65736ae
3837
google.golang.org/grpc v1.63.2
3938
google.golang.org/protobuf v1.34.1
@@ -182,6 +181,7 @@ require (
182181
go.opentelemetry.io/otel/trace v1.22.0 // indirect
183182
go.uber.org/multierr v1.11.0 // indirect
184183
golang.org/x/crypto v0.21.0 // indirect
184+
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
185185
golang.org/x/net v0.23.0 // indirect
186186
golang.org/x/oauth2 v0.17.0 // indirect
187187
golang.org/x/sync v0.6.0 // indirect

grogu/cmd/config.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import (
66
)
77

88
func ConfigCmd() *cobra.Command {
9-
cmd := &cobra.Command{
9+
return &cobra.Command{
1010
Use: "config [key] [value]",
1111
Aliases: []string{"c"},
12-
Short: "Set grogu configuration environment",
12+
Short: "Set Grogu's configuration environment",
1313
Args: cobra.ExactArgs(2),
1414
RunE: func(cmd *cobra.Command, args []string) error {
1515
viper.Set(args[0], args[1])
1616
return viper.WriteConfig()
1717
},
1818
}
19-
return cmd
2019
}

0 commit comments

Comments
 (0)