Following @XuJiandong advice:
The load_cell_data function can load all cell data at once. However, the cell data might be very large, potentially consuming all available memory in certain scenarios. It is recommended to use the following low-level syscall to load only a portion of the cell data
I switched iCKB load_cell_data calls from the highlevel to syscall. At that point all the contracts stopped validating, completely.
After too much digging I understood theSysError::LengthNotEnough lifecycle in correlation to syscalls from load_data implementation. I did not found any other documentation except that private function, not even in the relative RFC.
Please, could you update the syscall documentation with this crucial information about SysError::LengthNotEnough?
Keep up the great work 💪
Phroi
Following @XuJiandong advice:
I switched iCKB
load_cell_datacalls from thehighleveltosyscall. At that point all the contracts stopped validating, completely.After too much digging I understood the
SysError::LengthNotEnoughlifecycle in correlation to syscalls fromload_data implementation. I did not found any other documentation except that private function, not even in the relative RFC.Please, could you update the syscall documentation with this crucial information about
SysError::LengthNotEnough?Keep up the great work 💪
Phroi