hashgraph/hedera-protobufs

Update `CryptoUpdateTransactionBody` for staking

tinker-michaelj opened this issue · 0 comments

Problem

A user should be able to update their account with staking configuration that includes:

  • google.protobuf.Int64Value staked_node_id --or-- AccountID staked_account_id
  • google.protobuf.BoolValue decline_reward

A user should NOT be allowed to update the deprecated AccountID proxyAccountID field. (Such a CryptoUpdate should fail with PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED.)

Solution

Update the obvious protobuf messages to support the above fields.

Alternatives

No response