-
Notifications
You must be signed in to change notification settings - Fork 33
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 memory view library #824
Chore: refactor memory view library #824
Conversation
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## feat/messaging-0.0.3 #824 +/- ##
==============================================================
- Coverage 44.05191% 43.97769% -0.07422%
==============================================================
Files 491 491
Lines 47158 47158
Branches 191 191
==============================================================
- Hits 20774 20739 -35
- Misses 23966 23995 +29
- Partials 2418 2424 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 10 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
* MemView: building a view * MemView: slicing * MemView: indexing * memView: keccak * memView: cloning * Basic MemView tests * MemView: index tests * MemView: slicing tests * MemView: hashing the slice tests * MemView: tests for custom errors * Nuke TypedMemView (rip) * Update libraries that were using TypedMemView * Update contracts that were using TypedMemView * Update the test suite * Chore: MemView docs * Chore: custom error * Add unchecked math and clarifications
* Generating go files for messaging 003 * Generating go files for messagin 003 stuff * Fixing deployer manager used in tests to properly initalize agent managers * Fixing more compile errors in tests * Fixing nil pointer error, still have more errors * Using summit as destination on syn chain * Adding exampleagent that does nothing other than test the simulated_backend_suite * Increasing gas limit of geth embedded nodes * Fixing origin deploy on syn chain to use bonding manager address * Identified bug with getProof for empty leaf * now summit contract too big * finish up summit harness anvil workaround * stop keeping containers * Rebuilding smart contracts after merging updates and enablings more tests * Disabling a couple parity tests temporarily * Fixing lint errors * Adding back in more tests * generating files again * Fixing typecast_tests * Getting guard test to pass * Regenerating go stuff yet again after updates to feat/messaging.0.0.3 branch * fixing small compile bug * fixing lint issue * merkle tree fix * undo solidity changes * commenting out GetLatestAgentState in notary_test, still have issues * add agentRoot to attestation. remove height from attestation and state * Chore: refactor memory view library (#824) * MemView: building a view * MemView: slicing * MemView: indexing * memView: keccak * memView: cloning * Basic MemView tests * MemView: index tests * MemView: slicing tests * MemView: hashing the slice tests * MemView: tests for custom errors * Nuke TypedMemView (rip) * Update libraries that were using TypedMemView * Update contracts that were using TypedMemView * Update the test suite * Chore: MemView docs * Chore: custom error * Add unchecked math and clarifications * [SDK] swap support and bridge gas (#800) * swap quoter * testing sdk * bridge gas * rm * adding fields to swap quote * Adding swaps to synapse-interface (Re-merge #804) (#818) Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> Co-authored-by: Simon <ak.simonm@gmail.com> * Publish - @synapsecns/explorer-ui@0.1.7 - @synapsecns/sdk-router@0.1.17 - @synapsecns/synapse-interface@0.1.3 * push devcontainer image (#814) Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> * Feat/syn interface bridge tests (#819/#813) Co-authored-by: Simon <ak.simonm@gmail.com> Co-authored-by: Jonah Lin <57741810+linjonah@users.noreply.github.com> Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> * Publish - @synapsecns/synapse-interface@0.1.4 * fix yarn immutable check (#820) Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> * Nit/no warning (#822) Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> * Feat: receipt report (#826) * Add ReceiptBody structure * Update ExecutionHub * Update Summit * Add ReceiptReport library * ReceiptBody: equals comparator * Chore: docs * Chore: docs for Receipt and ReceiptReport libs * Move markdown tables to lib description * Fix comment * Chore: refactor statement libs (#828) * Chore: adjust general statement docs * Chore: remove unnecessary local variables * Feat: salted keccak hashing * Chore: use `keccakSalted()` * Merging from feat/messaging003 and rebuilding * merging latest from feat/messaging003 * merging from messaging003 with the new getters * Fixing guard test after getLatestState getter was added back * Getting notary test to work * Fixing lint issues * generating go stuff yet again after merging in the latest messaging003 * Fixing the SendBaseMessage calls that messed up the gas limit * Doing go stuff for separating Summit and agent manager to reduce summit size * fixing broken test * Fixing more tests * Skipping executor tests while we fix it * Disabling agent integration test while fixing things * doing go generate explorer * label? * label? * updating omnirpc go.sum --------- Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com> Co-authored-by: Max Planck <maxplanck.crypto@gmail.com> Co-authored-by: χ² <88190723+ChiTimesChi@users.noreply.github.com> Co-authored-by: Simon <ak.simonm@gmail.com> Co-authored-by: trajan0x <83933037+trajan0x@users.noreply.github.com> Co-authored-by: Jonah Lin <57741810+linjonah@users.noreply.github.com>
Description
TypedMemView
was massively refactored in this PR.uint256
wrapped into custom typeMemView
instead ofbytes29
.MemView
library.clone()
summa-tx/memview-sol#13