Skip to content

Commit

Permalink
Merge pull request #3492 from TrueBlocks/fix/change-transaction-hotkey
Browse files Browse the repository at this point in the history
Changes hotkey for previously unused chifra transactions source to S
  • Loading branch information
tjayrush authored Feb 5, 2024
2 parents c501316 + dd0d0d7 commit 985a456
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/apps/chifra/cmd/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ One of [ from | to ]`)
transactionsCmd.Flags().StringSliceVarP(&transactionsPkg.GetOptions().Emitter, "emitter", "m", nil, "for the --logs option only, filter logs to show only those logs emitted by the given address(es)")
transactionsCmd.Flags().StringSliceVarP(&transactionsPkg.GetOptions().Topic, "topic", "B", nil, "for the --logs option only, filter logs to show only those with this topic(s)")
transactionsCmd.Flags().BoolVarP(&transactionsPkg.GetOptions().CacheTraces, "cache_traces", "", false, "force the transaction's traces into the cache (hidden)")
transactionsCmd.Flags().BoolVarP(&transactionsPkg.GetOptions().Seed, "seed", "s", false, "find the source of the funds sent to the receiver (hidden)")
transactionsCmd.Flags().BoolVarP(&transactionsPkg.GetOptions().Seed, "seed", "S", false, "find the source of the funds sent to the receiver (hidden)")
if os.Getenv("TEST_MODE") != "true" {
transactionsCmd.Flags().MarkHidden("cache_traces")
transactionsCmd.Flags().MarkHidden("seed")
Expand Down
2 changes: 1 addition & 1 deletion src/cmd-line-options.csv
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ num,group,tags,api_route,tool,longName,hotKey,def_val,is_required,is_customizabl
13613,tools,ChainData,transactions,getTrans,emitter,m,,false,false,true,true,gocmd,flag,list<addr>,for the --logs option only&#44; filter logs to show only those logs emitted by the given address(es)
13615,tools,ChainData,transactions,getTrans,topic,B,,false,false,true,true,gocmd,flag,list<topic>,for the --logs option only&#44; filter logs to show only those with this topic(s)
13629,tools,ChainData,transactions,getTrans,cache_traces,,,false,false,false,false,gocmd,switch,<boolean>,force the transaction's traces into the cache
13622,tools,ChainData,transactions,getTrans,seed,s,,false,false,false,false,gocmd,switch,<boolean>,find the source of the funds sent to the receiver
13622,tools,ChainData,transactions,getTrans,seed,S,,false,false,false,false,gocmd,switch,<boolean>,find the source of the funds sent to the receiver
13623,tools,ChainData,transactions,getTrans,,,,false,false,true,true,--,description,,Retrieve one or more transactions from the chain or local cache.
13624,tools,ChainData,transactions,getTrans,n1,,,false,false,false,false,--,note,,The `transactions` list may be one or more transaction hashes&#44; blockNumber.transactionID pairs&#44; or a blockHash.transactionID pairs.
13626,tools,ChainData,transactions,getTrans,n2,,,false,false,false,false,--,note,,This tool checks for valid input syntax&#44; but does not check that the transaction requested actually exists.
Expand Down
2 changes: 1 addition & 1 deletion test/gold/apps/chifra/chifra_help_transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_bad_hash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_by_file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_by_file_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_by_file_v.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_cache_and_decache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_caps_allowed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_caps_disallowed_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_caps_disallowed_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_deprecate_trace_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_flow_error_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_flow_error_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_fmt_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_fmt_junk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_help_long.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_invalid_option_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_invalid_option_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_invalid_param_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_invalid_param_2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_invalid_param_3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_logs_fail1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_logs_fail2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_no_input.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
2 changes: 1 addition & 1 deletion test/gold/tools/getTrans/getTrans_no_tracing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Flags:
-m, --emitter strings for the --logs option only, filter logs to show only those logs emitted by the given address(es)
-B, --topic strings for the --logs option only, filter logs to show only those with this topic(s)
--cache_traces force the transaction's traces into the cache (hidden)
-s, --seed find the source of the funds sent to the receiver (hidden)
-S, --seed find the source of the funds sent to the receiver (hidden)
-H, --ether specify value in ether
-w, --raw report JSON data from the source with minimal processing
-o, --cache force the results of the query into the cache
Expand Down
Loading

0 comments on commit 985a456

Please sign in to comment.