Skip to content

Commit

Permalink
fix (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
calldelegation authored Jun 4, 2024
1 parent 3ce8e91 commit 81f73a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 51 deletions.
28 changes: 2 additions & 26 deletions docs/guides/docs/running-a-node/running-a-local-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,39 +44,15 @@ Here is an example of what that looks like using version {props.fuelCoreVersion}

For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.

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)

`chain_config.json`

<CodeImport
file="../../../chain-configuration/local/chain_config.json"
/>

`metadata.json`

<CodeImport
file="../../../chain-configuration/local/metadata.json"
/>

`state_config.json`

<CodeImport
file="../../../chain-configuration/local/state_config.json"
/>

`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)
When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the `local` folder of the repository you just cloned `./chain-configuration/local/`.

To start the node with a custom configuration, you can use the command below:

```sh
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 [`chain-configuration`](https://github.com/FuelLabs/chain-configuration/tree/master) repo.
To find an example `local` chain configuration folder for a specific `fuel-core` version, refer to the [`chain-configuration/local`](https://github.com/FuelLabs/chain-configuration/tree/master/local) repo.

### Funding a wallet locally

Expand Down
26 changes: 1 addition & 25 deletions docs/guides/docs/running-a-node/running-a-testnet-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,31 +92,7 @@ To run a local node with persistence, you must have a folder with the following

For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.

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)

`chain_config.json`

<CodeImport
file="../../../chain-configuration/ignition/chain_config.json"
/>

`metadata.json`

<CodeImport
file="../../../chain-configuration/ignition/metadata.json"
/>

`state_config.json`

<CodeImport
file="../../../chain-configuration/ignition/state_config.json"
/>

`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)
When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the `ignition` folder of the repository you just cloned `./chain-configuration/ignition/`.

## Running a Local Node

Expand Down

0 comments on commit 81f73a4

Please sign in to comment.