GithubHelp home page GithubHelp logo

documentation's Introduction

0L Network Documentation

This is the source for the documentation hosted here:

๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

https://0lnetwork.dev/

๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†

alternatively here: https://0lnetworkcommunity.github.io/documentation/

Maintainers

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

documentation's People

Contributors

0o-de-lally avatar 0xzoz avatar a-e-johnson avatar codilion avatar hemulin avatar kalvkusk avatar leirbag95 avatar misko9 avatar ncontrol88 avatar sirouk avatar the1oneid avatar veightor avatar willrnch avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

documentation's Issues

Documentation issues

Those are the problem I encountered during the validator/VFN setup:

1. libra config fullnode-init doesn't work

Issue

The documentation, states to run libra config fullnode-init. This command fails with the following error: Error: unable to parse HashValue

Solution

Solution was found on discord.

You can ignore that error and grab the genesis blob and waypoint from the repo direct: https://github.com/0LNetworkCommunity/epoch-archive-mainnet/tree/main/upgrades/v6.9.0

2. epoch-archive-mainnet make bins fails

Issue

The documentation, states to run make bins. This command fails with the following error: sudo: command not found

Solution

I do not have sudo because I'm using docker. I edited the Makefile to remove all references to sudo.

3. jq and bc not found

Issue

Running make bins fails if jq and bc are not installed (which is the case in docker)

Solution

apt install -y jq bc

4. make restore-all fails

Issue

make restore-all fails with:

rm -rf ~/.libra/data/db
if [  -eq 0 ]; then \
	make restore-init; \
fi
bash: line 1: [: -eq: unary operator expected

Solution

 restore-all: sync-repo wipe-db
-       if [ $(SKIP_INIT) -eq 0 ]; then \
-               make restore-init; \
-       fi
+       # if [ $(SKIP_INIT) -eq 0 ]; then
+       #       make restore-init;
+       # fi
        make restore-genesis

5. make restore-all fails again

Issue

cd ~/epoch-archive-mainnet/snapshots/
diem-db-tool restore bootstrap-db --target-db-dir ~/.libra/data/db --metadata-cache-dir ~/epoch-archive-mainnet/metacache --command-adapter-config ~/epoch-archive-mainnet/epoch-archive.yaml

Fails with:

2023-12-28T12:14:55.129869Z [main] ERROR /usr/local/cargo/git/checkouts/diem-7dee55d666bb1ba0/db1137b/storage/backup/backup-cli/src/coordinators/restore.rs:79 Restore coordinator failed. {"error":"epoch history restore failed: epoch ending restore failed: Invalid bitvec from the multi-signature"}
Error: epoch history restore failed: epoch ending restore failed: Invalid bitvec from the multi-signature
make: *** [Makefile:220: restore-all] Error 1

Solution

no solution yet

Theme config issue

Description

By default, the Prism syntax highlighting theme we use is Palenight. You can change this to another theme by passing the theme field in prism as themeConfig in your docusaurus.config.js Currently, we're using the dracula` theme, but it does not work

Potential solution
The idea would be to play with the config in the docusaurus.config.js file, a doc is provided to fix the problem.
https://docusaurus.io/fr/docs/3.0.1/markdown-features/code-blocks

Versions

    "@docsearch/js": "3"
    "@docusaurus/core": "3.0.0"
    "@docusaurus/preset-classic": "3.0.0"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.