Skip to content

Commit

Permalink
Merge pull request #377 from spacemeshos/v2alpha1-account-template
Browse files Browse the repository at this point in the history
v2alpha1: Add template address to account message
  • Loading branch information
kacpersaw authored Sep 30, 2024
2 parents 1379470 + 0885162 commit f410f13
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 39 deletions.
88 changes: 49 additions & 39 deletions release/go/spacemesh/v2alpha1/account.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions release/openapi/swagger/src/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,10 @@
"projected": {
"title": "projected state (includes pending txs)",
"$ref": "#/definitions/spacemeshv2alpha1AccountState"
},
"template": {
"type": "string",
"title": "account template address"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions spacemesh/v2alpha1/account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ message Account {
string address = 1; // account public address
AccountState current = 2; // current state
AccountState projected = 3; // projected state (includes pending txs)
string template = 4; // account template address
}

message AccountState {
Expand Down

0 comments on commit f410f13

Please sign in to comment.