Skip to content

Commit

Permalink
docs: Clarify genesis has timestamps for vesting (cosmos#2873)
Browse files Browse the repository at this point in the history
Previously, the documentation mentioned that start_time and end_time refer to blocks. This could be interpreted as saying start_time and end_time are block heights. However, `x/auth/vesting` documentation at https://docs.cosmos.network/v0.50/build/modules/auth/vesting clarifies these are block times.
  • Loading branch information
sigv authored Dec 22, 2023
1 parent 779938c commit 6075870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/resources/genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Let us break down the parameters:
- `original_vesting`: Vesting is natively supported by `gaia`. You can define an amount of token owned by the account that needs to be vested for a period of time before they can be transferred. Vested tokens can be delegated. Default value is `null`.
- `delegated_free`: Amount of delegated tokens that can be transferred after they've been vested. Most of the time, will be `null` in genesis.
- `delegated_vesting`: Amount of delegated tokens that are still vesting. Most of the time, will be `null` in genesis.
- `start_time`: Block at which the vesting period starts. `0` most of the time in genesis.
- `end_time`: Block at which the vesting period ends. `0` if no vesting for this account.
- `start_time`: Timestamp at which the vesting period starts. `0` most of the time in genesis.
- `end_time`: Timestamp at which the vesting period ends. `0` if no vesting for this account.

### Bank

Expand Down

0 comments on commit 6075870

Please sign in to comment.