Skip to content

fix: naming consistency in messaging (messageHash -> message)#641

Merged
LHerskind merged 3 commits into
masterfrom
md/contenthash-content
May 22, 2023
Merged

fix: naming consistency in messaging (messageHash -> message)#641
LHerskind merged 3 commits into
masterfrom
md/contenthash-content

Conversation

@Maddiaa0

@Maddiaa0 Maddiaa0 commented May 22, 2023

Copy link
Copy Markdown
Member

Description

closes: #632

Very small pr correcting use of contentHash in L1ToL2 data types to make it consistent with uses elsewhere. ( referring to it as a hash is incorrect as in some instances, where the value fits within a field, it will not need to be hashed ).

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • The branch has been merged or rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.

@Maddiaa0 Maddiaa0 requested a review from LHerskind May 22, 2023 13:43

@LHerskind LHerskind left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@LHerskind LHerskind merged commit de6006e into master May 22, 2023
@LHerskind LHerskind deleted the md/contenthash-content branch May 22, 2023 17:20
jeanmon pushed a commit that referenced this pull request May 23, 2023
* fix: contentHash -> content

* fix: update content in nr

* fix: update incorrect message hash naming

---------

Co-authored-by: Maddiaa0 <addaboy@gmail.com>
suyash67 pushed a commit that referenced this pull request May 25, 2023
* prelim / very-broken commit where Jean and I started implementing the initial private kernel and moving logic between it and the inner kernel

* wip - fix some compilation issues, remove unused imports, remove
update_end_values leftover

* wip - some minor changes and comments after pairing with David

* wip: additional compilation fixes

* Refactor helper functions in private kernel tests

* wip - Fix linking issue and comment out some tests

* wip - repair native and circuit tests

* wip - include using double quotes and remove unused code

* wip - fixing circuit_create_proof_cbinds test and adapting
private_kernel_sim function to the inner/init split

* wip - fix clang tidy issue

* wip - post master merger fixes and remove test on new nullifiers

* wip - fix clang tidy issue

* wip - fix clang tidy issue

* wip - fix typescript tests and data structure split

* wip - format typescript

* wip - replace CONSTRUCTOR_ARGS by FUNCTION_ARGS

* wip - add nullifier and l1-l2-message tree roots in initial private
kernel circuit

* wip - post merge fix

* Migrate common.hpp functions into non-templated ones

* refactor(sol): use Hash.sha256ToField library where required (#637)

* refactor(sol): use Hash.sha256ToField library where required

* fmt :)

* feat: expose bytes32 hash directly

* fmt: https://i.pinimg.com/originals/81/23/a1/8123a132c007eab782d6ca9bed517eb3.jpg

---------

Co-authored-by: Maddiaa0 <addaboy@gmail.com>

* fix: Add checks for arg-type (#638)

* fix: Add checks for arg-type

* fix: support arg of 'number' type

* fix: correct wrapped fr in acir sim

* no need to force encode in some e2e tests!

---------

Co-authored-by: Maddiaa0 <addaboy@gmail.com>
Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>

* fix: naming consistency in messaging (messageHash -> message) (#641)

* fix: contentHash -> content

* fix: update content in nr

* fix: update incorrect message hash naming

---------

Co-authored-by: Maddiaa0 <addaboy@gmail.com>

* chore: remove unknown casts in archiver test (#648)

Removes intermediate casts to unknown from archiver test, which hide
type errors in the args of the mocked event.

* Consolidation code for contract_logic

* e2e fixing: Initialise public and private call stack and comment out some checks

* Renaming file native_private_kernel_initial.XPP into
native_private_kernel_init.XPP

* Rename native_private_kernel_circuit into
native_private_kernel_circuit_inner

* Simplify if/else clause on deployment contract boolean in contract logic

* abis test snapshot - restore from master for vk hash

* Remove old TODO comments

* Fork FUNCTION_ARGS into FUNCTION/CONSTRUCTOR_ARGS generator indices

* Move code copying public/private_call_stack in PKC init

* Clang tidy fix

* Add clarifications into a comment

* Added comments

* remove empty lines

---------

Co-authored-by: jeanmon <jean@aztecprotocol.com>
Co-authored-by: Maddiaa <47148561+Maddiaa0@users.noreply.github.com>
Co-authored-by: Maddiaa0 <addaboy@gmail.com>
Co-authored-by: Lasse Herskind <16536249+LHerskind@users.noreply.github.com>
Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>
Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com>
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.

Consistency on content naming

2 participants