hashgraph/hedera-protobufs

Update `ContractUpdateTransactionBody` for staking

Closed this issue · 0 comments

Problem

A user should be able to update a contract with a cryptographic adminKey with new 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 ContractUpdate should fail with PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED.)

Solution

Update the obvious protobuf messages to support the above fields.

Alternatives

No response