-
Notifications
You must be signed in to change notification settings - Fork 43
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
[DNM] Execution trace dumping with contract support. #775
Draft
azteca1998
wants to merge
23
commits into
main
Choose a base branch
from
add-trace-dump-contracts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89789c6 - Browse repository at this point
Copy the full SHA 89789c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aaaea8 - Browse repository at this point
Copy the full SHA 1aaaea8View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5347c55 - Browse repository at this point
Copy the full SHA 5347c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e3d8e - Browse repository at this point
Copy the full SHA 12e3d8eView commit details -
Add trace dump contracts 2 (#783)
* Impl ClassHash and SegmentArena * Add trace dump support to compiler * Reset workflows * Update lock * Implement BoundedInt * Fix Enum trace dump * Make gas_metadata public * Update deps * Fix bug * Move deps to optional (trace dump featire)
Configuration menu - View commit details
-
Copy full SHA for dd2258e - Browse repository at this point
Copy the full SHA dd2258eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ef1d8 - Browse repository at this point
Copy the full SHA 52ef1d8View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10ecaa2 - Browse repository at this point
Copy the full SHA 10ecaa2View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b2935f0 - Browse repository at this point
Copy the full SHA b2935f0View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 57b39dc - Browse repository at this point
Copy the full SHA 57b39dcView commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1361621 - Browse repository at this point
Copy the full SHA 1361621View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d7a98 - Browse repository at this point
Copy the full SHA 30d7a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1ba709 - Browse repository at this point
Copy the full SHA e1ba709View commit details
Commits on Oct 21, 2024
-
Add trace dump contracts 2 (#838)
* Add logs * Implement Felt252Dict trace dump * Implement nullabel for trace dump * Print type id * Remove print * add convertion for Sints * fix mispelled types * forgot to add feature * change Sints value to correspond to sierra-emu * Readd feature * Add is_infinity field to secp256 point struct (#828) * add is_infinity to secp point * clean * fix * use same deps as blockifier * fix * fix layout * fix test * remove some brittle asserts due to random initial data when adding and muling points at infinity * fix * remove unused dep * fixes, missed the value entry/output * Reset src * Fix warnings * Make library public * Use debug runtime for trace dump * fix storage's values truncations (#839) * fix storage's values truncations * change implementation for i8 i16 i32 i64 too * format * Add ptr check to felt dict entry * Add malloc tracing and fix more memory leaks. (#833) * Add memory tracing. * Partial memory fixes. * Fix arrays. * Simplify dictionaries. Fix false positive memory leak in dictionary drops. * Fix zero-sized allocation. Fix warnings. More mem tracing checks. * Fix mem tracing. * Fix memory leak in `print` libfunc. * Fix array slice libfunc. * Fix starknet memory leaks. * Fix keccak syscall. * Fix dict get double free bug. * Lots of memory fixes. * More fixes. * Fix CI. * Remove old TODOs. * Fix CI (again). * Remove TODOs. * Fix test. * Maybe fix * Maybe fix * Maybe fix * Dont panic when building circuit partial outputs * trace dump for Sha256StateHandler * Builtin costs rework (#837) * Update to 2.8.4, release docs, alpha This PR updates cairo to 2.8.4, adds some release docs and updates the version to alpha.3 to prepare for another release. * try fix * cleanup ci, remove panic in link * rename from jit to from ptr, etc * crates.io badge * progress * progress * fmt2 * progress * progress * fix * fix bench * use struct * Fix felt252 and enum deserialization bugs. (#844) * Fix felt252 and enum deserialization bugs. * Fix formatting. * Also fix the runtime. * Fix errors. * try to fix ci * remove unused deps --------- Co-authored-by: Edgar Luque <[email protected]> * Fix trace dump type conv * fix aot contract executor not passing builtinstats (#849) * Fix felt252 and enum deserialization bugs. * Fix formatting. * Also fix the runtime. * Fix errors. * try to fix ci * remove unused deps * fix aot contract executor not passing builtinstats --------- Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> * Fix bug (#851) * Also fix felt bits in starknet syscall wrappers (#853) * Also fix felt bits in starknet syscall wrappers * style * missed * fix aot contract executor not passing builtinstats (#849) * Fix felt252 and enum deserialization bugs. * Fix formatting. * Also fix the runtime. * Fix errors. * try to fix ci * remove unused deps * fix aot contract executor not passing builtinstats --------- Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> * Fix bug (#851) * Also fix felt bits in starknet syscall wrappers (#853) * Also fix felt bits in starknet syscall wrappers * style * missed * update version to alpha 4 (#854) * bytes31 * Better function attributes and re-enable >O1 opt (#843) * Fix felt252 and enum deserialization bugs. * Fix formatting. * Also fix the runtime. * Fix errors. * try to fix ci * remove unused deps * proper function attributes * add proper function attrs to optimize better, add some passes, run tests with atleast some opts * dont use remi * oops * maybe with opt level 3 now it works * test * works * readd deleted bench * remove dbg * Update bench-hyperfine.sh * fixci * comment * Update src/ffi.rs Co-authored-by: MrAzteca <[email protected]> --------- Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: MrAzteca <[email protected]> * Resolve `CAIRO_NATIVE_RUNTIME_LIBRARY` relative path (#841) * feat(ffi): resolve runtime relative path using current dir * chore: remove mentions to old runtime variable * fix: typo --------- Co-authored-by: Bohdan Ohorodnii <[email protected]> * Implement secp * Fix bytes31 * try to fix ci (#858) * update implementing libfuncs doc (#856) * Fix bytes31 bug * Remove unused dep --------- Co-authored-by: FrancoGiachetta <[email protected]> Co-authored-by: Edgar <[email protected]> Co-authored-by: MrAzteca <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: Rodrigo <[email protected]> Co-authored-by: Bohdan Ohorodnii <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c989b31 - Browse repository at this point
Copy the full SHA c989b31View commit details
Commits on Oct 24, 2024
-
Merge branch 'main' of github.com:lambdaclass/cairo_native into add-t…
…race-dump-contracts
Configuration menu - View commit details
-
Copy full SHA for d5a0271 - Browse repository at this point
Copy the full SHA d5a0271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c3714 - Browse repository at this point
Copy the full SHA 11c3714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 339534f - Browse repository at this point
Copy the full SHA 339534fView commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da47a0f - Browse repository at this point
Copy the full SHA da47a0fView commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 567c7a1 - Browse repository at this point
Copy the full SHA 567c7a1View commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99accfb - Browse repository at this point
Copy the full SHA 99accfbView commit details
Commits on Nov 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7f37246 - Browse repository at this point
Copy the full SHA 7f37246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ce88b - Browse repository at this point
Copy the full SHA 85ce88bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76663d2 - Browse repository at this point
Copy the full SHA 76663d2View commit details
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb890c3 - Browse repository at this point
Copy the full SHA bb890c3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.