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

docs: prepare onboarding material for Osmosis chain dev #1388

Open
p0mvn opened this issue May 2, 2022 · 5 comments
Open

docs: prepare onboarding material for Osmosis chain dev #1388

p0mvn opened this issue May 2, 2022 · 5 comments
Labels
C:docs Improvements or additions to documentation

Comments

@p0mvn
Copy link
Member

p0mvn commented May 2, 2022

Background

We should have onboarding material across various levels of the tech stack to help new engineers understand the full scope of the project. The following components should be considered:

  • Tendermint / ABCI (consensus layer)
  • IAVL (storage layer)
  • SDK
    • snapshots
    • pruning
    • other SDK related features
    • core modules used by our project
  • Osmosis app
    • core modules

The onboarding material should be concise, without going into much detail. The expectation is that this document is to be the first material to be looked at when onboarding on Osmosis. Links should be added for each topic to be explored in more depth on a needs basis.

@p0mvn p0mvn added the C:docs Improvements or additions to documentation label May 2, 2022
@daniel-farina daniel-farina moved this to 🔍 Needs Review in Osmosis Chain Development May 2, 2022
@alexanderbez
Copy link
Contributor

I love the motivation, but I've seen this time and time again, eventually the docs fall out of date/sync and folks end up referencing material that is no longer relevant. Do you mean documentation of these concepts in relation to Osmosis?

@ValarDragon
Copy link
Member

I'm imagining a powerpoint, that has a brief descriptions of the various components of the stack, and known problems we face from them, e.g.:

  • P2P layer, security concerns, gets overloaded very quickly, lots of annoying logs
  • Mempool layer, FIFO txs, Runs ABCI CheckTX. (Which runs antehandler middleware & msg.ValidateBasic), builds txs based off of GasWanted.
  • Tendermint Consensus, there exist prevote, precommits, and round increases. Some info on double signs
  • ABCI, (CheckTx, DeliverTx, Commit) expectations
  • ABCI++ (can just copy existing slides)
  • State machine
  • IAVL exists, is slow. We do one big write at end of block
  • what is app module vs other modules
  • Structure of a cosmos module
  • Links to important genera info to have (staking)
  • Osmosis repo modules
    • Epochs, superfluid, gamm, lockup, incentivess
    • Diagram of how they link together

As far as I know, haven't seen any high level explanations to show to new folks. I end up doing that on calls at the moment, in very ad-hoc ways

@alexanderbez
Copy link
Contributor

Nice! Yeah a PDF on this would be dope. I like the idea!

@p0mvn p0mvn self-assigned this Jul 13, 2022
@p0mvn p0mvn moved this from Needs Review 🔍 to Todo 🕒 in Osmosis Chain Development Jul 20, 2022
@nicolaslara
Copy link
Contributor

Not sure if you're familiar with markdown slides but it may be an easy way to keep it maintainable while still having it show up in slide format

@p0mvn p0mvn removed their assignment Aug 29, 2022
@p0mvn
Copy link
Member Author

p0mvn commented Sep 7, 2022

ref: cosmos/cosmos-sdk#13171

Just linking this to port some ideas over when we start working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:docs Improvements or additions to documentation
Projects
Status: Todo 🕒
Development

No branches or pull requests

4 participants