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
When I look at the "declared" and "occupied" amounts, either they do not intuitively make sense to me, or the amounts are incorrect.
I assume "declared" to mean the total amount of CKB within the cell. I would suggest using the more standard term of "capacity" here. If it has some other meaning I am unclear on it. It says 145 CKBytes which seems to indicate the capacity.
I assume "occupied" is the amount of data actually used by the data within the cell. It says 128 CKBytes, which does not seem to add up as I would expect.
Describe the bug
When I look at the "declared" and "occupied" amounts, either they do not intuitively make sense to me, or the amounts are incorrect.
I assume "declared" to mean the total amount of CKB within the cell. I would suggest using the more standard term of "capacity" here. If it has some other meaning I am unclear on it. It says 145 CKBytes which seems to indicate the capacity.
I assume "occupied" is the amount of data actually used by the data within the cell. It says 128 CKBytes, which does not seem to add up as I would expect.
To Reproduce
Expected behavior
Here is the lock script, type script, and data:
In the lock script the
code_hash
is 32 bytes,args
is 22 bytes,hash_type
is 1 byte. This is 55 bytes total.In the type script the
code_hash
is 32 bytes,args
is 32 bytes,hash_type
is 1 byte. This is 65 bytes total.The data is 16 bytes total.
The capacity field of the cell is 8 bytes total.
This does not match the "occupied" capacity of "128 CKBytes".
Screenshots
The text was updated successfully, but these errors were encountered: