Fix lint errors
All checks were successful
Protobuf / lint (pull_request) Successful in 19s
Build / build (pull_request) Successful in 2m6s
E2E Tests / test-e2e (pull_request) Successful in 3m10s
Integration Tests / test-integration (pull_request) Successful in 1m50s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m23s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 12m56s
Unit Tests / test-unit (pull_request) Successful in 1m46s
SDK Tests / sdk_tests (pull_request) Successful in 8m20s
All checks were successful
Protobuf / lint (pull_request) Successful in 19s
Build / build (pull_request) Successful in 2m6s
E2E Tests / test-e2e (pull_request) Successful in 3m10s
Integration Tests / test-integration (pull_request) Successful in 1m50s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m23s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 12m56s
Unit Tests / test-unit (pull_request) Successful in 1m46s
SDK Tests / sdk_tests (pull_request) Successful in 8m20s
This commit is contained in:
parent
959e0a4bc3
commit
5de4ae5d3e
@ -226,12 +226,18 @@ func (app *LaconicApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddr
|
|||||||
/* Handle slashing state. */
|
/* Handle slashing state. */
|
||||||
|
|
||||||
// reset start height on signing infos
|
// reset start height on signing infos
|
||||||
app.SlashingKeeper.IterateValidatorSigningInfos(
|
err = app.SlashingKeeper.IterateValidatorSigningInfos(
|
||||||
ctx,
|
ctx,
|
||||||
func(addr sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) (stop bool) {
|
func(addr sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) (stop bool) {
|
||||||
info.StartHeight = 0
|
info.StartHeight = 0
|
||||||
app.SlashingKeeper.SetValidatorSigningInfo(ctx, addr, info)
|
err = app.SlashingKeeper.SetValidatorSigningInfo(ctx, addr, info)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,12 @@ func (q queryResolver) GetParticipantByAddress(ctx context.Context, address stri
|
|||||||
|
|
||||||
func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAddress string) (*Participant, error) {
|
func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAddress string) (*Participant, error) {
|
||||||
onboardingQueryClient := onboardingTypes.NewQueryClient(q.ctx)
|
onboardingQueryClient := onboardingTypes.NewQueryClient(q.ctx)
|
||||||
participantResp, err := onboardingQueryClient.GetParticipantByNitroAddress(ctx, &onboardingTypes.QueryGetParticipantByNitroAddressRequest{NitroAddress: nitroAddress})
|
participantResp, err := onboardingQueryClient.GetParticipantByNitroAddress(
|
||||||
|
ctx,
|
||||||
|
&onboardingTypes.QueryGetParticipantByNitroAddressRequest{
|
||||||
|
NitroAddress: nitroAddress,
|
||||||
|
},
|
||||||
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -209,7 +209,6 @@ message MsgReassociateRecords {
|
|||||||
// MsgReassociateRecordsResponse
|
// MsgReassociateRecordsResponse
|
||||||
message MsgReassociateRecordsResponse {}
|
message MsgReassociateRecordsResponse {}
|
||||||
|
|
||||||
|
|
||||||
// MsgUpdateParams is the Msg/UpdateParams request type.
|
// MsgUpdateParams is the Msg/UpdateParams request type.
|
||||||
message MsgUpdateParams {
|
message MsgUpdateParams {
|
||||||
option (cosmos.msg.v1.signer) = "authority";
|
option (cosmos.msg.v1.signer) = "authority";
|
||||||
|
Loading…
Reference in New Issue
Block a user