hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
265 stars 119 forks source link

Support contract w admin key setting maxAutoAssociation #14111

Open Nana-EC opened 2 days ago

Nana-EC commented 2 days ago

Problem

Currently when a contract owner utilizes a valid admin key on the account to try to modify maxAutoAssociation (just as an EOA would) they encounter an INVALID_ACCOUNT_ID. However, a contract is an account and therefore entity details outside of contract byte should be mutable .

This will allow contracts to be able to take part in HIP 904 changes

Solution

Add support for contracts w admin key to update maxAutoAssociation

Alternatives

No response