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

fix!: validate MsgTransfer before calling Transfer() #1244

Merged
merged 10 commits into from
Sep 5, 2023
Merged
Prev Previous commit
Next Next commit
update DefaultConsumerUnbondingPeriod to 14 days
mpoke committed Aug 25, 2023

Verified

This commit was signed with the committer’s verified signature.
mpoke Marius Poke
commit 60e43dda14a0ee02f5e725ccb040b41d9d2f6001
4 changes: 2 additions & 2 deletions x/ccv/types/params.go
Original file line number Diff line number Diff line change
@@ -32,10 +32,10 @@ const (
// (and for consistency with other protobuf schemas defined for ccv).
DefaultHistoricalEntries = int64(stakingtypes.DefaultHistoricalEntries)

// In general, the default unbonding period on the consumer is one day less
// In general, the default unbonding period on the consumer is one week less
// than the default unbonding period on the provider, where the provider uses
// the staking module default.
DefaultConsumerUnbondingPeriod = stakingtypes.DefaultUnbondingTime - 24*time.Hour
DefaultConsumerUnbondingPeriod = stakingtypes.DefaultUnbondingTime - 7*24*time.Hour

// By default, the bottom 5% of the validator set can opt out of validating consumer chains
DefaultSoftOptOutThreshold = "0.05"