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 SDKs must support non-zero realm numbers in entity IDs (such as 0.100.0) since Spheres will populate realm values.
We need to validate the SDKs support the following:
Specifying a realm number during entity ID construction
Using entity IDs with specified realm numbers in transactions
Eliminating code that assumes zero for shards and realms
Updated APIs
Several APIs currently offered by the SDKs do not offer support for setting the shard and realm of an entity even though the protobufs do. This will need to be updated to allow the protobuf values to be filled out.
ContractCreateTransaction
i64 shard: The shard in which to create the new contract.
ContractCreateTransaction .shard(i64)
i64 .shard
i64 realm: The realm in which to create the new contract.
ContractCreateTransaction .realm(i64)
i64 .realm
FileCreateTransaction
i64 shard: The shard in which to create the new file.
FileCreateTransaction .shard(i64)
i64 .shard
Int64 realm: The realm in which to create the new file.
FileCreateTransaction .realm(i64)
i64 .realm
AccountCreateTransaction
i64 shard: The shard in which to create the new account.
AccountCreateTransaction .shard(i64)
i64 .shard
i64 realm: The realm in which to create the new account.
AccountCreateTransaction .realm(i64)
i64 .realm
The text was updated successfully, but these errors were encountered:
Description
The SDKs must support non-zero realm numbers in entity IDs (such as 0.100.0) since Spheres will populate realm values.
We need to validate the SDKs support the following:
Updated APIs
Several APIs currently offered by the SDKs do not offer support for setting the shard and realm of an entity even though the protobufs do. This will need to be updated to allow the protobuf values to be filled out.
ContractCreateTransaction
i64 shard
: The shard in which to create the new contract.ContractCreateTransaction .shard(i64)
i64 .shard
i64 realm
: The realm in which to create the new contract.ContractCreateTransaction .realm(i64)
i64 .realm
FileCreateTransaction
i64 shard
: The shard in which to create the new file.FileCreateTransaction .shard(i64)
i64 .shard
Int64 realm
: The realm in which to create the new file.FileCreateTransaction .realm(i64)
i64 .realm
AccountCreateTransaction
i64 shard
: The shard in which to create the new account.AccountCreateTransaction .shard(i64)
i64 .shard
i64 realm
: The realm in which to create the new account.AccountCreateTransaction .realm(i64)
i64 .realm
The text was updated successfully, but these errors were encountered: