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: remove casts to unknown in archiver test #648

Merged
merged 1 commit into from
May 22, 2023

Conversation

spalladino
Copy link
Collaborator

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

Removes intermediate casts to unknown from archiver test, which hide
type errors in the args of the mocked event.
@spalladino spalladino requested a review from benesjan May 22, 2023 17:34
@spalladino spalladino changed the title chore: remove unknown casts in archiver test chore: remove casts to unknown in archiver test May 22, 2023
@Maddiaa0 Maddiaa0 merged commit 34b8249 into master May 22, 2023
@Maddiaa0 Maddiaa0 deleted the palla/remove-unknown-casts branch May 22, 2023 18:41
jeanmon pushed a commit that referenced this pull request May 23, 2023
Removes intermediate casts to unknown from archiver test, which hide
type errors in the args of the mocked event.
@spalladino spalladino mentioned this pull request May 24, 2023
6 tasks
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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Rahul Kothari <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Maddiaa <[email protected]>
Co-authored-by: Maddiaa0 <[email protected]>
Co-authored-by: Lasse Herskind <[email protected]>
Co-authored-by: Rahul Kothari <[email protected]>
Co-authored-by: Santiago Palladino <[email protected]>
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.

2 participants