Closed mikeal closed 3 years ago
@rvagg @mvdan where did we land with this? Did this end up working for the new Go implementation of did we find some other reason we can’t make the schemas compatible?
i believe they are compatible for the forthcoming actor hamts in spec-actors v3
Yes, luckily their v3 now uses a kinded union for their equivalent to our Element :)
Something like what you did here would be useful if we want to support filecoin HAMTs older than v3 with our ADL, but as far as I know that's not planned right now. So I think we should close this PR for the time being, without losing the diff in case we want to dig it up later.
This is an attempt to support the Filecoin HAMT in the same schema. We should discuss the implications of this in the IPLD call because I’m not sure how well a double union will work in practice.