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: refactor hash.hpp to use const& #1578

Merged
merged 7 commits into from
Aug 16, 2023

Conversation

ludamad
Copy link
Collaborator

@ludamad ludamad commented Aug 16, 2023

There was a period where msgpack did not allow binding with const&. This is now fixed, and recommended

@ludamad ludamad requested a review from Maddiaa0 August 16, 2023 00:11
@ludamad ludamad enabled auto-merge (squash) August 16, 2023 03:08
@iAmMichaelConnor
Copy link
Contributor

iAmMichaelConnor commented Aug 16, 2023

I'm not sure I like the FrOf syntax. It obscures what's happening. typename NCT::fr seems clearer imo. It's a little verbose, but that's just the way C++ is sometimes.

@ludamad
Copy link
Collaborator Author

ludamad commented Aug 16, 2023

That's fair. I'm pretty sure we're headed for a syntax like this eventually with an fr<builder type>, but I can revise this to just introduce the const& part

@ludamad ludamad force-pushed the ad/chore/refactor-nct-fr-in-hash-cpp branch from 59f8179 to 6cc9ab9 Compare August 16, 2023 13:17
@ludamad ludamad force-pushed the ad/chore/refactor-nct-fr-in-hash-cpp branch from 8cf32d5 to 5684c2e Compare August 16, 2023 13:18
@ludamad ludamad changed the title chore: refactor hash.hpp to use FrOf<NCT> and const& chore: refactor hash.hpp to use const& Aug 16, 2023
Copy link
Contributor

@dbanks12 dbanks12 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ludamad ludamad disabled auto-merge August 16, 2023 13:58
@ludamad ludamad merged commit 4c329af into master Aug 16, 2023
1 check passed
@ludamad ludamad deleted the ad/chore/refactor-nct-fr-in-hash-cpp branch August 16, 2023 13:59
codygunton pushed a commit that referenced this pull request Jan 23, 2024
* Initial attempt to have Kebab perform deployments (#1558)

* Initial attempt to have Kebab perform deployments

* Fix e2e tests, don't redeploy if given rollup contract

* Use correct verification key

* Bug fix

* VK fix

* Added curl to Falafel docker image

* WIP

* WIP

* Updated Faucet

* WIP

* Deploy mainnet fork alongside kebab (#1556)

* Deploy mainnet fork alongside kebab

* Added backend block

* Updated kebab TF

Co-authored-by: PhilWindle <philip.windle@gmail.com>

* WIP

* Fixed env var name

* WIP

* Yarn lock files

* Revert explorer and zk-money changes

* Use devnet specific private key

* Additional logging

* Attempt to fix block explorer

* Reverted unnecessary change

* Fix bigint literals and remove hosted sdk e2e test

* Fixes

Co-authored-by: spypsy <spypsy@users.noreply.github.com>

* Fixed command ordering (#1566)

* Fixed scripting (#1567)

* More TF fixes (#1571)

* Force contract redeploy (dev) (#1568)

* force contract redeploy + add port to kebab health check

* undo port specification for healthcheck

* Log the number of drips provided by the faucet (#1518)

* Pw/devnet deployment fixes (#1574)

* Terraform changes to restart Falafel and Faucet on redeployment

* New Devnet chain id

* Fix pkey srs size to (n + 1) while loading a pkey. (#1550)

* Pw/devnet deployment fixes (#1577)

* Terraform changes to restart Falafel and Faucet on redeployment

* New Devnet chain id

* Fixed Falafel Dev Terraform

* Fixed Faucet Dev Terraform (#1578)

* Updated Wasabi Terraform for Dev and Test nets (#1579)

* Fix for Wasabi Uniswap Terraform (#1580)

* update JSON provider request method (#1588)

* update JSON provider request method

* comment clarification

* allow additional methods to go through kebab auth (#1589)

* Allow for setting of Rollup Provider in deployments (#1590)

* Allow for setting of Rollup Provider in deployments

* Force contract redeployment

* Terraform fix

* Pw/testnet deployment (#1591)

* WIP

* WIP

* WIP

* TF updates

* Dev TF fix

Co-authored-by: spypsy <spypsy@users.noreply.github.com>
Co-authored-by: Suyash Bagad <suyash@aztecprotocol.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants