Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/debugging/index.md → docs/docs/debugging.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 1
title: Debugging
sidebar_position: 14
description: The page dedicated to debugging of most frequent errors and issues on Reactive Network.
slug: /debugging/
slug: /debugging
hide_title: true
---

![Debugging Image](./img/debugging.jpg)
![Debugging Image](../docs/img/debugging.jpg)

## Overview

Expand All @@ -31,13 +31,13 @@ bytes memory payload = abi.encodeWithSignature(
emit Callback(chain_id, stop_order, CALLBACK_GAS_LIMIT, payload);
```

[More on Callbacks →](../docs/events-and-callbacks.md#callbacks-to-destination-chains)
[More on Callbacks →](events-and-callbacks.md#callbacks-to-destination-chains)

## Contract Inactive

If you see `Contract Status: Inactive` on Reactscan, it means the contract doesn’t have enough funds to cover gas for reactive transactions. Both **destination** and **reactive contracts** must hold sufficient balance to stay active.

![Debugging Image](./img/contract-inactive.png)
![Debugging Image](../docs/img/contract-inactive.png)

You can either fund the relevant contract on deployment:

Expand Down Expand Up @@ -67,7 +67,7 @@ To check the outstanding debt, query the relevant proxy contract (`0x00000000000
cast call $PROXY_ADDR "debts(address)" $CONTRACT_ADDR --rpc-url $RPC_URL | cast to-dec
```

[More on Reactive Economy →](../docs/economy.md)
[More on Reactive Economy →](economy.md)

## Getting Testnet lREACT

Expand Down Expand Up @@ -111,7 +111,7 @@ cast send 0x2afaFD298b23b62760711756088F75B7409f5967 \
--value 0.1ether
```

[More on Reactive Faucet →](../docs/reactive-mainnet.mdx#get-testnet-react)
[More on Reactive Faucet →](reactive-mainnet.mdx#get-testnet-react)

## Reactive Faucet Issue

Expand Down
75 changes: 0 additions & 75 deletions docs/docs/faq.md

This file was deleted.

File renamed without changes
4 changes: 1 addition & 3 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ Reactive contracts receive event logs from various chains, executing Solidity lo

[Reactive Education →](../education/introduction/index.md) Begin a Reactive Tech education course.

[FAQ →](./faq.md) Find answers to common questions.

[Debugging →](../debugging/index.md) Debug errors and issues related to Reactive and beyond.
[Debugging →](debugging.md) Debug errors and issues related to Reactive and beyond.

[Contacts →](../contacts/index.md) Reach out via socials for technical or trading inquiries.

8 changes: 1 addition & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,6 @@ const config = {
position: "left",
label: "Education",
},
{
type: "docSidebar",
sidebarId: "debugging",
position: "left",
label: "Debugging",
},
{
type: "docSidebar",
sidebarId: "contacts",
Expand All @@ -141,7 +135,7 @@ const config = {
position: 'right',
},
{
href: 'https://github.com/Reactive-Network',
href: 'https://github.com/Reactive-Network/reactive-smart-contract-demos',
label: 'GitHub',
position: 'right',
},
Expand Down
Loading