-
Notifications
You must be signed in to change notification settings - Fork 50
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
Feature/comments storage #163
Conversation
987889e
to
5bdbb1d
Compare
5bdbb1d
to
a842ef6
Compare
d8decf3
to
f2c360c
Compare
f2c360c
to
80ecfa8
Compare
823c804
to
f059257
Compare
main/opcodes/crypto.zkasm
Outdated
* - 10 poseidon | ||
* - dynamic steps: 200 + 100 * length | ||
* @process-opcode | ||
* - stack input: offset, size |
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.
We should follow the style on opADD
opcode.
- stack input: [offset, size]
- stack output: [hash]
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.
This comment applies for all comments
main/opcodes/crypto.zkasm
Outdated
SP - 1 => SP | ||
$ => E :MLOAD(SP--) ; offset | ||
$ => C :MLOAD(SP) ; length | ||
$ => E :MLOAD(SP--); offset => E |
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.
$ => E :MLOAD(SP--); offset => E | |
$ => E :MLOAD(SP--); [ offset => E ] |
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.
This comment applies for all comments
32 => D | ||
; A new hash with position 0 is started | ||
0 => HASHPOS | ||
|
||
opSHA3Loop: | ||
|
||
; checks zk-counters |
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.
dynamic counters, check at each loop
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.
😸
9494e5e
to
295a1d2
Compare
Comment stack-operations opcodes group Pr review Comment log opcodes group Comment flow control opcodes group Comment flow crypto opcodes group PR review
295a1d2
to
9aa9958
Compare
No description provided.