Releases

v0.5.1

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.5.1
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.56.1 (59eed8a2a 2021-11-01)
  • rustc 1.58.0-nightly (891ca5f63 2021-11-15)

Changes

Native runtimes

  • Stafi: 20

v0.5.0

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.5.0
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.56.1 (59eed8a2a 2021-11-01)
  • rustc 1.58.0-nightly (891ca5f63 2021-11-15)

Changes

1. Add functions of rDEX, which is an automated market maker DEX to privide continuous liquidity for rTokens. And there will also be LP mining activities at the same time.
2. rBridge supports rETH now. Users can transfer rETH between Ethereum and StaFi.
3. Check new types.json here(https://github.com/stafiprotocol/stafi-bootstrap/blob/master/types.json). It will take effect after performing a runtime upgrade.

Native runtimes

  • Stafi: 19

v0.4.10

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.10
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.56.1 (59eed8a2a 2021-11-01)
  • rustc 1.58.0-nightly (891ca5f63 2021-11-15)

Changes

1. Support the latest nightly compilation and update dependencies to fix apple M1 compilation issues.
2. Add function of swapping rFIS for FIS.
3. Optimize the unbond records of the rToken and make them include some unbonded records.

Native runtimes

  • Stafi: 18

v0.4.9

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.9
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Optimize the algorithm of claiming reward, and to prevent possible problems when modifying the configuration of minting activities.
2. Use the rToken rate for calculation before using the swap rate, which makes the DEX more accurate when you swap rTokens.

Native runtimes

  • Stafi: 17

v0.4.8

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.8
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Update the signature verify of substrate, like DOT/KSM etc.

Native runtimes

  • Stafi: 16

v0.4.7

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.7
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Add new BondAction type to support rBNB.
2. Add new bond functions to support swapping rToken to other platform when mints rToken.
3. Update the signature verify of rSOL.
4. Check new types.json here(https://github.com/stafiprotocol/stafi-bootstrap/blob/master/types.json). It will take effect after performing a runtime upgrade.

Native runtimes

  • Stafi: 15

v0.4.6

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.6
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Add rclaim module, which supports reward FIS when mints rToken.
2. Add functions to support rMATIC/rSOL/rBNB.
3. Add rdex module. Users can swap rToken to Native token.
4. Check new types.json here(https://github.com/stafiprotocol/stafi-bootstrap/blob/master/types.json). It will take effect after performing a runtime upgrade.

Native runtimes

  • Stafi: 14

v0.4.5

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.5
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Different relayers can be configured for different chains in the bridge, and then rToken can be swapped to the BSC ecosystem, etc.

Native runtimes

  • Stafi: 13

v0.4.4

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.4
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Make tx executable if the bond state is failed.

Native runtimes

  • Stafi: 12

v0.4.3

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.3
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Support verification signature of ed25519 and ecdsa.
2. Add TotalExpectedActive storage to optimize the calculation of rtoken rate.

Native runtimes

  • Stafi: 11

v0.4.2

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.2
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Add rToken modules. Users can stake their token to the pool to get rToken.
2. Add xclaim module, which user can claim xtoken.

Native runtimes

  • Stafi: 10

v0.4.1

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.1
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Fixed the withdraw issue of rFIS.
2. Optimized the automatic nomination function of rFIS.

Native runtimes

  • Stafi: 9

v0.4.0

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.4.0
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Add rFIS function, validator can register as a OV and user can bond FIS to the pool to get rFIS.
2. Support two-way bridge, user can swap ERC20 FIS to native FIS now. And the bridge supports rFIS too.
3. Check new types.json here. Will take effect after performing runtime upgrade.

Native runtimes

  • Stafi: 8

v0.3.3

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.3.3
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try
1
rustup install nightly-2020-10-06
2
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
3
cargo +nightly-2020-10-06 build --release
Copied!

Changes

1. Update stafi-blockchain to 2.0 stable version.
2. Add bridge modules, which support to swap your native FIS for ERC20 FIS.
3. Limit the maximum number of scheduled calls in the queue for a single block to 50.
4. Limit the maximum number of locks on an account to 50.
5. Check new types.json here. Will take effect after performing runtime upgrade.

Native runtimes

  • Stafi: 7

v0.3.2

Upgrade

1
cd stafi-node
2
git pull
3
git checkout v0.3.2
4
cargo build --release
Copied!
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.46.0 (04488afe3 2020-08-24)
  • rustc 1.48.0-nightly (0da580074 2020-09-22)
If you encounter compilation problems, please try rustup update

Changes

1. Reduce transaction fees. Only a small fee is required to send a transaction.
2. Tweak deposit costs. Reduce the amount of FIS that needs to be deposited, such as setting an identity, adding proxy etc.
3. Bump Nominator Reward Limits. Increase max nominator rewarded per validator from 64 to 256.
4. Add DefaultVote type for collective modules.
5. Upgrade the underlying framework.

Native runtimes

  • Stafi: 6