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
The FileCreateTransactionBody page seems to have an inappropriate paragraph - that is, I'm sure the information is correct, but I don't know why it is on this page.
An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists. The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.
Yes, the FileCreateTransactionBody has a property newRealmAdminKey but that doesn't seem to justify this paragraph in its full glory. Especially since we don't yet support non-zero realms. Or shards, for that matter.
The two other HAPI transactions with a newRealmAdminKey field (CryptoCreate, ContractCreate) don't have that paragraph at all - in fact, their description of newRealmAdminKey might be considered too skimpy or at least misleading given that we don't support creating new realms.
Suggestion: Find a common way to describe what the newRealmAdminKey property really does and use it in all three places?
The text was updated successfully, but these errors were encountered:
The
FileCreateTransactionBody
page seems to have an inappropriate paragraph - that is, I'm sure the information is correct, but I don't know why it is on this page.Yes, the
FileCreateTransactionBody
has a propertynewRealmAdminKey
but that doesn't seem to justify this paragraph in its full glory. Especially since we don't yet support non-zero realms. Or shards, for that matter.The two other HAPI transactions with a
newRealmAdminKey
field (CryptoCreate
,ContractCreate
) don't have that paragraph at all - in fact, their description ofnewRealmAdminKey
might be considered too skimpy or at least misleading given that we don't support creating new realms.Suggestion: Find a common way to describe what the
newRealmAdminKey
property really does and use it in all three places?The text was updated successfully, but these errors were encountered: