Fix onboarding disabled error msg
Some checks failed
Build / build (pull_request) Successful in 2m24s
E2E Tests / test-e2e (pull_request) Successful in 3m8s
Integration Tests / test-integration (pull_request) Successful in 1m47s
Unit Tests / test-unit (pull_request) Successful in 1m58s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m19s
SDK Tests / sdk_tests (pull_request) Failing after 8m58s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m36s
Some checks failed
Build / build (pull_request) Successful in 2m24s
E2E Tests / test-e2e (pull_request) Successful in 3m8s
Integration Tests / test-integration (pull_request) Successful in 1m47s
Unit Tests / test-unit (pull_request) Successful in 1m58s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m19s
SDK Tests / sdk_tests (pull_request) Failing after 8m58s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m36s
This commit is contained in:
parent
58ac8c4030
commit
17745e70d5
@ -62,7 +62,7 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$ONBOARDING_ENABLED" == "true" ]]; then
|
if [[ "$ONBOARDING_ENABLED" == "true" ]]; then
|
||||||
echo "Enabling validator onboarding."
|
echo "Enabling onboarding."
|
||||||
|
|
||||||
update_genesis '.app_state["onboarding"]["params"]["onboarding_enabled"]=true'
|
update_genesis '.app_state["onboarding"]["params"]["onboarding_enabled"]=true'
|
||||||
fi
|
fi
|
||||||
|
@ -80,7 +80,7 @@ func (k Keeper) OnboardParticipant(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !params.OnboardingEnabled {
|
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)
|
message, err := json.Marshal(msg.EthPayload)
|
||||||
|
Loading…
Reference in New Issue
Block a user