-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: Store Refactor #2344
R4R: Store Refactor #2344
Changes from all commits
4f80b1f
126cc99
e9e5d00
9b0612e
bd6217a
51cbe59
f0a915e
fd6e0f8
730f7d7
91656b2
05a2b46
4677207
698754f
070ac7b
155f945
5b80772
c45005c
28d95ce
0374f97
e1bd6dd
23f6ee7
8da214e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,17 +43,17 @@ type GaiaApp struct { | |
cdc *codec.Codec | ||
|
||
// keys to access the substores | ||
keyMain *sdk.KVStoreKey | ||
keyAccount *sdk.KVStoreKey | ||
keyStake *sdk.KVStoreKey | ||
keyMain *sdk.IAVLStoreKey | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mhmmm, why did we rename these? This assumes IAVL usage, although it probably won't change for Gaia. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't want us to have this key... an IAVLStore is a KVStore... no need to create key types for specific types of KVStores. In the future we may have other store types like HeapStores. |
||
keyAccount *sdk.IAVLStoreKey | ||
keyStake *sdk.IAVLStoreKey | ||
tkeyStake *sdk.TransientStoreKey | ||
keySlashing *sdk.KVStoreKey | ||
keyMint *sdk.KVStoreKey | ||
keyDistr *sdk.KVStoreKey | ||
keySlashing *sdk.IAVLStoreKey | ||
keyMint *sdk.IAVLStoreKey | ||
keyDistr *sdk.IAVLStoreKey | ||
tkeyDistr *sdk.TransientStoreKey | ||
keyGov *sdk.KVStoreKey | ||
keyFeeCollection *sdk.KVStoreKey | ||
keyParams *sdk.KVStoreKey | ||
keyGov *sdk.IAVLStoreKey | ||
keyFeeCollection *sdk.IAVLStoreKey | ||
keyParams *sdk.IAVLStoreKey | ||
tkeyParams *sdk.TransientStoreKey | ||
|
||
// Manage getting and setting accounts | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial API call was bad and that's my fault. Can we just do
app.cms.SetTracer(w)
?