-
Notifications
You must be signed in to change notification settings - Fork 815
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
basic cli and first draft command for ct module #1929
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/ct_types #1929 +/- ##
====================================================
- Coverage 61.36% 61.12% -0.24%
====================================================
Files 263 275 +12
Lines 23306 24427 +1121
====================================================
+ Hits 14301 14931 +630
- Misses 8001 8403 +402
- Partials 1004 1093 +89
|
…into ct_client_init_account
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.
Approved with minor comments
aclmapping/utils/resource_type.go
Outdated
@@ -101,6 +102,10 @@ var StoreKeyToResourceTypePrefixMap = aclsdktypes.StoreKeyToResourceTypePrefixMa | |||
aclsdktypes.ResourceType_KV_TOKENFACTORY_ADMIN: []byte(tokenfactorytypes.AdminPrefixKey), | |||
aclsdktypes.ResourceType_KV_TOKENFACTORY_CREATOR: []byte(tokenfactorytypes.AdminPrefixKey), | |||
}, | |||
cttypes.StoreKey: { | |||
//aclsdktypes.ResourceType_KV_CT: aclsdktypes.EmptyPrefix, |
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.
When do we uncomment these? Should we add a TODO here?
aclmapping/utils/resource_type.go
Outdated
@@ -211,6 +216,10 @@ var ResourceTypeToStoreKeyMap = aclsdktypes.ResourceTypeToStoreKeyMap{ | |||
aclsdktypes.ResourceType_KV_TOKENFACTORY_ADMIN: tokenfactorytypes.StoreKey, | |||
aclsdktypes.ResourceType_KV_TOKENFACTORY_CREATOR: tokenfactorytypes.StoreKey, | |||
|
|||
// ~~~~ CONFIDENTIAL TRANSFERS Resource Types ~~~~ |
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.
Likewise, maybe we should add a note here for when to uncomment these
app/app.go
Outdated
@@ -1081,6 +1081,15 @@ func (app *App) SetStoreUpgradeHandlers() { | |||
// configure store loader that checks if version == upgradeHeight and applies store upgrades | |||
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades)) | |||
} | |||
|
|||
if (upgradeInfo.Name == "v6.1.0") && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { |
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.
Just curious, what is this used for?
x/confidentialtransfers/module.go
Outdated
@@ -103,8 +99,7 @@ func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *r | |||
// TODO: Implement this when we add the CLI methods |
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.
Can remove this TODO
Describe your changes and provide context
basic cli and first draft command for ct module
Testing performed to validate your change