Blockscout
Error from docker container
- "Missing trie node" & "required historical state unavailable" in logs · Issue #2219 · blockscout/blockscout
- Missing trie node error from 0x00... account tx's [geth/clique] · Issue #1593 · blockscout/blockscout
- Browser is known after startup in the same error · Issue #4176 · blockscout/blockscout
docker
Unable to build Dockerfile · Issue #4023 · blockscout/blockscout · GitHub
docker build --file docker/Dockerfile .
- Repos
- GitHub - ulamlabs/blockscout-docker: Blockscout Docker image
- GitHub - xJonathanLEI/docker-blockscout: GitHub Actions workflow for building Blockscout Docker images
- GitHub - SurfingNerd/blockscout-docker-compose: A docker-compose ready setup for blockscout to spin up a new instance fast.
BlockScout Requirements
- erlang
- Install Latest Erlang on Ubuntu 20.04 | 18.04 LTS | ComputingForGeeks
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list sudo apt update sudo apt install erlang erl
- Rust
- Install Rust - Rust Programming Language
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt-get install -y elixir postgresql automake libtool inotify-tools make g++ cargo libgmp3-dev
Scratchpad
export DATABASE_URL=postgresql://user:password@localhost:5432/blockscout
export ETHEREUM_JSONRPC_VARIANT=ganache
export ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545
export COIN=SWMIO
make start
mix do deps.get, local.rebar --force, deps.compile, compile
Troubleshooting
Mix%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/2447%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/2447%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub) Mix%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/604%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/604%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub)
rm -rf _build/ deps/
git checkout v3.3.2-beta
mix do deps.get, local.rebar --force, deps.compile, compile
cd deps
git clone https://github.com/ayrat555/ex_keccak
rm -rf keccakf1600
mv ex_keccak keccakf1600