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

chore: nuking ancient redundant test #9941

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

benesjan
Copy link
Contributor

This test is no longer necessary.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on Graphite Graphite

@benesjan benesjan requested a review from sklppy88 November 13, 2024 16:15
@benesjan benesjan enabled auto-merge (squash) November 13, 2024 16:15
@@ -79,7 +79,6 @@ Let’s do the similar for the private flow:
Here we want to send a message to mint tokens privately on Aztec! Some key differences from the previous method are:

- The content hash uses a different function name - `mint_to_private`. This is done to make it easy to separate concerns. If the contentHash between the public and private message was the same, then an attacker could consume a private message publicly!
- Since we want to mint tokens privately, we shouldn’t specify a `to` Aztec address (remember that Ethereum is completely public). Instead, we will use a secret hash - `secretHashForRedeemingMintedNotes`. Only he who knows the preimage to the secret hash can actually mint the notes. This is similar to the mechanism we use for message consumption on L2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

random fix I sneaked in.

@@ -556,7 +556,7 @@ contract Token {
) {
let token = Token::at(context.this_address());

// We prepare the transfer.
// We prepare the partial note to which we'll "send" the minted amount.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another random fix I sneaked in.

Copy link
Contributor

Changes to public function bytecode sizes

Generated at commit: f66a766e4dc9a51d4efb902862d22dc80c04de0c, compared to commit: 7661e428161ba91d4fa978e6a5d09568c649e51f

🧾 Summary (100% most significant diffs)

Program Bytecode size in bytes (+/-) %
TokenBridge::claim_public +476 ❌ +3.82%
Test::public_dispatch +461 ❌ +2.33%
TokenBridge::public_dispatch +201 ❌ +0.92%
TokenBridge::exit_to_l1_public -230 ✅ -2.80%

Full diff report 👇
Program Bytecode size in bytes (+/-) %
TokenBridge::claim_public 12,946 (+476) +3.82%
Test::public_dispatch 20,276 (+461) +2.33%
TokenBridge::public_dispatch 22,156 (+201) +0.92%
TokenBridge::exit_to_l1_public 7,996 (-230) -2.80%

@AztecBot
Copy link
Collaborator

Docs Preview

Hey there! 👋 You can check your preview at https://6734d7a2b273cf3e7345e53c--aztec-docs-dev.netlify.app

@benesjan benesjan merged commit a1ba20f into master Nov 13, 2024
67 checks passed
@benesjan benesjan deleted the 11-13-chore_nuking_ancient_redundant_test branch November 13, 2024 16:54
TomAFrench added a commit that referenced this pull request Nov 14, 2024
* master: (245 commits)
  chore: pull signed bitshifts from sync PR (#9939)
  chore: pull frontend changes from sync PR (#9935)
  feat: separate bytecode logs from unencrypted logs (#9891)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  chore: replace relative paths to noir-protocol-circuits
  git subrepo push --branch=master barretenberg
  fix: token naming issue (#9950)
  feat: multiplier oracle (#9902)
  refactor: token refunds cleanup (#9943)
  chore: Use stack based recursion instead of function recursion (#9947)
  feat: parallelize DIE pass (#9933)
  feat(avm): Simulator enforces integral tag for DIV and field tag for FDIV (#9944)
  chore(avm): bugfixing witness generation for add, sub, mul for FF (#9938)
  feat: Google Cloud Kubernetes cluster + AWS Firewall Rules (#9915)
  chore: nuking ancient redundant test (#9941)
  fix: include 'master' version for aztec-up scripts (#9940)
  chore: fixing test contract fixture (#9909)
  refactor: token naming cleanup (#9904)
  chore: pull SSA parser from sync PR (#9928)
  ...
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.

3 participants