zkMIPS / zkm

The universal zkVM empowering Ethereum as the Global Settlement Layer
https://zkm.io
MIT License
105 stars 50 forks source link

use write_all to support s3 writer #114

Closed evan95s closed 7 months ago

evan95s commented 7 months ago

serde_json::to_writer will write one or two bytes each time until all data are writed succeed, which is unacceptable for file system like s3. So I use write_all to replace to write all data into file.