refactor: rename Assertion to Account and update related code

This commit is contained in:
Prad Nukala
2024-11-26 00:07:45 -05:00
parent 9e7f70c455
commit 179a69df1c
47 changed files with 2781 additions and 25381 deletions
+13 -2
View File
@@ -7,7 +7,7 @@ option go_package = "github.com/onsonr/sonr/x/dwn/types";
// https://github.com/cosmos/cosmos-sdk/blob/main/orm/README.md
message ExampleData {
message Credential {
option (cosmos.orm.v1.table) = {
id: 1;
primary_key: { fields: "account" }
@@ -16,4 +16,15 @@ message ExampleData {
bytes account = 1;
uint64 amount = 2;
}
}
message Profile {
option (cosmos.orm.v1.table) = {
id: 2;
primary_key: { fields: "account" }
index: { id: 1 fields: "amount" }
};
bytes account = 1;
uint64 amount = 2;
}