diff --git a/.gitmodules b/.gitmodules
index ce4800be..ac3f73dd 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -64,3 +64,6 @@
[submodule "docs/nightly/sway-libs"]
path = docs/nightly/sway-libs
url = https://github.com/FuelLabs/sway-libs.git
+[submodule "docs/chain-configuration"]
+ path = docs/chain-configuration
+ url = https://github.com/FuelLabs/chain-configuration
diff --git a/docs/chain-configuration b/docs/chain-configuration
new file mode 160000
index 00000000..6aa3822d
--- /dev/null
+++ b/docs/chain-configuration
@@ -0,0 +1 @@
+Subproject commit 6aa3822d4fe884d2fa5b457a2837ca689e25300d
diff --git a/docs/fuel-core b/docs/fuel-core
index 9fddeccb..0463dfd8 160000
--- a/docs/fuel-core
+++ b/docs/fuel-core
@@ -1 +1 @@
-Subproject commit 9fddeccb4d112c148f6793bc3d21131a13778a25
+Subproject commit 0463dfd8bb3621489759465a31842d7b5b29b466
diff --git a/docs/fuel-graphql-docs b/docs/fuel-graphql-docs
index ab1a0a66..aa3e5125 160000
--- a/docs/fuel-graphql-docs
+++ b/docs/fuel-graphql-docs
@@ -1 +1 @@
-Subproject commit ab1a0a66ed2b75c15f95a566bed1a65c79308bea
+Subproject commit aa3e5125e4227e2618d259adb5b435c362373ece
diff --git a/docs/fuel-specs b/docs/fuel-specs
index 9788fffb..092a5e80 160000
--- a/docs/fuel-specs
+++ b/docs/fuel-specs
@@ -1 +1 @@
-Subproject commit 9788fffb48119a4a8f1915aef6e2583b67f5f083
+Subproject commit 092a5e80dfa6b2984bd0f9839d9a04c7904c38a5
diff --git a/docs/fuels-rs b/docs/fuels-rs
index 0a95de88..10fcbff2 160000
--- a/docs/fuels-rs
+++ b/docs/fuels-rs
@@ -1 +1 @@
-Subproject commit 0a95de88b57c7a604ee488a61cdf76b2dafbf615
+Subproject commit 10fcbff2e8697b6cc5d9a44afa38b0694c0d7d66
diff --git a/docs/fuels-ts b/docs/fuels-ts
index a1b4c5c7..56966f4a 160000
--- a/docs/fuels-ts
+++ b/docs/fuels-ts
@@ -1 +1 @@
-Subproject commit a1b4c5c78dd7576daea59b66333931a5c110e83c
+Subproject commit 56966f4a487b906e43aec5d032073dd4507f65cb
diff --git a/docs/fuels-wallet b/docs/fuels-wallet
index ca83b8c3..ad4ff0e8 160000
--- a/docs/fuels-wallet
+++ b/docs/fuels-wallet
@@ -1 +1 @@
-Subproject commit ca83b8c3bb84d6791120279f042ed5866bddbbcc
+Subproject commit ad4ff0e87c0458bb9ba965afc7a5ed0d1b016a78
diff --git a/docs/guides/docs/running-a-node/running-a-local-node.mdx b/docs/guides/docs/running-a-node/running-a-local-node.mdx
index 9a193ae4..0404ce97 100644
--- a/docs/guides/docs/running-a-node/running-a-local-node.mdx
+++ b/docs/guides/docs/running-a-node/running-a-local-node.mdx
@@ -42,32 +42,33 @@ forc deploy --default-signer --node-url 127.0.0.1:4000/v1/graphql
To modify the initial state of the chain, you must configure the `state_config.json` file in your chain configuration folder.
Here is an example of what that looks like using version {props.fuelCoreVersion} of `fuel-core`:
-
- Here is the [specific configuration](https://github.com/FuelLabs/fuel-core/tree/9fddeccb4d112c148f6793bc3d21131a13778a25/bin/fuel-core/chainspec/testnet)
+For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.
- `chain_config.json`
+When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the repository you just cloned `./chain-configuration/ignition/`.
-
+Inside you should find these [specific configuration files](https://github.com/FuelLabs/chain-configuration/tree/master/local)
- `metadata.json`
+`chain_config.json`
-
+
- `state_config.json`
+`metadata.json`
-
+
- `state_transition_bytecode.wasm`
+`state_config.json`
- Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/fuel-core/blob/9fddeccb4d112c148f6793bc3d21131a13778a25/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm)
+
-
+`state_transition_bytecode.wasm`
+
+Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/chain-configuration/blob/master/local/state_transition_bytecode.wasm)
To start the node with a custom configuration, you can use the command below:
@@ -75,7 +76,7 @@ To start the node with a custom configuration, you can use the command below:
fuel-core run --snapshot ./your/path/to/chain_config_folder --db-type in-memory --debug
```
-To find an example chain configuration folder for a specific `fuel-core` version, refer to the [`fuel-core`](https://github.com/FuelLabs/fuel-core/tree/9fddeccb4d112c148f6793bc3d21131a13778a25/bin/fuel-core/chainspec/testnet) repo.
+To find an example chain configuration folder for a specific `fuel-core` version, refer to the [`chain-configuration`](https://github.com/FuelLabs/chain-configuration/tree/master) repo.
### Funding a wallet locally
@@ -83,7 +84,21 @@ You can edit the `coins` array inside `state_config.json` to modify the initial
The `owner` address must be a `B256` type address (begins with `0x`) instead of a `Bech32` type (begins with `fuel`).
-The `amount` is a numerical value. In this example, the value translates to `11,152,921,504 ETH`.
+The `amount` is a numerical value. In the example below, the value translates to 1 ETH.
+
+```json
+"coins": [
+ {
+ "tx_id": "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "output_index": 0,
+ "tx_pointer_block_height": 0,
+ "tx_pointer_tx_idx": 0,
+ "owner": "0x488284d46414347c78221d3bad71dfebcff61ab2ae26d71129701d50796f714d",
+ "amount": 1000000000,
+ "asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
+ }
+]
+```
## Local node (with state persistence)
diff --git a/docs/guides/docs/running-a-node/running-a-testnet-node.mdx b/docs/guides/docs/running-a-node/running-a-testnet-node.mdx
index 6bf2d221..336696c8 100644
--- a/docs/guides/docs/running-a-node/running-a-testnet-node.mdx
+++ b/docs/guides/docs/running-a-node/running-a-testnet-node.mdx
@@ -2,7 +2,7 @@
title: Running a Testnet Node
category: Running a Node
parent:
- label: Guides
+ label: All Guides
link: /guides
---
@@ -24,15 +24,6 @@ parent:
trim="true"
/>
-To run a `testnet` node, you will need to install the `testnet` toolchain.
-
-You can do this by running the commands below.
-
-```sh
-fuelup toolchain install testnet
-fuelup default testnet
-```
-
{/*// ANCHOR: generate_fuel_p2p_key_command*/}
```sh
@@ -90,8 +80,6 @@ fuel-core-keygen new --key-type peering
### Do not share or lose this private key! Press any key to complete. ###
```
-
-
{/*// ANCHOR_END: generate_fuel_p2p_key_command*/}
{/*generate_fuel_p2p_key_end:example:start*/}
@@ -102,32 +90,33 @@ Make sure you save this somewhere safe so you don't need to generate a new key p
To run a local node with persistence, you must have a folder with the following chain configuration files:
-
- Here is the [specific configuration](https://github.com/FuelLabs/fuel-core/tree/9fddeccb4d112c148f6793bc3d21131a13778a25/bin/fuel-core/chainspec/testnet)
+For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.
- `chain_config.json`
+When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the repository you just cloned `./chain-configuration/ignition/`.
-
+Inside you should find these [specific configuration files](https://github.com/FuelLabs/chain-configuration/tree/master/ignition)
- `metadata.json`
+`chain_config.json`
-
+
- `state_config.json`
+`metadata.json`
-
+
- `state_transition_bytecode.wasm`
+`state_config.json`
- Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/fuel-core/tree/9fddeccb4d112c148f6793bc3d21131a13778a25/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm)
+
-
+`state_transition_bytecode.wasm`
+
+Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/chain-configuration/blob/master/ignition/state_transition_bytecode.wasm)
## Running a Local Node
@@ -135,28 +124,24 @@ To run a local node with persistence, you must have a folder with the following
Finally to put everything together to start the node, run the following command:
{/*running_a_local_node:example:end*/}
-
-
```sh
fuel-core run \
---service-name {ANY_SERVICE_NAME} \
---keypair {P2P_SECRET} \
---relayer {ETH_RPC_ENDPOINT} \
---ip 0.0.0.0 --port 4000 --peering-port 30333 \
---db-path ~/.testnet \
+--service-name=fuel-sepolia-testnet-node \
+--keypair {P2P_PRIVATE_KEY} \
+--relayer {ETHEREUM_RPC_ENDPOINT} \
+--ip=0.0.0.0 --port=4000 --peering-port=30333 \
+--db-path=~/.fuel-sepolia-testnet \
--snapshot ./your/path/to/chain_config_folder \
--utxo-validation --poa-instant false --enable-p2p \
---min-gas-price 1 --max-block-size 18874368 --max-transmit-size 18874368 \
---reserved-nodes /dns4/p2p-devnet.fuel.network/tcp/30333/p2p/16Uiu2HAm6pmJUedRFjennk4A8yWL6zCApHCuykzRRroqMjjxZ8o6,/dns4/p2p-devnet.fuel.network/tcp/30334/p2p/16Uiu2HAm8dBwTRzqazCMqQDdR8thMa7BKiW4ep2B4DoQQp6Qhyfd \
+--reserved-nodes /dns4/p2p-testnet.fuel.network/tcp/30333/p2p/16Uiu2HAmDxoChB7AheKNvCVpD4PHJwuDGn8rifMBEHmEynGHvHrf \
--sync-header-batch-size 100 \
--enable-relayer \
---relayer-v2-listening-contracts 0x01855B78C1f8868DE70e84507ec735983bf262dA \
---relayer-da-deploy-height 5827607 \
---relayer-log-page-size 2000
+--relayer-v2-listening-contracts=0x01855B78C1f8868DE70e84507ec735983bf262dA \
+--relayer-da-deploy-height=5827607 \
+--relayer-log-page-size=500 \
+--sync-block-stream-buffer-size 30
```
-
-
{/*running_a_local_node_end:example:start*/}
For the full description details of each flag above, run:
{/*running_a_local_node_end:example:end*/}
diff --git a/scripts/wallet-patch-fixes/download-link.mjs b/scripts/wallet-patch-fixes/download-link.mjs
index 12b7f7dc..6f4887ca 100644
--- a/scripts/wallet-patch-fixes/download-link.mjs
+++ b/scripts/wallet-patch-fixes/download-link.mjs
@@ -32,7 +32,7 @@ function handleConstantsFile(filePath, version) {
if (start !== undefined && end !== undefined) {
const downloadLink =
- 'https://github.com/FuelLabs/fuels-wallet/releases/download/v0.19.0/fuel-wallet-0.19.0.zip';
+ 'https://github.com/FuelLabs/fuels-wallet/releases/download/v0.21.0/fuel-wallet-0.21.0.zip';
const modifiedContent = `export const DOWNLOAD_LINK = '${downloadLink}';`;
lines.splice(start, end - start + 1, modifiedContent);
const newFileContent = lines.join(EOL);
diff --git a/src/components/SidebarSection.tsx b/src/components/SidebarSection.tsx
index 0f4a937e..83c047a4 100644
--- a/src/components/SidebarSection.tsx
+++ b/src/components/SidebarSection.tsx
@@ -41,7 +41,7 @@ export function SidebarSection({
if (!version && book !== 'Intro') {
switch (book) {
case 'GraphQL':
- githubLink = 'https://github.com/FuelLabs/fuel-core/tree/v0.26.0';
+ githubLink = 'https://github.com/FuelLabs/fuel-core/tree/v0.27.0';
break;
case 'Specs':
githubLink = 'https://github.com/FuelLabs/fuel-specs';
diff --git a/src/config/versions.json b/src/config/versions.json
index 3ec9b24b..97048e91 100644
--- a/src/config/versions.json
+++ b/src/config/versions.json
@@ -1,8 +1,8 @@
{
"default": {
"forc": "0.60.0",
- "rust": "0.62.0",
- "ts": "0.89.0",
- "wallet": "0.19.0"
+ "rust": "0.63.0",
+ "ts": "0.89.1",
+ "wallet": "0.21.0"
}
}