-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: Dynamic Address Book Phase 2 protobufs changes #344
Conversation
* Add HCS state proto Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Add running hash, delete EntityNumber Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * add account and token * add account and token * add token * add tokenRelation * add some javadocs * add some javadocs * address review comments * fix missing import * address comments * address review comments * Update services/state/token/account.proto Co-authored-by: Richard Bair <rbair23@users.noreply.github.com> * Update services/state/token/account.proto Co-authored-by: Richard Bair <rbair23@users.noreply.github.com> * address some review comments * move back under services * change package name * some docs and revert java package name * revert docs * add javadocs * add javadocs * re-order the first 16 --------- Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> Co-authored-by: Michael Tinker <michael.tinker@swirldslabs.com> Co-authored-by: Richard Bair <rbair23@users.noreply.github.com>
* 265 - file proto Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * 265 - packaging Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * 265 - comments Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> --------- Signed-off-by: Lev Povolotsky <lev@swirldslabs.com>
* change allowances * change allowances * change allowances * change allowances * change allowances * change allowances
* 265 - file proto Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * 265 - packaging Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * 265 - comments Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * 265 - comments fix Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> --------- Signed-off-by: Lev Povolotsky <lev@swirldslabs.com>
* add missing fields and change allowance names * change to bits * address review comments * address review comments * address review comments
* Add bytecode and storage slot representations Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Add Nft type Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Add EntityNumber Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Use bytes instead of Int256Value Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Fix typo Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Remove superfluous Int256Value type Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Rename Id -> UniqueTokenId Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> * Don't store code_hash, can be cached on load Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> --------- Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
* Added state for blocks and running hashes Signed-off-by: jasperpotts <jasperpotts@users.noreply.github.com> --------- Signed-off-by: jasperpotts <jasperpotts@users.noreply.github.com> Co-authored-by: jasperpotts <jasperpotts@users.noreply.github.com>
add staking node info
* new schedule proto Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * addresspe comments Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * address comments Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> --------- Signed-off-by: Lev Povolotsky <lev@swirldslabs.com>
Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
Original commit of this file uses package com.hedera.hapi.node.state.file The correct package is com.hedera.hapi.node.state.schedule. Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
Signed-off-by: Lev Povolotsky <lev@swirldslabs.com>
…ication (#285) * Initial commit * Replace instead of deprecate previous field * change topic number to topicID (#286) Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> * Initial commit * Replace instead of deprecate previous field --------- Signed-off-by: Lev Povolotsky <lev@swirldslabs.com> Co-authored-by: Lev Povolotsky <16233475+povolev15@users.noreply.github.com>
* Changed body_bytes to original_create_transaction * Changed type to TransactionBody * Updated comments to clarify several items and correct language Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
* Change nft owner and spender identifier from long to AccountID * Import basic_types.proto for AccountID Signed-off-by: Kim Rader <kim.rader@swirldslabs.com> --------- Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
…at rely on it to use AccountID and TokenID (#290) * Updated common.proto to use use AccountID and TokenID instead of long * Updated token.proto to use use AccountID and TokenID instead of long * Updated token_relation.proto to use use AccountID and TokenID instead of long
Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
…roto (#293) changed auto_renew_account_number to auto_renew_account_id
* add fields from MerkleNetworkContext * add fields from MerkleNetworkContext * doc update * doc update * doc update * doc update
* Updated last_block_number in BlockInfo to match all others * Added staked_id, removed staked_number. * updated number
Updated Schedule state protobuf to add a wait_for_expiry flag. * This protobuf is not yet used, so the fields were renumbered for efficient representation. * This is in support of resolving Issue #5518 Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
Update account.proto to use IDs instead of longs Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
…299) * Added primitive.proto which includes ProtoLong, ProtoInteger, ProtoBoolen, ProtoString, and ProtoBytes. * Added ScheduleList message to schedule.proto Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
* fix path Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@swirldslabs.com> * fix comment --------- Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@swirldslabs.com>
Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
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.
LGTM
Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
17d234f
…Service to AddressBookService. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
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.
LGTM ! Thanks @iwsimon
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.
Since this has new response codes added, when you merge it might break services develop. Please open PR in Services for the compile errors before you merge it.
Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
f7b2e43
Current hedera-services, develop branch uses hedera-protobufs, v0.50.0-release branch. The main branch will be used after release .50 branch cut. There will be another hedera-services PR merged after release .50 branch cut. |
This reverts commit e650477 as hedera-servives #13265 asked. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
….51 (#358) * Revert "feat: added NodeGetInfoResponse to response.proto (#355)" This reverts commit 43d9159. * Revert "Added NodeGetInfo (#347)" This reverts commit 17fb148. * Revert "feat: Dynamic Address Book Phase 2 protobufs changes (#344)" This reverts commit e650477 as hedera-servives #13265 asked. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> * Align the code. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> * Changed INVALID_MAX_AUTO_ASSOCIATIONS back to 346 by review request. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> --------- Signed-off-by: Iris Simon <iris.simon@swirldslabs.com>
* main: (21 commits) feat: 13135 Added PlatformState protobuf representation (#349) feat: Change AddressBookService package to proto (#386) feat: add admin_key to node_create.proto, node_update.proto and node.proto (#380) HIP 904 proto updates for token reject (#367) chore: Updated codeowners to include devops-ci (#384) feat: remove node_get_info.proto (#378) fixed INVALID_GOSSIP_CA_CERTIFICATE (#375) fix: Fixing single-letter mismatch to expectations (#373) feat: Update specification text for address book service (#346) feat: Add more response codes for Dynamic Address Book Phase 2 (#370) feat: maxAutoAssociations updates for contract transactions (#359) Added more response codes for Dynamic Address Book Phase 2 (#364) feat: Add back Dynamic Address Book Phase 2 protobufs change (#361) feat: Back out protobuf-changes to dynamic address book for release 0.51 (#358) feat: added NodeGetInfoResponse to response.proto (#355) feat: HIP-904 maxAutoAssociations updates (#348) chore: added consensus data protobuf (#350) Added NodeGetInfo (#347) feat: Dynamic Address Book Phase 2 protobufs changes (#344) feat: define event protobufs (#338) ... # Conflicts: # services/basic_types.proto # services/schedulable_transaction_body.proto # services/token_service.proto # services/transaction_body.proto # services/transaction_receipt.proto
* main: (21 commits) feat: 13135 Added PlatformState protobuf representation (#349) feat: Change AddressBookService package to proto (#386) feat: add admin_key to node_create.proto, node_update.proto and node.proto (#380) HIP 904 proto updates for token reject (#367) chore: Updated codeowners to include devops-ci (#384) feat: remove node_get_info.proto (#378) fixed INVALID_GOSSIP_CA_CERTIFICATE (#375) fix: Fixing single-letter mismatch to expectations (#373) feat: Update specification text for address book service (#346) feat: Add more response codes for Dynamic Address Book Phase 2 (#370) feat: maxAutoAssociations updates for contract transactions (#359) Added more response codes for Dynamic Address Book Phase 2 (#364) feat: Add back Dynamic Address Book Phase 2 protobufs change (#361) feat: Back out protobuf-changes to dynamic address book for release 0.51 (#358) feat: added NodeGetInfoResponse to response.proto (#355) feat: HIP-904 maxAutoAssociations updates (#348) chore: added consensus data protobuf (#350) Added NodeGetInfo (#347) feat: Dynamic Address Book Phase 2 protobufs changes (#344) feat: define event protobufs (#338) ...
….51 (#358) * Revert "feat: added NodeGetInfoResponse to response.proto (#355)" This reverts commit 43d9159. * Revert "Added NodeGetInfo (#347)" This reverts commit 17fb148. * Revert "feat: Dynamic Address Book Phase 2 protobufs changes (#344)" This reverts commit e650477 as hedera-servives #13265 asked. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> * Align the code. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> * Changed INVALID_MAX_AUTO_ASSOCIATIONS back to 346 by review request. Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> --------- Signed-off-by: Iris Simon <iris.simon@swirldslabs.com> Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
Description:
Related issue(s):
Fixes #343
Notes for reviewer:
Checklist