-
Notifications
You must be signed in to change notification settings - Fork 335
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
Add documentation on customizing the Orbit STF #668
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey there!
Thanks!💙🧡 |
1 similar comment
Hey there!
Thanks!💙🧡 |
Hey there!
Thanks!💙🧡 |
Hey there!
Thanks!💙🧡 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical content all looks solidly covered to me
|
||
- The STF must be deterministic. For instance, if you gave an address a random balance using the Go randomness library, | ||
every node would disagree on the correct amount of balance and the blockchain would not function correctly. | ||
However, it is acceptable to take a non-deterministic path to a deterministic output. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pedantic point, but this made me think of the non-deterministic preimages issue caused by iteration over a map in the go-ethereum code that we solved :D
```shell | ||
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 @latestNitroNodeImage@ --parent-chain.connection.url=<YourParentChainUrl> --chain.id=<YourOrbitChainId> --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=* | ||
``` | ||
Next, follow the steps in [How to customize your Orbit chain's behavior](./customize-stf.mdx) to build a modified Arbitrum Nitro node docker image and run it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we redirect to ./customize-stf.mdx#Building-a-Dev-Image ?
```shell | ||
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 @latestNitroNodeImage@ --parent-chain.connection.url=<YourParentChainUrl> --chain.id=<YourOrbitChainId> --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=* | ||
``` | ||
Next, follow the steps in [How to customize your Orbit chain's behavior](./customize-stf.mdx) to build a modified Arbitrum Nitro node docker image and run it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Hey there!
Thanks!💙🧡 |
Format warning refers to the Quickstart for Solidity, which currently has a minor formatting issue. I will leave it out of this PR to focus the changes on the affected pages. |
Hey there!
Thanks!💙🧡 |
Hey there!
Thanks!💙🧡 |
…rum-docs into customize-stf
No description provided.