Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ for filePathRegistryFP in ${FP_CHANGED_FILES}; do
moniker=$(cat "$filePathRegistryFP" | jq -r '.description.moniker')
echo "fp moniker:" $moniker
if [ ${#moniker} -lt 3 ]; then
echo $moniker "has less than 3 characteres"
echo $moniker "has less than 3 characters"
exit 1
fi

securityContact=$(cat "$filePathRegistryFP" | jq -r '.description.security_contact')
echo "fp security_contact:" $securityContact
if [ ${#securityContact} -lt 4 ]; then
echo $securityContact "has less than 4 characteres"
echo $securityContact "has less than 4 characters"
exit 1
fi

Expand Down Expand Up @@ -75,4 +75,4 @@ for filePathRegistryFP in ${FP_CHANGED_FILES}; do
echo "stakercli check transaction"
FP_BTC_PK=$btcPk SIGNED_TX=$signedTx STAKERCLI_BIN=$STAKERCLI_BIN $CWD/fp-check-tx.sh
echo "✅ '${nickname}' is a valid fp offchain-registration"
done
done
2 changes: 1 addition & 1 deletion parameters/parser/ParamsParser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func TestFailGlobalParamsValidation(t *testing.T) {
_, err = parser.NewParsedGlobalParamsFromFile(fileName)
assert.Equal(t, "invalid params with version 0: covenant quorum 6 cannot be more than the amount of covenants 5", err.Error())

// test invalid convenant pks
// test invalid covenant pks
deepCopy(&defaultGlobalParams, &clonedParams)
clonedParams.Versions[0].CovenantPks = []string{
"04ffeaec52a9b407b355ef6967a7ffc15fd6c3fe07de2844d61550475e7a5233e5",
Expand Down