Skip to content

Commit

Permalink
add comments for nosec warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Nov 14, 2023
1 parent a9c0414 commit a5c8fb2
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions x/crosschain/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,11 @@ func KeyPrefix(p string) []byte {
}

const (
TxinKey = "Txin-value-"
TxinVoterKey = "TxinVoter-value-"

TxoutKey = "Txout-value-"
TxoutCountKey = "Txout-count-"
TxoutConfirmationKey = "TxoutConfirmation-value-"
SendKey = "Send-value-"
VoteCounterKey = "VoteCounter-value-"
ReceiveKey = "Receive-value-"
LastBlockHeightKey = "LastBlockHeight-value-"
ChainNoncesKey = "ChainNonces-value-"
GasPriceKey = "GasPrice-value-"

GasBalanceKey = "GasBalance-value-"
SendKey = "Send-value-"
LastBlockHeightKey = "LastBlockHeight-value-"
ChainNoncesKey = "ChainNonces-value-"
GasPriceKey = "GasPrice-value-"

TSSKey = "TSS-value-"
TSSHistoryKey = "TSS-History-value-"

Expand All @@ -58,7 +49,9 @@ const (

NonceToCctxKeyPrefix = "NonceToCctx-value-"
PendingNoncesKeyPrefix = "PendingNonces-value-"
AbortedZetaAmountKey = "AbortedZetaAmount-value-"
// #nosec G101: Potential hardcoded credentials (gosec)
// AbortedZetaAmountKey value is used as prefix for storing AbortedZetaAmountKey
AbortedZetaAmountKey = "AbortedZetaAmount-value-"
)

// OutTxTrackerKey returns the store key to retrieve a OutTxTracker from the index fields
Expand Down

0 comments on commit a5c8fb2

Please sign in to comment.