Skip to content

Split asset_type to H160 and ShardId. #1148

@sgkim126

Description

@sgkim126

Currently, asset_type is a 256-bit hash with the prefix('S' and shard id).
Actually, it is the same with the address of the asset scheme.
But we don't need to use the address as an asset type.
It is sufficient to be able to compute the address from the asset type.
So I propose to use the blake160 hash of the mint transaction tracker as an asset type and add a shard_id field.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions