filecoin-project / specs

The Filecoin protocol specification
https://spec.filecoin.io
Other
367 stars 170 forks source link

Feedback on Data Structures Section MEGA Issue #75

Open ZenGround0 opened 5 years ago

ZenGround0 commented 5 years ago

This issue has a bunch of items. Feel free to check them off as they get completed or tracked in other issues. Block:

Message:

State Tree:

HAMT:

MessageTree:

Thanks!

creationix commented 5 years ago

In https://github.com/filecoin-project/specs/blob/master/data-structures.md#filecoin-compact-serialization, it states that Message has 6 fields and the test vector towards the end matches that.

But in https://github.com/filecoin-project/specs/blob/master/data-structures.md#message there are two more fields listed (GasPrice and GasLimit)

Was the gas stuff removed at some point, but not updated in the message section?

dignifiedquire commented 5 years ago
* There appears to be insufficient detail explaining how to use a HAMT to implement a State Tree

solved: https://github.com/filecoin-project/specs/blob/master/data-structures.md#state-tree

* From TODO -- we need to spec this thing out, especially since this isn't really a HAMT

solved: hamt spec is being developed and close to merge: https://github.com/ipld/specs/pull/131

We need to create a spec for this thing. Likely this will look a lot like state tree and we will implement it using the same HAMT.

mostly solved in the latest spec, except the exact encoding of the sharray

mishmosh commented 4 years ago

9/10 of these are done. @ZenGround0 do we still need messagetree?