filecoin-project / filecoin-ffi

C and CGO bindings for Filecoin's Rust libraries
Other
94 stars 136 forks source link

fix: remove ClearLayerData call #436

Closed vmx closed 8 months ago

vmx commented 8 months ago

The ClearLayerData FFI call was accidentally introduced with the Synthetic PoRep. The call does under the hood exactly what ClearCache is doing. It was already removed from Lotus in PR 11352, so that we can remove it here as well (and as a next steps from the Rust side). This reduces the API surface, which is generally a good idea.

vmx commented 8 months ago

I've removed it from the Go side manually. If any of those files are generated somehow, that generation should be run instead.

Stebalien commented 8 months ago

All the go code is hand written at the moment.