-
Notifications
You must be signed in to change notification settings - Fork 65
Pre develop 0.16.0 #789
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
Merged
Merged
Pre develop 0.16.0 #789
Changes from 250 commits
Commits
Show all changes
935 commits
Select commit
Hold shift + click to select a range
28480cf
Undo changes unrelated to asm
fractasy 69707ff
Merge pull request #805 from 0xPolygonHermez/fix/ziskclib-make
RogerTaule deb6c79
Fix riscof assembly test
fractasy f671035
Cleaning up mem pils
hecmas 7f916ba
Fix book
RogerTaule 8b1ad3b
First version fix
RogerTaule b294bef
Moving Arc up
RogerTaule 9790055
Split assembly reset in fast/slow/trace
fractasy 297d3de
Fix copilot in emu.c
fractasy f8896f8
Change commented code by conditional precompilation in main.c
fractasy 11555c8
Fix some comments and traces in main.c
fractasy a809220
Synchronize shared memory areas as needed, i.e. before reading them, …
fractasy 4d8c5f5
Redirect output to file in main.c
fractasy fcd51ee
Enable metrics in main.c
fractasy d38d9d1
Flush Duration trace in main.c
fractasy a8e7e90
Enable verbose in main.c
fractasy 30660ba
Add flush() to some verbose traces in main.c
fractasy 75471cd
Add flush to Waiting... trace in main.c
fractasy 4e54b4e
Flush traces before and after calling emulator_start() in main.c
fractasy 31ecfee
added traces while debugging
xavi-pinsach 8394795
Get freopen() result in main.c
fractasy 6a549af
Disable traces in main.c
fractasy 41f39a8
adding fence in hints_shmem.rs to fix when working with hints
xavi-pinsach 24e02d7
added debugging messages
xavi-pinsach 7810e93
temptative fix
xavi-pinsach 76adcea
temptative fix II
xavi-pinsach ebd4b64
adding dbg messages
xavi-pinsach 97ba498
fixing coordinator worker to avoid blocking when receiving grpc hints
xavi-pinsach c4518f0
added end hint message
xavi-pinsach 18879ee
temptative fixing
xavi-pinsach 21bf6fa
temptative fixing
xavi-pinsach 96b93f2
added tokio debugging
xavi-pinsach 078067c
fix grpc metrics
xavi-pinsach 5dc2899
remove wait_timeout
xavi-pinsach 0c53351
improved debug msg
xavi-pinsach ae02ec7
added log
xavi-pinsach 815307d
fix: move grpc spawn to spawn_blocking
xavi-pinsach 398f639
remove debug msg
xavi-pinsach f20e40e
remove debug msg
xavi-pinsach 9f01e2f
fix: added hash hints_stream
xavi-pinsach db62571
fix: Arc pk in worker.rs
xavi-pinsach 77a705a
Feature set partition
RogerTaule 4f54a8f
update Cargo.lock
xavi-pinsach 10413e3
remove debug messages
xavi-pinsach 582b080
fix: add a method to discover if it has to calculate rom sm
xavi-pinsach 15a44cb
fix: perform the rh join() before finish the execution because in som…
xavi-pinsach 97ac1c1
Move hints_stream out of stdin
RogerTaule a3ded4f
added an assert to check whether control shmem are reset or not
xavi-pinsach 8e1ca15
remove GRPC metrics
xavi-pinsach 2867fa8
fix macOS
xavi-pinsach fd30c1b
Bug in secp256k1
hecmas 09a4b10
Merge pull request #791 from 0xPolygonHermez/fix/server_fast_reset
fractasy 64377a0
Merge pull request #811 from 0xPolygonHermez/fix/zisklib-bug
hecmas a78fdde
Merge remote-tracking branch 'origin/pre-develop-0.16.0' into fix/hints
xavi-pinsach 618e140
update proofman in Cargo.toml to 0.16.0
xavi-pinsach b69410a
Merge pull request #807 from 0xPolygonHermez/fix/hints
xavi-pinsach 0777735
fix typo
xavi-pinsach 34f1e39
improve command banners
xavi-pinsach b4a7f38
imp: modify exposed level of a var
xavi-pinsach 942755b
modify doc comment and rename var
xavi-pinsach 0047819
fix: doc comment
xavi-pinsach c01ecb4
imp: return result instead of expect
xavi-pinsach 4d9db13
Fallback to installation path when cargo not exists (#812)
RogerTaule ad94309
fix tests and dma bugs
zkronos73 04d98b1
minor reset improvements
xavi-pinsach 79e7a9c
Merge branch 'pre-develop-0.16.0' into feature/dma-memcmp-inputcpy
zkronos73 d8d8a02
fix clippy error
zkronos73 acaaf04
Fixing poseidon2 (#813)
RogerTaule 86615c0
Merge remote-tracking branch 'origin/pre-develop-0.16.0' into feature…
zkronos73 3a1a8bc
Fix mutex import for single-thread assert
agnusmor 19f829e
fix test and merge bug
zkronos73 ea04912
Add Blake2b hint codes and implementation for compression
agnusmor c03fa12
Merge remote-tracking branch 'origin/pre-develop-0.16.0' into feature…
zkronos73 4e1f558
fix cargo fmt
zkronos73 8ce97f8
Checking publics and proof values
RogerTaule c6cb7e8
Merge pull request #816 from 0xPolygonHermez/feat/adding-logs-coordin…
RogerTaule dcff5c5
Adding a working blake2 impl
hecmas 46825e5
First blake version
hecmas b1c4e15
First version of blake done
hecmas 2858a5e
Blake2 fully working
hecmas b03a90c
Minor fix gpu
hecmas 3dbc70d
Implement Blake2b round in assembly and hints
fractasy db3a950
Fix clippy
agnusmor 56d3f4a
added hint blake2 handler
xavi-pinsach 709299d
fix try_from in hints.rs
xavi-pinsach e19c113
fix some copilot comments, remove not used files
zkronos73 968a56f
Merge pull request #738 from 0xPolygonHermez/feature/dma-memcmp-inputcpy
zkronos73 95b1501
Merge pull request #810 from 0xPolygonHermez/clean/pil
hecmas 20416c3
Merge branch 'pre-develop-0.16.0' into feature/hint-blake2b
hecmas 4b8db0d
Blake2b working
hecmas 13daf7b
Fix check_man_thread
agnusmor 74a7283
Address review comments: fix panic messages, fix skip logic, optimize…
Copilot 3a227cc
Reverting vector change
hecmas 6c90ab4
Merge pull request #815 from 0xPolygonHermez/feature/hint-blake2b
hecmas 37d3886
fix problem with wc of dma
zkronos73 62beb12
fix cargo clippy errors
zkronos73 b232d39
Merge branch 'pre-develop-0.16.0' into feature/zisk-hints-doc
agnusmor 3b89051
Refactor hint_custom function
agnusmor 3143589
Fixes
agnusmor 5030e6e
Fix logic in hint_custom function
agnusmor 500ea40
Doc fixes
agnusmor 80cd120
Fixes
agnusmor b71258c
Merge pull request #819 from 0xPolygonHermez/tmp-0.16.0
RogerTaule 4d76f75
Starting main as soon as MT finished
RogerTaule 3e6531e
Merge branch 'pre-develop-0.16.0' into fix/dma-continuations
zkronos73 8e6b1bd
Merge pull request #818 from 0xPolygonHermez/fix/dma-continuations
zkronos73 fd725e6
Update documentation for emit hint requests
agnusmor 3fa3551
Update test-env scripts to use zec-reth guest
agnusmor 3d51cb9
Fix macos sha_hasher test in PR GHA
agnusmor e1e6063
Add instructions for enabling hint support in zkVM execution
agnusmor 6e0d3e3
Add note about hint processing limitations in emulation mode
agnusmor 2daf443
Fix typo in precompile hints documentation regarding zisklib function…
agnusmor 33ff75a
Merge pull request #783 from 0xPolygonHermez/feature/main-gpu
agnusmor 87109b2
Merge pull request #787 from 0xPolygonHermez/feature/zisk-hints-doc
agnusmor 45aca8e
Update environment configuration for version 0.16.0
agnusmor 66f74fa
Update PROJECT_NAME in test_sha_hasher script to "guest"
agnusmor 608beaa
Merge pull request #820 from 0xPolygonHermez/fix/gha-pr
agnusmor 83caad6
Split main.c into several code files
fractasy fe45d07
added ZiskExecutorSummary
xavi-pinsach 1d6662d
Refactor HintBuffer to flush writer buf when WRITE_BUFFER_FLUSH_LEN t…
agnusmor d7dd28c
Add configurable write flush threshold to HintBuffer
agnusmor bbc6c9a
Change write_flush_threshold to Option type in init_hints_socket and …
agnusmor 308ab1a
Update init_hints_socket to use WRITE_BUFFER_FLUSH_LEN as default flu…
agnusmor 50ddc33
Fix copilot issues
fractasy 2630414
Fix copilot issues
fractasy 82be452
Fix copilot issues
fractasy 19f93db
Fix copilot issues
fractasy e59f12b
Merge pull request #825 from 0xPolygonHermez/feature/hints-write-buf
agnusmor 4530bf3
Enhance hint metrics to track hint size
agnusmor f1a00fe
Add size initialization to HintRegisterInfo
agnusmor 11e1bc9
Fix BN254 (#827)
RogerTaule d14c474
Merge pull request #823 from 0xPolygonHermez/feature/split_main_c
fractasy 89c077f
added input hint
xavi-pinsach 97fb549
Fix size percentage calculation in print_metrics
agnusmor df4da67
Fix cfmt
agnusmor 9b50f1f
Merge pull request #828 from 0xPolygonHermez/feature/hints-size-metrics
agnusmor 0ec4d7e
Implement FCALL_INPUT_READY_ID in ziskemu
fractasy dc4bc6d
Merge branch 'feature/input-stream' of github.com:0xPolygonHermez/zis…
fractasy a548530
Feat/logs coordinator (#826)
RogerTaule df97e92
Fix/mpi sevilla (#829)
RogerTaule e62c254
fix input hint code
xavi-pinsach a2aab0e
Fix set partition for mpi processes (#830)
RogerTaule 54d391e
Implement assembly fcall for input ready
fractasy ab825d5
Merge branch 'feature/input-stream' of github.com:0xPolygonHermez/zis…
fractasy bf0e437
Split main.c into several code files
fractasy ef263a7
Fix copilot issues
fractasy a774a72
Fix copilot issues
fractasy a1526e8
Fix copilot issues
fractasy 3aebf50
Fix copilot issues
fractasy d064596
Implement FCALL_INPUT_READY_ID in ziskemu
fractasy 49cb9e2
added input hint
xavi-pinsach abce4ba
Implement assembly fcall for input ready
fractasy 9c5f28a
fix input hint code
xavi-pinsach d431024
Feature/input stream sdk merge (#832)
RogerTaule 86e1216
Fix emu context
RogerTaule 7d7f426
Input stream write proof
RogerTaule 0310dce
Input stream working and write proof working
RogerTaule b1999fd
Fix
RogerTaule 6e114ae
Add hint_input_data
agnusmor fd32412
Merge pull request #833 from 0xPolygonHermez/feature/hint-input-2
agnusmor 4942259
Merge branch 'feature/input-stream' of github.com:0xPolygonHermez/zis…
fractasy aaa2e6e
Fix ziskemu for input hints file format
fractasy a9e3be1
Fix infinite loop in ziskemu
fractasy 4d6e50b
increase inputdata to 1gb
zkronos73 63f4b5e
Fix assembly with input file
fractasy 9443454
remove log
zkronos73 1be9b42
Add input_data buffer in HintBuffer
agnusmor 1e6ef4f
Remove debug print statement from hint_input_data function
agnusmor 17a2bb4
prepare code to allow input hints
xavi-pinsach 40e2ae4
remove expects
xavi-pinsach 1ea522c
added helper functions in control_shmem.rs
xavi-pinsach 3868ab2
hints stream worker working
xavi-pinsach 8df9b7b
add appen_input
xavi-pinsach 57656b5
fix hints doc and schema
xavi-pinsach 2ead33f
cago fmt
xavi-pinsach 529fb9d
added write_at fn
xavi-pinsach 7e591ed
Merge pull request #835 from 0xPolygonHermez/feature/input-stream-xavi
xavi-pinsach 06901f8
add tool for testing and debug hint files
zkronos73 b931071
Merge pull request #836 from 0xPolygonHermez/feature/input-stream-hin…
zkronos73 11d520d
Adding sdk example for big programs up to 1 GB
RogerTaule 0d3dba6
removed debug messages
xavi-pinsach 5f67a86
Fix INPUT_ADDR usage in wait_for_input_ready()
fractasy 90d5b1e
Merge branch 'feature/input-stream' of github.com:0xPolygonHermez/zis…
fractasy ae8e82e
Tentative fix mpi
RogerTaule 12fc8b6
Implement wait_flag
fractasy 5ec96c0
Merge branch 'feature/input-stream' of github.com:0xPolygonHermez/zis…
fractasy ac4414d
improve ASM services start function
xavi-pinsach 2c68472
added redirect-output-to-file flag to execute CLI command
xavi-pinsach 089ce00
added asm_out_file to prove, verify constraints and stats CLI command…
xavi-pinsach 32b2fe2
added conflicts between hints and inputs in CLI commands
xavi-pinsach 7005feb
added error trace when ASM services timeout
xavi-pinsach 4e4fe84
improved services.rs code and added debug info
xavi-pinsach 675b843
sequentiallize asm startup
xavi-pinsach 092bd8b
fix assemblymapping bug, reduce memory mem plan and count
zkronos73 8b083d0
remove logs
zkronos73 82c7618
Cherry-pick virtual address fix (1/2)
zkronos73 2a670aa
remove logs
zkronos73 d074c42
Tentative solution mpi hints
RogerTaule 8ec912d
Applying hints mpi solution to stream branch
RogerTaule 0b5532b
restore original non-sequencial assembly startup
zkronos73 96a5fbf
remove pclog trace
zkronos73 3fdf98b
Test/no hasher hints (#839)
RogerTaule 6668726
Pointing to pre-develop-0.16.0
RogerTaule ae7d4de
Split main.c into several code files
fractasy 1d2b5c4
Fix copilot issues
fractasy 1de751c
Fix copilot issues
fractasy 4bb9c90
Fix copilot issues
fractasy 93099cf
Fix copilot issues
fractasy b9039c3
Merge branch 'pre-develop-0.16.0-stream' into feature/input-stream
RogerTaule 196a6b1
Merge branch 'pre-develop-0.16.0-input-1gb' into feature/input-stream…
RogerTaule 4e70baf
Trace assembly memory reduced to 32 GB
RogerTaule 02ff9b9
added 3 sem avail for inputs
xavi-pinsach 84fe492
Fixing Rom SM && and wait assembly
RogerTaule acea339
AsmResources reset input stream
RogerTaule 8ce4262
Adding read_input for native to work as new input stream
RogerTaule 609ca6f
Simplification ZiskIO
RogerTaule 2dec8af
RefCell to Mutex (#840)
RogerTaule 7ca12f4
Cargo.lock
RogerTaule 3d9dd48
Fix drain_to_writer input_data lock
agnusmor 5addb96
Assign keccak in round robin to minimize unbalancing between workers
RogerTaule 5f6816d
Minor improving ziskemu with sdk
RogerTaule 763a5f3
Fixing read from stdin
RogerTaule 28a88ed
Adding read_raw_bytes to ZiskStdin
RogerTaule 73323b7
add new emdedded allocators, add --steps and --with-progress options …
zkronos73 3b73fc4
Merge remote-tracking branch 'origin/feature/input-stream-merge' into…
zkronos73 82f3fa1
Merge pull request #842 from 0xPolygonHermez/feature/input-1gb-alloca…
zkronos73 022f5c0
Fix reset hint size metrics
agnusmor 26f0f31
add code review report from earlier release
zkronos73 1f8deb8
Hints processor and asm resources refactor (#843)
agnusmor 984af1e
Adding inputs shmem stub
RogerTaule 1529549
Clippy fixes
RogerTaule 70e1d73
More clippy fixes
RogerTaule 341a7a6
Missing Arc Stub
RogerTaule 9f72ba9
Final fixes
RogerTaule fe1dcc5
Merge pull request #845 from 0xPolygonHermez/feature/input-stream-merge
agnusmor e466323
Merge pull request #844 from 0xPolygonHermez/binary-main-review
zkronos73 a58a1e1
Cargo update
RogerTaule e6d051e
Cargo update
RogerTaule 9a7e673
add legacy-inputs options to ziskemu
zkronos73 fe65621
Adding legacy call to convert inputs to be suitable with newer versions
RogerTaule 019a3ea
Adding option to convert full directories
RogerTaule 8cdb49f
Fix pr gha inputs
agnusmor 40fa453
Merge pull request #849 from 0xPolygonHermez/fix/gha-pr-inputs
agnusmor 604fefe
Adding ziskup setup_snark in docs
RogerTaule 9de288d
update hints docs
xavi-pinsach dea7ffb
update documentaion
zkronos73 2fbb38f
Merge pull request #848 from 0xPolygonHermez/feature/ziskemu-legacy-i…
zkronos73 4381288
Update dependencies and branch references for version 0.16.0
agnusmor fc82d87
Merge pull request #850 from 0xPolygonHermez/update-versions-0.16.0
agnusmor 5a4a57c
Update hints_stream.md to use bn254_g1_add as example
agnusmor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
editor.hover.enabledis a boolean setting in VS Code. The string value "on" is likely invalid and may be ignored. Change it totrue/false(or remove if relying on defaults).