Skip to content

Commit 13e4c9c

Browse files
committed
move OwasmCache flag
1 parent 09aef76 commit 13e4c9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/bandd/cmd/root.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
9696
txCommand(),
9797
keys.Commands(band.DefaultNodeHome),
9898
)
99-
100-
rootCmd.PersistentFlags().Uint32(flagWithOwasmCacheSize, 100, "[Experimental] Number of oracle scripts to cache")
10199
}
102100
func addModuleInitFlags(startCmd *cobra.Command) {
103101
crisis.AddModuleInitFlags(startCmd)
102+
startCmd.Flags().Uint32(flagWithOwasmCacheSize, 100, "[Experimental] Number of oracle scripts to cache")
104103
startCmd.Flags().Bool(flagDisableFeelessReports, false, "Disable feeless reports during congestion")
105104
}
106105

0 commit comments

Comments
 (0)