Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: add get_table_references, get_output_length and modify get_length #248

Closed
wants to merge 2 commits into from

Conversation

iajoiner
Copy link
Contributor

@iajoiner iajoiner commented Oct 9, 2024

Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.

Please go through the following checklist

Rationale for this change

In order to make ProofPlans composable get_length has to depend on more than lengths of existing tables. Hence it is necessary to move it to ProverEvaluate. Moreover we want to support multiple tables. Hence let's add get_table_references and get_input_lengths.

What changes are included in this PR?

  • add ProverEvaluate::get_output_length
  • move get_length to ProverEvaluate, rename it to get_input_lengths and change its parameters
  • add ProofPlan::get_table_references

Are these changes tested?

Yes

@iajoiner iajoiner mentioned this pull request Oct 10, 2024
2 tasks
@iajoiner iajoiner force-pushed the feat/output-length branch 3 times, most recently from 94f55ba to 5b1297f Compare October 11, 2024 20:18
@iajoiner iajoiner changed the title refactor!: add get_output_length and modify get_length refactor!: add get_table_references, get_output_length and modify get_length Oct 11, 2024
@iajoiner iajoiner force-pushed the feat/output-length branch 3 times, most recently from d9a17ec to a391e88 Compare October 14, 2024 14:36
@iajoiner iajoiner marked this pull request as ready for review October 14, 2024 14:38
@iajoiner iajoiner force-pushed the feat/output-length branch 5 times, most recently from 9d8d304 to f41989f Compare October 15, 2024 13:21
@iajoiner iajoiner requested review from JayWhite2357 and removed request for JayWhite2357 October 15, 2024 13:21
…` to `get_input_lengths`

- add `ProverEvaluate::get_output_length`
- rename `get_length` to `get_input_lengths`
- move `get_input_lengths` to `ProverEvaluate`
- add `get_table_references`
@iajoiner iajoiner force-pushed the feat/output-length branch 2 times, most recently from deaa601 to 163c3fa Compare October 18, 2024 01:39
@iajoiner
Copy link
Contributor Author

iajoiner commented Nov 4, 2024

Closed in favor of a new approach using #334 which will remove table_length altogether.

@iajoiner iajoiner closed this Nov 4, 2024
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