Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup v15 #950

Merged
merged 32 commits into from
Dec 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
cc5a1c2
undel host: rm protos, proto-gen
riley-stride Oct 11, 2023
7cbafdd
undel host: revert all logic
riley-stride Oct 11, 2023
c0b6b99
undel host: revert all logic, add back undelcb proto + proto-gen
riley-stride Oct 11, 2023
2742044
Merge branch 'cleanup_v15' of ssh://github.com/Stride-Labs/stride int…
riley-stride Oct 11, 2023
4c42dfe
undel host: re-add tx update delegation
riley-stride Oct 11, 2023
e8bad99
calibration: revert proto + protogen; re-add delegation protos from u…
riley-stride Oct 11, 2023
876b1e0
calibration: logic cleanup
riley-stride Oct 11, 2023
00f5f27
calibration: fix typo
riley-stride Oct 11, 2023
2541d18
Revert "calibration: fix typo"
riley-stride Oct 11, 2023
7f8e57e
Revert "calibration: logic cleanup"
riley-stride Oct 11, 2023
d897ace
Revert "calibration: revert proto + protogen; re-add delegation proto…
riley-stride Oct 11, 2023
753bdce
undel host: add back undelegatecallback + proto-gen
riley-stride Oct 11, 2023
57d61c6
calibrate: rm admin gate
riley-stride Oct 11, 2023
9463f14
calibration: do not block ICAs
riley-stride Oct 11, 2023
9e2c398
calibration: limit calibration adjustment to record keeping to <1000m…
riley-stride Oct 11, 2023
dea43a7
calibration: limit calibration adjustment to record keeping to <1000m…
riley-stride Oct 11, 2023
1b1095b
Merge branch 'cleanup_v15' of ssh://github.com/Stride-Labs/stride int…
riley-stride Oct 11, 2023
856bf8c
add calibrate delegation test
riley-stride Oct 11, 2023
6ca4fef
raise calibration threshold
riley-stride Oct 31, 2023
834898c
small fixes per sam's pr comments
riley-stride Nov 9, 2023
86cbe4a
Set CalibrationThreshold to 3000
riley-stride Nov 30, 2023
e4b05ad
add test for slash beyond threshold
riley-stride Dec 4, 2023
ed6fce9
Merge branch 'main' of ssh://github.com/Stride-Labs/stride into clean…
riley-stride Dec 4, 2023
bf47e1b
fix errors.go
riley-stride Dec 4, 2023
2996313
remove callback data for calibrationquery (sam's pr comment)
riley-stride Dec 4, 2023
b953092
fix typo
riley-stride Dec 4, 2023
6542233
Unit tests for calibration ICQ callback (#1013)
sampocs Dec 5, 2023
06144f3
added back GetValidatorFromAddress check
riley-stride Dec 6, 2023
5ba3c7a
Merge branch 'main' into cleanup_v15
riley-stride Dec 6, 2023
e981184
Merge branch 'main' into cleanup_v15
riley-stride Dec 7, 2023
3599e14
Merge branch 'main' into cleanup_v15
sampocs Dec 13, 2023
b16fd21
lint
sampocs Dec 13, 2023
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
4 changes: 0 additions & 4 deletions x/stakeibc/keeper/msg_server_submit_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,6 @@ func (k Keeper) SubmitCalibrationICQ(ctx sdk.Context, hostZone types.HostZone, v
if hostZone.DelegationIcaAddress == "" {
return errorsmod.Wrapf(types.ErrICAAccountNotFound, "no delegation address found for %s", hostZone.ChainId)
}
validator, _, found := GetValidatorFromAddress(hostZone.Validators, validatorAddress)
sampocs marked this conversation as resolved.
Show resolved Hide resolved
if !found {
return errorsmod.Wrapf(types.ErrValidatorNotFound, "no registered validator for address (%s)", validatorAddress)
}

// Get the validator and delegator encoded addresses to form the query request
_, validatorAddressBz, err := bech32.DecodeAndConvert(validatorAddress)
Expand Down
Loading