Skip to content

Commit

Permalink
Generalized state compression (#470)
Browse files Browse the repository at this point in the history
* chore: updated lesson title, and summary

* chore: updated lesson and theoretical overview of state compression

* chore: updated lesson on concurrent merkle tree and broke it down into smaller sections for easy understanding

* chore: updated lesson on data access in a state-compressed program and tooling

* chore: updated lesson on indexing data for easy lookup

* chore: updated lesson on creating rust types for compression development process

* chore: updated lesson on initializing a new tree for compression development process

* chore: updated lesson on adding hashes to the tree for compression development process

* chore: updated lesson on adding hashes for compression development process

* chore: updated lesson on updating and deleting hashes for compression development process

* chore: updated lesson on updating and deleting hashes for compression development process

* chore: updated lesson on accessing data from a client for compression development process

* chore: update project setup in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update step 2: define note schema in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update step 3: define input account and constraints - in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update step 4: create "create_note_tree" instruction - in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update step 5: create "append_note_tree" instructuion - in Labs section for buiding a Note-Taking App with Generalized State Compression

* chore: update step 6: create "update_note" instruction - in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update step 7: "client test setup" instruction - in Lab section for Building a Note-Taking App with Generalized State Compression

* fix: update step 7 for more info into the utility file provided

* chore: update step 8: "write client test" instruction - in Lab section for Building a Note-Taking App with Generalized State Compression

* chore: update challenge section in Lab section for Building a Note-Taking App with Generalized State Compression

* fix: fixed content formatting issues

* fix: used grammarly to fix grammar issues

* fix: fixed on-chain to onchain

* fix: fixed lack of objectives semantic tag after title section

* fix: fixed description semantic tag issue

* Update content/courses/state-compression/generalized-state-compression.md

Fixed Merkle tree description summary

Co-authored-by: Mike MacCana <[email protected]>

* fix: fixed concurrent tree explanation markdown

* fix: fixed grammar issue in last intro to theoretical overview of state compression

* fix deterministic with predictably

* Update content/courses/state-compression/generalized-state-compression.md

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

Made the intro more clearer

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

reinforce that the final hash is called a Merkle root

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

removed redundant explanation of merkle tree

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

fixed redundant word "entire"

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

called out the concurrent modifier in a merkle tree

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

removed redundant establishment of concurrent merkle tree as the solution to dealing with multiple transactions in the same slot

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

remove redundant explanation of a concurrent merkle tree

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

corrected incorrect information of what is logged to the Noop Program

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

clarified what the Solana Noop Program is to the reader

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

added code blocks to file names, config option, and package names

Co-authored-by: Mike MacCana <[email protected]>

* Update content/courses/state-compression/generalized-state-compression.md

rename functions that handle instructions as function handlers as per the CONTRIBUTING.md guidelines

Co-authored-by: Mike MacCana <[email protected]>

* fix: fixed formatting issues

* fix: broke down content

* fix: reflected Mikes suggestion

* fix: fixed all rust content and addded extra documentation

* fix: updated the client side test, and made more explicit for clarity

* fix: fixed grammar issues with header semantic tag content

* fix: rephrased what state compression is per mikes suggestion

* fix: fix grammar and vocab issues

* fix: fixed instructional handler issue

* fix: fixed redundancies in test files

* fix: redirected them to main branch from solution branch

* fix: added package.json  and yarn lock

* revert: revert package json and yarn lock to main state

---------

Co-authored-by: Mike MacCana <[email protected]>
  • Loading branch information
danielAsaboro and mikemaccana authored Oct 4, 2024
1 parent 9a4e026 commit cd05d15
Show file tree
Hide file tree
Showing 3 changed files with 998 additions and 717 deletions.
Loading

0 comments on commit cd05d15

Please sign in to comment.