Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/rsk-cli-changes' in…
Browse files Browse the repository at this point in the history
…to rsk-cli-changes
  • Loading branch information
owans committed Jan 9, 2025
2 parents 37d3b96 + 1434f1a commit 480f4a1
Show file tree
Hide file tree
Showing 77 changed files with 1,413 additions and 339 deletions.
4 changes: 3 additions & 1 deletion changelog/2024-11-05-introducing-arrowhead-6.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ tags: [release, arrowhead]
url: https://blog.rootstock.io/noticia/arrowhead-6-4-0-introducing-fiat-stable-minimum-gas-price/
---

**Summary**: The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.4.0). This update introduces the **fiat-stable minimum gas price feature** (disabled by default), enabling mining pools to automatically adjust their minimum gas price configuration based on the price of Bitcoin. Additionally, it includes JSON-RPC interface improvements and dependency upgrades, now supporting **Java 21 LTS**.
**Summary**:

The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.4.0). This update introduces the **fiat-stable minimum gas price feature** (disabled by default), enabling mining pools to automatically adjust their minimum gas price configuration based on the price of Bitcoin. Additionally, it includes JSON-RPC interface improvements and dependency upgrades, now supporting **Java 21 LTS**.

> Note that this upgrade is optional, however it is strongly recommended that users update their nodes to the latest version to benefit from enhanced performance and security.
12 changes: 12 additions & 0 deletions changelog/2024-12-06-introducing-arrowhead-6.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Introducing Arrowhead 6.5.0"
author: Rootstock
tags: [release, arrowhead]
url: https://blog.rootstock.io/noticia/rootstock-arrowhead-6-5-0-optimizing-developer-experience/
---

**Summary**:

The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.5.0). This update features new debugging methods and other improvements to the JSON-RPC interface, designed to optimize the developer experience.

> Note that this upgrade is optional, however it is strongly recommended that users update their nodes to the latest version to benefit from enhanced performance and security.
183 changes: 93 additions & 90 deletions docs/01-concepts/glossary.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/01-concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This section equips you with the fundamental knowledge required to navigate the
| ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [Rootstock Blockchain Overview](/concepts/fundamentals/) | Gain a comprehensive understanding of the Rootstock platform. |
| [Rootstock Stack](/concepts/fundamentals/stack/) | Learn about how Rootstock combines the security of Bitcoin PoW with Ethereum's smart contract functionality.|
| [Glossary](/concepts/glossary/) | This glossary provides essential definitions for key terms related to Rootstock and blockchain technology.|
| [RBTC Token](/concepts/rbtc/) | The RBTC token fuels transactions on the Rootstock network. Converting BTC to RBTC is straightforward using various methods. Visit the RBTC section for a comprehensive list of exchanges and applications facilitating RBTC acquisition. Visit the [RBTC section](https://rootstock.io/rbtc/) for a list of exchanges and apps to get RBTC.|
| [RIF Suite](/concepts/rif-suite/) | Learn about the Rootstock Infrastructure Framework, a comprehensive set of Open-source tools and technologies designed to streamline and incentivize development on Bitcoin.|
| [Rootstock Security](/concepts/powpeg/security-model/) | The Rootstock platform uses a security mechanism called the [Powpeg](/concepts/powpeg/), it is based on a layered security model, called “defence-in-depth”.|
Expand Down
4 changes: 2 additions & 2 deletions docs/01-concepts/rbtc/conversion-with-ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In this section, we will go over the steps of converting BTC to RBTC using Ledge
[Ledger Live](https://www.ledger.com/ledger-live)
and review this tutorial:
- You need to have [Electrum](https://electrum.org/).
Install it and [configure it to be used with Ledger](https://support.ledgerwallet.com/hc/en-us/articles/115005161925-Set-up-and-use-Electrum).
Install it and [configure it to be used with Ledger](https://support.ledger.com/article/115005161925-zd).
- Node >= 10.16.0

## BTC to RBTC conversion
Expand All @@ -28,7 +28,7 @@ We recommend to use Electrum BTC wallet for connecting to
BTC Mainnet using Ledger hardware wallet.

- Download the wallet from
[Electrum Website](https://bitzuma.com/posts/a-beginners-guide-to-the-electrum-bitcoin-wallet/)
[Electrum Website](https://coingate.com/blog/post/setup-electrum-guide)
- Install Electrum
- Connect and unlock your Ledger device.
- Open the Bitcoin app
Expand Down
7 changes: 7 additions & 0 deletions docs/01-concepts/rbtc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ sidebar_label: RBTC Token

RBTC is the token used to [pay for the execution](/concepts/rbtc/gas/) of transactions in Rootstock. You can [convert BTC into RBTC](conversion.md) by sending BTC through the [Powpeg](/concepts/powpeg/) (both in Testnet and Mainnet), or by using the [faucet in Testnet](https://faucet.rootstock.io/), or via decentralized exchanges.

:::info[Additional Faucet Options (Please note these faucets may have daily limits)]

* Use [Thirdweb Faucet](https://thirdweb.com/rootstock-testnet): This faucet offers a convenient way to get free test RBTC tokens for development and testing. Its max daily token allocation is `0.01` tRBTC.
* Use [Blast Faucet](https://blastapi.io/faucets/rootstock-testnet): This faucet offers a convenient way to get free test RBTC tokens for development and testing. It has a higher max daily token allocation of `0.1` tRBTC.

:::

See [supported wallets](/dev-tools/wallets/).

<Button href="https://rootstock.io/rbtc/#get-rbtc">Get RBTC</Button>
Expand Down
1 change: 0 additions & 1 deletion docs/02-developers/02-requirements/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ This guide provides clear instructions for developers on the supported Solidity
<Step title="Software Requirements:">



Set up the necessary software for a seamless development experience:

- **Solidity Version:**
Expand Down
14 changes: 13 additions & 1 deletion docs/02-developers/03-blockchain-essentials/02-overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,19 @@ Note that when `eth_estimateGas` is called, the node simulates the transaction e
The simulation runs through the entire transaction process as if it were being executed, including checking for sufficient balance, contract code execution, etc.
During the simulation, the method calculates the exact amount of gas that would be consumed by the transaction if it were to be executed on the blockchain. The estimated gas amount is returned, helping users set an appropriate gas limit for the actual transaction.

There is a difference in Rootstock compared to Ethereum, and it is that if one of the steps of the simulated transaction fails, the node will return the gas estimation needed for the transaction, while on Ethereum, the node will return an error instead of the gas estimation.
:::info[Info]

**Prior to Arrowhead 6.5.0**, there was a difference in Rootstock compared to Ethereum:

- If one of the steps of the simulated transaction fails, the node would return the gas estimation needed for the transaction
- On Ethereum, the node would return an error instead of the gas estimation.

**Starting with Arrowhead 6.5.0:**

- Rootstock will behave same way as Ethereum's behavior for simulated transaction failures.
- If a simulated transaction step fails, the node will now return an error, mirroring Ethereum's response.

:::

You can see this behavior in the following example, where a call for `eth_estimateGas` on a transaction that would be executed from an address without enough balance.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ This is currently zero, which means that we cannot send any transactions to the

Now you should have a balance of tRBTC, and you will be able to send transactions on the Rootstock Testnet!

:::info[Additional Faucet Options (Please note these faucets may have daily limits)]

* Use [Thirdweb Faucet](https://thirdweb.com/rootstock-testnet): This faucet offers a convenient way to get free test RBTC tokens for development and testing. Its max daily token allocation is `0.01` tRBTC.
* Use [Blast Faucet](https://blastapi.io/faucets/rootstock-testnet): This faucet offers a convenient way to get free test RBTC tokens for development and testing. It has a higher max daily token allocation of `0.1` tRBTC.

:::

## Configure Custom Token for tRIF

The Rootstock Infrastructure Framework (RIF) includes multiple services for decentralised applications.
Expand Down
4 changes: 2 additions & 2 deletions docs/02-developers/04-quickstart/ape.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In this guide, we will learn about the [Ape Framework](https://apeworx.io/framew
To get started with Ape, ensure the following tools are installed:
- Linux or macOS
- Python 3.9 up to 3.12
- Windows: Install Windows Subsystem Linux [(WSL](https://learn.microsoft.com/en-us/windows/wsl/install))
- Windows: Install Windows Subsystem Linux [(WSL](https://learn.microsoft.com/en-us/windows/wsl/install)
- Check the python version in a terminal with python3 --version.

## Create a Ape project
Expand Down Expand Up @@ -99,7 +99,7 @@ If you do not want to see your mnemonic, select `n`. Alternatively, use the `--h

:::warning[Warning]

Don't forget to add funds to the account generated. To get tRBTC, use the [Rootstock Faucet](https://faucet.rootstock.io/).
Don't forget to add funds to the account generated. To get tRBTC, use the [Rootstock Faucet](https://faucet.rootstock.io/). Additional faucet options include; [Thirdweb](https://thirdweb.com/rootstock-testnet) and [Blast](https://blastapi.io/faucets/rootstock-testnet) Faucets.
To import an existing account check [Importing Existing Accounts](https://docs.apeworx.io/ape/stable/userguides/accounts.html#importing-existing-accounts) documentation.
Expand Down
Loading

0 comments on commit 480f4a1

Please sign in to comment.