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

Moonbeam vs Ethereum reorg #888

Merged
merged 23 commits into from May 3, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ad107e8
move the moonbeam vs ethereum section
eshaben Feb 16, 2024
56ce4d6
grammar
eshaben Feb 17, 2024
9a2dd94
reorganize the core concepts content
eshaben Mar 13, 2024
8ac5ebf
update ethereum compatibility-related docs
eshaben Mar 15, 2024
4e1b908
remove rpc support from the core concepts section
eshaben Mar 15, 2024
68bbf07
reorganize the builders section
eshaben Mar 15, 2024
bc333a1
update names and description
eshaben Mar 15, 2024
e6f3d6c
rpc supp link
themacexpert Mar 22, 2024
7343dcb
update unified accounts links and images
eshaben Mar 25, 2024
a51b7c7
update description of Development Toolkit dropdown
eshaben Mar 25, 2024
281a631
Merge remote-tracking branch 'origin' into eshaben/moonbeam-vs-eth
eshaben Mar 25, 2024
cc2ae93
add the json rpc section and update the pages for consistency
eshaben Apr 17, 2024
ff4020a
update snippets and images
eshaben Apr 17, 2024
0c397db
Merge remote-tracking branch 'origin' into eshaben/reorg-builders
eshaben Apr 17, 2024
561b435
Merge remote-tracking branch 'origin' into eshaben/moonbeam-vs-eth
eshaben Apr 17, 2024
d0f9e6e
Merge branch 'eshaben/moonbeam-vs-eth' into eshaben/reorg-builders
eshaben Apr 17, 2024
b6cfef5
Merge remote-tracking branch 'origin' into eshaben/reorg-builders
eshaben Apr 29, 2024
4541002
update terminal snippets to v0.37.2
eshaben Apr 29, 2024
165c506
apply feedback
eshaben Apr 30, 2024
aa237e0
Merge pull request #889 from moonbeam-foundation/eshaben/reorg-builders
eshaben Apr 30, 2024
70e066e
Merge remote-tracking branch 'origin' into eshaben/moonbeam-vs-eth
eshaben Apr 30, 2024
6e6ead9
update a few links
eshaben Apr 30, 2024
777ed3d
remove subwallet
eshaben May 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,16 +1,16 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>docker pull moonbeamfoundation/moonbeam:v0.36.0</span>
<span data-ty="input"><span class="file-path"></span>docker pull moonbeamfoundation/moonbeam:v0.37.2</span>
<br>
<span data-ty>v0.36.0: Pulling from moonbeamfoundation/moonbeam
<br> e1caac4eb9d2: Pull complete
<br> 303f0b059437: Pull complete
<br> 1987eeb667a4: Pull complete
<br> c2b8e919bd5a: Pull complete
<br> c6a7952896a0: Pull complete
<br> 3ad97e77096a: Pull complete
<br> a5e5655dbb4f: Pull complete
<br> Digest: sha256:099e885c4601c8f7ba4408492f2df142920a794baf019cf71cf3a3a16810f504
<br> Status: Downloaded newer image for moonbeamfoundation/moonbeam:v0.36.0
<br> docker.io/moonbeamfoundation/moonbeam:v0.36.0
<span data-ty>v0.37.2: Pulling from moonbeamfoundation/moonbeam
<br> b0a0cf830b12: Pull complete
<br> fbff687640dd: Pull complete
<br> 58ea427410e2: Pull complete
<br> 811ba55e6e61: Pull complete
<br> 4316d5f1b914: Pull complete
<br> 128693ce218e: Pull complete
<br> a3ac90b88463: Pull complete
<br> Digest: sha256:1def3370159ee7d14fce3951a1198bda7c51af566e0b3d69ce4644338e29f046
<br> Status: Downloaded newer image for moonbeamfoundation/moonbeam:v0.37.2
<br> docker.io/moonbeamfoundation/moonbeam:v0.37.2
</span>
</div>
@@ -1,38 +1,38 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>docker run --rm --name moonbeam_development --network host \
<br> moonbeamfoundation/moonbeam:v0.36.0 \
<br> moonbeamfoundation/moonbeam:v0.37.2 \
<br> --dev --rpc-external
</span>
<br>
<span data-ty>CLI parameter `--execution` has no effect anymore and will be removed in the future!
<br> 2024-02-27 06:09:29 Moonbeam Parachain Collator
<br> 2024-02-27 06:09:29 ✌️ 0.36.0-d1087f30917
<br> 2024-02-27 06:09:29 ❤️ by PureStake, 2019-2024
<br> 2024-02-27 06:09:29 📋 Chain specification: Moonbase Development Testnet
<br> 2024-02-27 06:09:29 🏷 Node name: black-and-white-sticks-9174
<br> 2024-02-27 06:09:29 👤 Role: AUTHORITY
<br> 2024-02-27 06:09:29 💾 Database: RocksDb at /tmp/substrateO3YeRz/chains/moonbase_dev/db/full
<br> 2024-02-27 06:09:40 🔨 Initializing Genesis block/state (state: 0x7c34…99c5, header-hash: 0xa083…f354)
<br> 2024-02-27 06:09:40 Using default protocol ID "sup" because none is configured in the chain specs
<br> 2024-02-27 06:09:40 🏷 Local node identity is: 12D3KooWLcpczme2JeBEfLqmjqkzYVKTGKhhGmwSzHjRXGBVhDX7
<br> 2024-02-27 06:09:40 💻 Operating system: linux
<br> 2024-02-27 06:09:40 💻 CPU architecture: x86_64
<br> 2024-02-27 06:09:40 💻 Target environment: gnu
<br> 2024-02-27 06:09:40 💻 CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
<br> 2024-02-27 06:09:40 💻 CPU cores: 12
<br> 2024-02-27 06:09:40 💻 Memory: 7946MB
<br> 2024-02-27 06:09:40 💻 Kernel: 6.4.16-linuxkit
<br> 2024-02-27 06:09:40 💻 Linux distribution: Debian GNU/Linux 12 (bookworm)
<br> 2024-02-27 06:09:40 💻 Virtual machine: yes
<br> 2024-02-27 06:09:40 📦 Highest known block at #0
<br> 2024-02-27 06:09:40 Running JSON-RPC server: addr=0.0.0.0:9944, allowed origins=["*"]
<br> 2024-02-27 06:09:40 🏁 CPU score: 1.14 GiBs
<br> 2024-02-27 06:09:40 〽️ Prometheus exporter started at 127.0.0.1:9615
<br> 2024-02-27 06:09:40 🏁 Memory score: 10.41 GiBs
<br> 2024-02-27 06:09:40 🏁 Disk score (seq. writes): 987.96 MiBs
<br> 2024-02-27 06:09:40 🏁 Disk score (rand. writes): 363.65 MiBs
<br> 2024-02-27 06:09:40 Development Service Ready
<br> 2024-02-27 06:09:45 💤 Idle (0 peers), best: #0 (0xa083…f354), finalized #0 (0xa083…f354), ⬇ 0 ⬆ 0
<br> 2024-02-27 06:09:50 💤 Idle (0 peers), best: #0 (0xa083…f354), finalized #0 (0xa083…f354), ⬇ 0 ⬆ 0
<br> 2024-04-29 06:09:29 Moonbeam Parachain Collator
<br> 2024-04-29 06:09:29 ✌️ 0.37.2-be5032c7749
<br> 2024-04-29 06:09:29 ❤️ by PureStake, 2019-2024
<br> 2024-04-29 06:09:29 📋 Chain specification: Moonbase Development Testnet
<br> 2024-04-29 06:09:29 🏷 Node name: black-and-white-sticks-9174
<br> 2024-04-29 06:09:29 👤 Role: AUTHORITY
<br> 2024-04-29 06:09:29 💾 Database: RocksDb at /tmp/substrateO3YeRz/chains/moonbase_dev/db/full
<br> 2024-04-29 06:09:40 🔨 Initializing Genesis block/state (state: 0xf7c4…5c0f, header-hash: 0x42bd…3b5b)
<br> 2024-04-29 06:09:40 Using default protocol ID "sup" because none is configured in the chain specs
<br> 2024-04-29 06:09:40 🏷 Local node identity is: 12D3KooWLcpczme2JeBEfLqmjqkzYVKTGKhhGmwSzHjRXGBVhDX7
<br> 2024-04-29 06:09:40 💻 Operating system: linux
<br> 2024-04-29 06:09:40 💻 CPU architecture: x86_64
<br> 2024-04-29 06:09:40 💻 Target environment: gnu
<br> 2024-04-29 06:09:40 💻 CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
<br> 2024-04-29 06:09:40 💻 CPU cores: 12
<br> 2024-04-29 06:09:40 💻 Memory: 7946MB
<br> 2024-04-29 06:09:40 💻 Kernel: 6.4.16-linuxkit
<br> 2024-04-29 06:09:40 💻 Linux distribution: Debian GNU/Linux 12 (bookworm)
<br> 2024-04-29 06:09:40 💻 Virtual machine: yes
<br> 2024-04-29 06:09:40 📦 Highest known block at #0
<br> 2024-04-29 06:09:40 Running JSON-RPC server: addr=0.0.0.0:9944, allowed origins=["*"]
<br> 2024-04-29 06:09:40 🏁 CPU score: 1.14 GiBs
<br> 2024-04-29 06:09:40 〽️ Prometheus exporter started at 127.0.0.1:9615
<br> 2024-04-29 06:09:40 🏁 Memory score: 10.41 GiBs
<br> 2024-04-29 06:09:40 🏁 Disk score (seq. writes): 987.96 MiBs
<br> 2024-04-29 06:09:40 🏁 Disk score (rand. writes): 363.65 MiBs
<br> 2024-04-29 06:09:40 Development Service Ready
<br> 2024-04-29 06:09:45 💤 Idle (0 peers), best: #0 (0xa083…f354), finalized #0 (0xa083…f354), ⬇ 0 ⬆ 0
<br> 2024-04-29 06:09:50 💤 Idle (0 peers), best: #0 (0xa083…f354), finalized #0 (0xa083…f354), ⬇ 0 ⬆ 0
</span>
</div>
@@ -0,0 +1,25 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>docker run --network host \
<br>-u $(id -u ${USER}):$(id -g ${USER}) \
moonbeamfoundation/moonbeam-tracing:v0.37.2-2902-latest \
<br>--name="Moonbean-Tracing-Tutorial" \
<br>--unsafe-rpc-external \
<br>--ethapi=debug,trace,txpool \
<br>--wasm-runtime-overrides=/moonbeam/moonbase-substitutes-tracing \
<br>--runtime-cache-size 64 \
<br>--dev
</span>
<br>
<span data-ty>CLI parameter `--execution` has no effect anymore and will be removed in the future!
<br> 2024-04-29 13:52:00 Moonbeam Parachain Collator
<br> 2024-04-29 13:52:00 ✌️ version 0.37.2-be5032c7749
<br> 2024-04-29 13:52:00 ❤️ by PureStake, 2019-2024
<br> 2024-04-29 13:52:00 📋 Chain specification: Moonbase Development Testnet
<br> 2024-04-29 13:52:00 🏷 Node name: Moonbean-Tracing-Tutorial
<br> 2024-04-29 13:52:00 👤 Role: AUTHORITY
<br> 2024-04-29 13:52:00 💾 Database: RocksDb at /tmp/substrateO3YeRz/chains/moonbase_dev/db/full
<br> 2024-04-29 14:52:13 Found wasm override. version=moonbase-300 (moonbase-0.tx2.au3) file=/moonbeam/moonbase-substitutes-tracing/moonbase-runtime-300-substitute-tracing.wasm
<br> ...
<br> 2024-04-29 14:56:34 💤 Idle (0 peers), best: #0 (0x18e6…2eb1), finalized #0 (0x18e6…2eb1), ⬇ 0 ⬆ 0
</span>
</div>
@@ -0,0 +1,14 @@
<div id="termynal" data-termynal>
<span data-ty>asm override. version=moonbase-400 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/moo nbase-runtime-400-substitute-tracing.wasm
<br>Jun 03 12:45:55 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:45:55 [🌗] Found w asm override. version-moonbase-155 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/moo
nbase-runtime-155-substitute-tracing. wasm
<br>Jun 03 12:45:56 vmi719182. contaboserver.net moonbase [2115]: 2022-06-03 12:45:56 [🌗] Found w asm override. version-moonbase-501 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/moo nbase-runtime-501-substitute-tracing.wasm
<br>Jun 03 12:45:57 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:45:57 [🌗] Found w asm override. version-moonbase-1200 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/mo onbase-runtime-1200-substitute-tracing.wasm
<br>Jun 03 12:45:58 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:45:58 [🌗] Found w asm override. version-moonbase-47 (moonbase-1.tx2.au3) file=/var/lib/alphanet-data/wasm/moon base-runtime-47-substitute-tracing.wasm
<br>Jun 03 12:46:00 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:46:00 [🌗] Found w asm override. version=moonbase-1501 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/mo onbase-runtime-1501-substitute-tracing.wasm
<br>Jun 03 12:46:01 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:46:01 [🌗] Found w asm override. version-moonbase-900 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/moo nbase-runtime-900-substitute-tracing.wasm
<br>Jun 03 12:46:04 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:46:04 [🌗] Found w asm override. version-moonbase-1504 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/mo onbase-runtime-1504-substitute-tracing.wasm
<br>Jun 03 12:46:05 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:46:05 [🌗] Found w asm override. version-moonbase-1101 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/mo onbase-runtime-1101-substitute-tracing.wasm
<br>Jun 03 12:46:07 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:46:07 [🌗] Found w asm override. version-moonbase-800 (moonbase-0.tx2.au3) file=/var/lib/alphanet-data/wasm/moo nbase-runtime-800-substitute-tracing.wasm
</span>
</div>
@@ -0,0 +1,24 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>systemctl status moonbeam.service</span>
<span data-ty>● moonbeam.service - "Moonbase Alpha systemd service"
<br>Loaded: loaded (/etc/systemd/system/moonbeam.service; enabled; vendor preset: enabled)
<br>Active: active (running) since Fri 2022-06-03 12:45:08 EDT; 10min ago
<br>Main PID: 2115 (moonbeam)
<br>Tasks: 43 (limit: 19141)
<br>Memory: 9.5G
<br>CGroup:/system.slice/moonbeam.service
<br>--2115 /var/lib/alphanet-data/moonbeam --port 30334 --rpc-port 9944
</span>
<br>
<span data-ty>Jun 03 12:55:07 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:07 [🌗] >
<br>Jun 03 12:55:08 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:08 [Rela>
<br>Jun 03 12:55:12 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:12 [🌗] >
<br>Jun 03 12:55:13 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:13 [Rela>
<br>Jun 03 12:55:17 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:17 [🌗] >
<br>Jun 03 12:55:18 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:18 [Rela>
<br>Jun 03 12:55:19 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:19 [Rela>
<br>Jun 03 12:55:19 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:19 [Rela>
<br>Jun 03 12:55:19 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:19 [Rela>
<br>Jun 03 12:55:19 vmi719182.contaboserver.net moonbase [2115]: 2022-06-03 12:55:19 [Rela>
</span>
</div>
@@ -1,2 +1,2 @@
!!! note
There can be some unintended consequences when using the precompiled contracts on Moonbeam. Please refer to the [Security Considerations](/builders/get-started/eth-compare/security){target=\_blank} page for more information.
There can be some unintended consequences when using the precompiled contracts on Moonbeam. Please refer to the [Security Considerations](/learn/core-concepts/security){target=\_blank} page for more information.
@@ -1,6 +1,6 @@
#### Use a SQL Backend for Frontier {: #use-sql }

The default [Frontier](/learn/features/eth-compatibility/#frontier){target=\_blank} database, which comes standard with Moonbeam nodes and contains all of the Ethereum-related elements, such as transactions, blocks, and logs, can be modified to use a SQL backend. Since `eth_getLogs` is a very resource-intensive method, the SQL backend aims to provide a more performant alternative for indexing and querying Ethereum logs in comparison to the default RocksDB database.
The default [Frontier](/learn/platform/technology/#frontier){target=\_blank} database, which comes standard with Moonbeam nodes and contains all of the Ethereum-related elements, such as transactions, blocks, and logs, can be modified to use a SQL backend. Since `eth_getLogs` is a very resource-intensive method, the SQL backend aims to provide a more performant alternative for indexing and querying Ethereum logs in comparison to the default RocksDB database.

To spin up a node with a Frontier SQL backend, you'll need to add the `--frontier-backend-type sql` flag to your start-up command.

Expand Down
1 change: 1 addition & 0 deletions builders/.pages
Expand Up @@ -4,6 +4,7 @@ nav:
- index.md
- get-started
- build
- json-rpc
- pallets-precompiles
- interoperability
- integrations
4 changes: 2 additions & 2 deletions builders/build/.pages
@@ -1,8 +1,8 @@
title: Build
title: Development Toolkit
hide: false
nav:
- index.md
- 'Canonical Contracts': 'canonical-contracts.md'
- eth-api
- substrate-api
- 'Moonbeam Custom API': 'moonbeam-custom-api.md'

4 changes: 1 addition & 3 deletions builders/build/eth-api/.pages
@@ -1,8 +1,6 @@
title: Ethereum API
title: Ethereum Tools
nav:
- index.md
- libraries
- dev-env
- verify-contracts
- 'Debug & Trace': 'debug-trace.md'
- 'Events Subscription': 'pubsub.md'