-
Notifications
You must be signed in to change notification settings - Fork 598
chore: purge unconstrained + batch simulate improvements #6639
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
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7651b3c
refactor: purge unconstrained in token contract
LHerskind 6d94bd2
refactor: purge unconstrained in blacklist token contract
LHerskind 20e7aed
chore: remove unconstrained from avm_test_contract
LHerskind 5255008
chore: purging more unneeded unconstrained
LHerskind 6520590
better simulation, batched tokensim
Thunkar 2bbd072
Merge branch 'lh/purge_unneeded_unconstrained' of github.com:AztecPro…
Thunkar 7cfc7b1
removed readercontract
Thunkar d914c48
reorder
Thunkar 98f71e5
docs line
Thunkar a3588de
Merge branch 'master' into gj_lh/purge_unconstrained_batch_simulate
Thunkar 85b7659
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 5f617dd
fixes and comments from PR
Thunkar 0544480
Merge branch 'master' into gj_lh/purge_unconstrained_batch_simulate
Thunkar 5762681
fixed batched calls with mixed public/private
Thunkar e109598
Merge branch 'master' into gj_lh/purge_unconstrained_batch_simulate
Thunkar c1713c5
Merge branch 'master' into gj_lh/purge_unconstrained_batch_simulate
Thunkar 9916d93
Merge branch 'master' into gj_lh/purge_unconstrained_batch_simulate
Thunkar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
30 changes: 30 additions & 0 deletions
30
noir-projects/noir-contracts/contracts/lending_contract/src/position.nr
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| use dep::aztec::prelude::AztecAddress; | ||
| use dep::aztec::protocol_types::traits::{Deserialize, Serialize}; | ||
|
|
||
| struct Position { | ||
| collateral: Field, | ||
| static_debt: Field, | ||
| debt: Field, | ||
| } | ||
|
|
||
| global POSITION_SERIALIZED_LEN: Field = 3; | ||
|
|
||
| impl Serialize<POSITION_SERIALIZED_LEN> for Position { | ||
| fn serialize(position: Position) -> [Field; POSITION_SERIALIZED_LEN] { | ||
| [ | ||
| position.collateral.to_field(), | ||
| position.static_debt.to_field(), | ||
| position.debt.to_field(), | ||
| ] | ||
| } | ||
| } | ||
|
|
||
| impl Deserialize<POSITION_SERIALIZED_LEN> for Position { | ||
| fn deserialize(fields: [Field; POSITION_SERIALIZED_LEN]) -> Position { | ||
| Position { | ||
| collateral: fields[0], | ||
| static_debt: fields[1], | ||
| debt: fields[2], | ||
| } | ||
| } | ||
| } |
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
9 changes: 0 additions & 9 deletions
9
noir-projects/noir-contracts/contracts/reader_contract/Nargo.toml
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
noir-projects/noir-contracts/contracts/reader_contract/src/main.nr
This file was deleted.
Oops, something went wrong.
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.
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.
Uh oh!
There was an error while loading. Please reload this page.