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

Feature/comments storage #163

Merged
merged 1 commit into from
Nov 13, 2022
Merged

Feature/comments storage #163

merged 1 commit into from
Nov 13, 2022

Conversation

ignasirv
Copy link
Contributor

@ignasirv ignasirv commented Nov 8, 2022

No description provided.

@cla-bot cla-bot bot added the cla-signed label Nov 8, 2022
@ignasirv ignasirv changed the base branch from main to feature/divideOpcodes November 8, 2022 16:20
@ignasirv ignasirv changed the base branch from feature/divideOpcodes to develop November 8, 2022 16:30
@ignasirv ignasirv changed the base branch from develop to feature/divideOpcodes November 8, 2022 16:31
main/opcodes/stack-operations.zkasm Outdated Show resolved Hide resolved
main/opcodes/stack-operations.zkasm Outdated Show resolved Hide resolved
@ignasirv ignasirv changed the base branch from feature/divideOpcodes to develop November 9, 2022 11:06
* - 10 poseidon
* - dynamic steps: 200 + 100 * length
* @process-opcode
* - stack input: offset, size
Copy link
Contributor

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]

Copy link
Contributor

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

SP - 1 => SP
$ => E :MLOAD(SP--) ; offset
$ => C :MLOAD(SP) ; length
$ => E :MLOAD(SP--); offset => E
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
$ => E :MLOAD(SP--); offset => E
$ => E :MLOAD(SP--); [ offset => E ]

Copy link
Contributor

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
Copy link
Contributor

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

@krlosMata krlosMata self-requested a review November 11, 2022 15:41
Copy link
Contributor

@krlosMata krlosMata left a comment

Choose a reason for hiding this comment

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

😸

Comment stack-operations opcodes group


Pr review


Comment log opcodes group


Comment flow control opcodes group


Comment flow crypto opcodes group


PR review
@krlosMata krlosMata merged commit 7aacb21 into develop Nov 13, 2022
@ignasirv ignasirv deleted the feature/comments-storage branch November 14, 2022 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants