Skip to content

Commit

Permalink
feat: add time to RequestPreparePropsosal (#1081)
Browse files Browse the repository at this point in the history
## Description

Adds the last commit median time to `RequestPreparePropsosal`. This
allows the application to accurately calculate the spendable funds of
vesting accounts, since this is the time used when executing the
transactions and when evaluating the propsoal during `ProcessProposal`.

The height was also added, but it doesn't have to be since the
application can calculate that value. That value is also passed in other
versions of comet, and we'll have to add it we want to unfork from the
sdk so I figured why not. Happy to remove it as well.
  • Loading branch information
evan-forbes authored Sep 18, 2023
1 parent de9b4ec commit 074d981
Show file tree
Hide file tree
Showing 3 changed files with 304 additions and 199 deletions.
Loading

0 comments on commit 074d981

Please sign in to comment.