Claudia Richoux
Claudia Richoux
> Would it be possible to use those low-level API's to build a Merkle Proof off-chain, that you can present to a hashing function on-chain in some sort of JSON...
Hi @oconnor663, thanks for all your help, and sorry for all the silly questions... Please feel free to correct me if I'm misunderstanding anything... I wanted to quickly clarify something...
I'm starting to look through all the tree magic in encode/decode.rs... It's been a second since I took algo... My gut says the following statement is true: If you have...
Ok, it looks like my thought was correct and you already implemented this (yay!)... still trying to figure out where the 7% overhead for an extracted slice is coming from....
Ok- I'm stumped. From the code, it looks like the length of the outboard encoding should be ~`log(file_size) + 6.25*slice_size`. Have we just been misunderstanding each other in terms of...
Yeah it is, I went and read the code. he's treating the file size N as constant and the slice_len as the interesting variable that things scale with, in his...
one second, filling this out, my pinkie is messed up and i accidentally hit enter... post-issue-writing edit: owie ouch. sorry for all the short phrases, i only have 3.5 fingers...
Some useful one-liners for this in the comments of this: https://www.reddit.com/r/rust/comments/g9mw57/oneliner_to_correctly_list_all_uses_ofunsafe_in/
`VECTOR=test-vectors/corpus/specs_actors_v6/TestCronCatchedCCExpirationsAtDeadlineBoundary/c70afe9fa5e05990cac8ab8d4e49522919ad29e5be3f81ee4b59752c36c4a701-t0100-t0102-storageminer-6.json cargo test -- --nocapture --color=always` (just keeping this here because useful)
Hehe I’ve already started trying to wire this up- was hoping it might help with the wasm, was destined to figure that out the hard way… I’ll hunt down another...