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

smt generation #127

Closed
wants to merge 45 commits into from
Closed

smt generation #127

wants to merge 45 commits into from

Conversation

temaniarpit27
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the crate: trace_decoder Anything related to the trace_decoder crate. label Mar 25, 2024
@vgnom vgnom added this to the Type 2 - Q1 2024 milestone Mar 26, 2024
@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Mar 30, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Nashtare
Copy link
Collaborator

Shouldn't we perhaps redirect this to the feat/type2 branch instead of develop ?

@pgebheim
Copy link
Contributor

pgebheim commented Apr 4, 2024

@temaniarpit27 What's the status of this?

@temaniarpit27
Copy link
Contributor Author

@temaniarpit27 What's the status of this?

Brendan Gluth and I discussed regarding this. SMT format was earlier structured into MPT format (HashedPartialTrie). But today while discussing, a new structure will be formed by Brendan which will contain the SMT trie. The discussion is already happening on our internal slack channel.

@BGluth BGluth force-pushed the arpit/pos-2512 branch 2 times, most recently from 1f1dd97 to 4c9b2b8 Compare April 10, 2024 04:28
@Nashtare
Copy link
Collaborator

I had already mentioned it above, but I think it should be targeted against feat/type2 instead of develop. In addition, you'll have there access to the new smt_trie crate, which may reduce code duplication and simplify things (I guess?)

@github-actions github-actions bot removed the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Apr 16, 2024
BGluth and others added 17 commits April 26, 2024 12:34
- Created type aliases for all `evm_arithmetization` types that we
  need to swap out depending on whether or not we are compiling for
  `mpt` or `smt`.
- Realized that there is no clean way to disable a default feature when
  it absolutely needs to be disabled (eg. when "smt" is enabled).
- Also added a compile time check to enforce that one of these features
  is enabled.
- Prep for `mpt`/`smt` logic feature gating.
Rough draft of SMT & continuation support

- Still need to remove feature gating stuff.
- Realized that we can link again both versions of the library at once
  without conditional compilation.
- It's going to make a lot of sense I think to split the logic that
  generates `mpt` & `smt` tries. This commit just renames a file and
  creates the module for smt tries.
- Because we're going to be dealing with feature flags for SMT stuff,
  it's going to be very worth while I think splitting the logic into
  seperate modules.
- This commit does just that.
- We need to access this normally with a feature gate, but just to rush
  getting something going, we're going to copy it in for now.
@BGluth BGluth force-pushed the arpit/pos-2512 branch from efa0efc to 9475ae6 Compare May 1, 2024 14:42
@github-actions github-actions bot added the crate: mpt_trie Anything related to the mpt_trie crate. label May 1, 2024
@BGluth BGluth changed the base branch from develop to smt_refactor_prep May 1, 2024 14:44
@BGluth
Copy link
Contributor

BGluth commented May 1, 2024

Ready to me merged once #197 is merged back in.

@BGluth BGluth force-pushed the smt_refactor_prep branch from e9de21d to ac1b15f Compare May 3, 2024 21:13
Base automatically changed from smt_refactor_prep to develop May 3, 2024 22:52
@BGluth BGluth marked this pull request as ready for review May 6, 2024 20:08
@BGluth BGluth requested review from muursh, Nashtare and cpubot as code owners May 6, 2024 20:08
@temaniarpit27 temaniarpit27 requested a review from wborgeaud as a code owner May 7, 2024 23:02
@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label May 7, 2024
Copy link
Contributor

@muursh muursh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is really confusing in it's current form. I'm really struggling to tell what I should be looking at. Almost everything I've seen so far seems to be from other PRs.

I'm also finding it difficult to understand how the smt amd mpt code is meant to live together here.

@github-actions github-actions bot removed the crate: mpt_trie Anything related to the mpt_trie crate. label May 8, 2024
@BGluth
Copy link
Contributor

BGluth commented May 8, 2024

Closing as we are instead going to combine this with #206, as this PR on it's own is a bit confusing.

@BGluth BGluth closed this May 8, 2024
@Nashtare Nashtare deleted the arpit/pos-2512 branch November 26, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. crate: trace_decoder Anything related to the trace_decoder crate.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants