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

Fix deploying to QANet with zk deploy command #243

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

ymekuria
Copy link
Collaborator

Description
fixes #242

Copy link
Contributor

@mitschabaude mitschabaude left a comment

Choose a reason for hiding this comment

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

nice

@ymekuria ymekuria merged commit 2ccbb3e into main Aug 12, 2022
ymekuria added a commit that referenced this pull request Aug 12, 2022
* fix: update increment nonce

* chore: bump version to 4.12
ymekuria added a commit that referenced this pull request Aug 12, 2022
…on of SnarkyJS is Added] (#233)

* feat: parse contract digests from build.json

* refactor: rename to cachedigests

* feat: add current digest to cache and complie contract if not in digests cache

* feat: add cache.json file to template

* refactor: move cache.json to template root

* feat: intialize cache when empty

* feat: use cached verification key if current digest is equal to cached digest

* feat: compile contract and update cache if digest changes

* refactor: remove cache.json file from template

* feat: save cache.json when build dir is emptied

* refactor: add comments

* refactor: remove redundant read and write from cach.json

* refactor: replace let with const

* refactor: add optional chaining to remove cache initialization block

* feat: move cache log feedback outside of callback

* fix: ensure no error when cache.json or build folder does not exist

* feat: update tsconfig

* Update template and examples with preconditions and new CircuitValue improvements [Do Not Merge Until New Published Version of SnarkyJS is Added]  (#238)

* feat: add update method precondition to template

* feat: sudoku preconditions

* fix: add static from method to invoke original sudoku constructor

* refactor: replace invoking construtor with from method invocations

* fix: update setpermissions api on tictactoe example

* feat: add gameDone state precondition

* feat: add tictactoe nextplayer state precondition

* feat: add tictactoe board state precondition

* chore: bump snarkyjs version to 0.5.0

* chore: bump template snarkyjs peerdependency version to 0.5.0

* chore: update package.json

* fix: update tictactoe run.ts with new account fields

* refactor: replace static from method with constructor

* Fix deploying to QANet with zk deploy command (#243)

* fix: update increment nonce

* chore: bump version to 4.12

* fix: intialize cache

* remove non-fee-payer nonce increment

* 0.4.13

* chore: bump version to 0.4.14

Co-authored-by: Gregor <[email protected]>
@ymekuria ymekuria deleted the fix/qanet-deploy branch November 30, 2022 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to deploy to QANet with CLI
2 participants