Fix onboarding disabled error msg
Some checks failed
Build / build (pull_request) Successful in 2m8s
E2E Tests / test-e2e (pull_request) Successful in 3m10s
Integration Tests / test-integration (pull_request) Successful in 1m51s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m4s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 12m30s
Unit Tests / test-unit (pull_request) Successful in 1m51s
SDK Tests / sdk_tests (pull_request) Failing after 9m23s

This commit is contained in:
Prathamesh Musale 2024-09-05 10:37:36 +05:30
parent 6611400258
commit 1e770d7178
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then
fi
if [[ "$ONBOARDING_ENABLED" == "true" ]]; then
echo "Enabling validator onboarding."
echo "Enabling onboarding."
update_genesis '.app_state["onboarding"]["params"]["onboarding_enabled"]=true'
fi

View File

@ -80,7 +80,7 @@ func (k Keeper) OnboardParticipant(
}
if !params.OnboardingEnabled {
return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "Validator onboarding is disabled")
return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "Onboarding is disabled")
}
message, err := json.Marshal(msg.EthPayload)