hashgraph / hedera-protobufs-java

The protobuf message files defining the Hedera Hashgraph API
Apache License 2.0
37 stars 22 forks source link

Reject invalid number of automatic association slots #89

Open anighanta opened 3 years ago

anighanta commented 3 years ago

Problem

During a CryptoCreate or CryptoUpdate, if the proposed automatic association slots is more than the allowed tokenAssociations on the network, we should fail with REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT

Solution

Add a new response code REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT

Original issue : https://github.com/hashgraph/hedera-protobufs/issues/85

Alternatives

No response