Comments (1)
My notes/questions are delineated by section of docs
Questions [UNIMPLEMENTED]
1. Running on the OVM
- Can Optimism users opt-in to whether to use
@eth-optimism/solc
or@eth-optimism/ovm-toolchain
? Or is one NPM package recommended over the over? Asked becuase the Scopelift tutorial is still being referenced. I thought that tutorial was now considered outdated because it used thetoolchain
instead of the Optimism's newsolc
version?
2. Running on OE
Local development
- Having the E2E system running locally isn't as satisfactory as having the system instance connected/ready to run your contracts with a single command. So, there should be some additional text that guides the user on how this is done. (Looks like the specifics for how to do this are within
optimism-integration
andintegration-tests
? Is yes, adding the most relevant portions of those README's here would be a helpful.)
Gotchas
- Is this chainID unique only to the local instance? Or does this chainID appear elsewhere?
- When will we know about how much or what to expect forL2 fees?
3. Bridging L1 and L2
- This section can use some TLC to clarify message passing. Overall, needs an explanation on the significance of message passing for apps (so apps know whether they need it).
Notes/Corrections/Clarifications and otherwise Quick-fixed [IMPLEMENTED]
Overview
- Point 2 can be clearer by using the description of what a full L2 is from section 2: "Integrate full local copy of Optimistic Ethereum (OE): get those contracts running on a local instance of the full L2 system, including a local L1 chain, sequencer, etc."
1. Running on the OVM
- Second paragraph: could clearly explain that the docs will expect you to have completed some tutorial (whether the
optimism-tutorial
or Scopelift's (if still relevant)) or already have your optimism contracts ready to go.
- Perhaps rewrite the last sentence as: "For the rest of this documentation, we'll expect you to have your prewritten OVM-compatible contracts ready to go. If you need help writing them, you can follow ouroptimism-tutorial
here, which should be pretty seamless." - Fix broken link, "here is an example config file" -- also reference Ben's advice on using the config file and add relevant helpful text afterwards
- Typo in the third paragraph: "but, these packages NPM have got you covered:" should be "But, these NPM packages have got you covered:"
- There should be links to GitHub pages for those npm packages:
-@eth-optimism/solc
: exports OVM compiler for[email protected]/0.6/0.7
-@eth-optimism/ovm-toolchain
: exports "OVM-ified"waffleV3.mockProvider
andganache
packages which will work with contracts output by the compiler. - The italicized note before the troubleshoot section:
- Could remove the double backslashes "//" at the beginning
- Break up first two points into 2 separate sentences
Troubleshooting
- First line can be more clearly rewritten as:
- "There are some small differences between the EVM and the OVM (such as removing usage of EVM opcodes which do not have an equivalent in OVM L2.) which could require some debugging at this stage. For help with these, you can check out the following resources:" - Referencing the Scopelift tut here again, but is this tutorial still helpful? (see question about using
solc
vs.toolchain
). - Third resource could use embedded link:
- "For a DEEP robust explanation of ALL OVM <> EVM incompatibilities"
2. Running on OE
Local deployment
- Before introducing the commands, make sure to clarify that Docker must be running :); rewrite the second sentence as, "Remember to make sure docker is running before running any commands. You can check out the full usage page for the full list of commands, but the basic commands to run are:"
3. Bridging L1 and L2
-
Clarify first sentence: "The last step to get our full local copy of OE ready to deploy is, if necessary, work on connecting L1 and L2.
-
Correcting all links to embedded links:
- Depositing SNX into L2
- Migrate SNX Escrow entries to L2 (transferring large amounts of state from L1->L2):
- Withdrawing SNX to L1:
Edit 2
Reorganized notes for better readability.
Quick-fixes have all been implemented in the PR.
Waiting for review/answers to the questions.
from community-hub.
Related Issues (20)
- Swap
- [missing doc link] The link to Retro PGF is missing
- Run a node link is for an archived github repo HOT 1
- False information in the docs? HOT 7
- Why doesn't the op have its own currency? I see that online and test chain transactions are displayed with eth? HOT 1
- L1 to L2 Deposit Example Link is broken
- Order network providers in providers.md alphabetically HOT 1
- Typo in "How is this going to be governed?" HOT 1
- Suggest a wallet HOT 2
- dead links in attestation docs HOT 2
- I'd love to see a wallet that is like a widget. similar to Samsung galaxy edge panel, a drawer type navigation bar widget.
- Gas fee increasing HOT 1
- I proceed
- Pre-bedrock protocol specs need to be updated throughout the docs
- Running a node without Docker docs requires more detail about l1kind HOT 1
- typo error ----Running an OP Mainnet or testnet node HOT 1
- Help joining new to community
- I agree please release
- Add LlamaNodes to - Node & API Providers
- Fix Broken Links HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community-hub.