This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Since program-test creates a test genesis and then adds fees and rent, some of the genesis accounts get rent-collected after warping. Most notably, `StakeConfig` gets rent-collected, causing any stake operations to fail after warp. This fix creates genesis with the `Rent` and `FeeRateGovernor` actually used by the bank. (cherry picked from commit 6cc22e6) Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
- Loading branch information
1 parent
8b67ba6
commit 4e3f2c3
Showing
2 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters