You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of 0.56 of services, hollow account that are finalized as contracts should have a self managed admin key (i.e. key=contract(0.0.x) where x is the contract id of the new contract.)
There is no test to validate this.
Solution
Write a test that
creates a hollow account
finalizes it as a contract (contract create transaction signed by the private key of the hollow account)
calls getContractinfo to check that the admin key is a contract key of value 0.0.x where x is the hedera contract id number.
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
As of 0.56 of services, hollow account that are finalized as contracts should have a self managed admin key (i.e. key=contract(0.0.x) where x is the contract id of the new contract.)
There is no test to validate this.
Solution
Write a test that
getContractinfo
to check that the admin key is a contract key of value 0.0.x where x is the hedera contract id number.Alternatives
No response
The text was updated successfully, but these errors were encountered: