Skip to content

Add ability to parse coldstorage with different ec points formats#45

Draft
AllFi wants to merge 2 commits intodevelopfrom
feature/decompress_ec_points
Draft

Add ability to parse coldstorage with different ec points formats#45
AllFi wants to merge 2 commits intodevelopfrom
feature/decompress_ec_points

Conversation

@AllFi
Copy link

@AllFi AllFi commented Jan 25, 2023

In this PR the following was done:

  • BulkData was extended with ec_points_format
  • update_state_cold_storage now uses ec_points_format from BulkData for tx parsing.
  • parse_txs still uses the default ec points format.

The open question is whether we need to keep backward compatibility or not. I think it probably isn't worth it because even if clients failed to sync state with the cold storage they still can continue with the usual sync. And the only period when it would be useful is the period when we've already updated the ui but haven't updated the cold storage.

The reason why it could be useful is described at https://github.com/zkBob/zkbob-pool-storage/issues/2.

@AllFi AllFi changed the title Add ability to parse coldstorage with decompressed ec points Add ability to parse coldstorage with different ec points formats Feb 8, 2023
@AllFi AllFi force-pushed the feature/decompress_ec_points branch from b615854 to dc8df7d Compare February 22, 2023 14:10
@AllFi AllFi changed the base branch from main to develop February 22, 2023 14:11
@AllFi AllFi marked this pull request as ready for review March 1, 2023 12:19
@AllFi AllFi marked this pull request as draft May 25, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant