StaFi_Protocol
Search
⌃K

Releases

v0.6.1

Upgrade

cd stafi-node
git pull
git checkout v0.6.1
cargo build --release
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.59.0 (9d1b2106e 2022-02-23)
  • rustc 1.59.0-nightly (e012a191d 2022-01-06)

Changes

1. Added checking function of exchange rate as a safeguard to deal with possible abnormal data.
2. Fix inaccurate data of rSOL.

Native runtimes

  • Stafi: 23

v0.6.0

Upgrade

cd stafi-node
git pull
git checkout v0.6.0
cargo build --release
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.59.0 (9d1b2106e 2022-02-23)
  • rustc 1.59.0-nightly (e012a191d 2022-01-06)

Changes

1. The execute_bond_and_swap function is added to support the optimization function of rMATIC and rBNB. The staking operation of the new version of rMATIC and rBNB only needs to interact with the target chain contract and does not need to interact with the StaFi chain.
2. Added the migrate_pool function to support data migration from the old rBNB pool to the new rBNB pool.
3. Optimize rETH minting function, add txHash check to ensure no repeated processing.

Native runtimes

  • Stafi: 22

v0.5.2

Upgrade

cd stafi-node
git pull
git checkout v0.5.2
cargo build --release
Priority: Medium (timely upgrade recommended)
This release was tested against the following versions of rustc. Other versions may work.
  • rustc 1.59.0 (9d1b2106e 2022-02-23)
  • rustc 1.59.0-nightly (e012a191d 2022-01-06)

Changes

1. Support FIS two-way cross-chain between StaFi chain and StaFiHub chain, and rATOM can only be swapped from StaFi chain to StaFiHub chain.
2. Remove code that is no longer used.

Native runtimes

  • Stafi: 21

v0.5.1

Upgrade

cd stafi-node
git pull
git checkout v0.5.1
cargo build --release
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

cd stafi-node
git pull
git checkout v0.5.0
cargo build --release
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

cd stafi-node
git pull
git checkout v0.4.10
cargo build --release
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

cd stafi-node
git pull
git checkout v0.4.9
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.8
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

Changes

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

Native runtimes

  • Stafi: 16

v0.4.7

Upgrade

cd stafi-node
git pull
git checkout v0.4.7
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.6
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.5
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.4
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

Changes

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

Native runtimes

  • Stafi: 12

v0.4.3

Upgrade

cd stafi-node
git pull
git checkout v0.4.3
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.2
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.4.1
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

Changes

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

Native runtimes

  • Stafi: 9

v0.4.0

Upgrade

cd stafi-node
git pull
git checkout v0.4.0
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.3.3
cargo build --release
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 install nightly-2020-10-06
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
cargo +nightly-2020-10-06 build --release

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

cd stafi-node
git pull
git checkout v0.3.2
cargo build --release
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