diff --git a/Cargo.lock b/Cargo.lock index a21044c..2691ce9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -578,7 +578,7 @@ dependencies = [ [[package]] name = "bridge-common" -version = "0.4.8" +version = "0.4.9" dependencies = [ "bridge-relayers", "frame-support", @@ -595,7 +595,7 @@ dependencies = [ [[package]] name = "bridge-relayers" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -610,7 +610,7 @@ dependencies = [ [[package]] name = "bridge-swap" -version = "0.4.8" +version = "0.4.9" dependencies = [ "bridge-common", "frame-support", @@ -2011,7 +2011,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "general-signature" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -3680,7 +3680,7 @@ dependencies = [ [[package]] name = "node-cli" -version = "0.4.8" +version = "0.4.9" dependencies = [ "assert_cmd", "frame-benchmarking-cli", @@ -3752,7 +3752,7 @@ dependencies = [ [[package]] name = "node-executor" -version = "0.4.8" +version = "0.4.9" dependencies = [ "criterion", "frame-benchmarking", @@ -3784,7 +3784,7 @@ dependencies = [ [[package]] name = "node-inspect" -version = "0.4.8" +version = "0.4.9" dependencies = [ "derive_more", "log", @@ -3800,7 +3800,7 @@ dependencies = [ [[package]] name = "node-primitives" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-system", "parity-scale-codec", @@ -3813,7 +3813,7 @@ dependencies = [ [[package]] name = "node-rpc" -version = "0.4.8" +version = "0.4.9" dependencies = [ "jsonrpc-core", "node-primitives", @@ -3840,7 +3840,7 @@ dependencies = [ [[package]] name = "node-rpc-client" -version = "0.4.8" +version = "0.4.9" dependencies = [ "futures 0.1.30", "hyper 0.12.35", @@ -3853,7 +3853,7 @@ dependencies = [ [[package]] name = "node-runtime" -version = "0.4.8" +version = "0.4.9" dependencies = [ "bridge-common", "bridge-relayers", @@ -3934,7 +3934,7 @@ dependencies = [ [[package]] name = "node-testing" -version = "0.4.8" +version = "0.4.9" dependencies = [ "criterion", "frame-support", @@ -5544,7 +5544,7 @@ dependencies = [ [[package]] name = "rclaim" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5558,7 +5558,7 @@ dependencies = [ [[package]] name = "rdexn-payers" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5573,7 +5573,7 @@ dependencies = [ [[package]] name = "rdexn-signatures" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5592,7 +5592,7 @@ dependencies = [ [[package]] name = "rdexn-swap" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5725,7 +5725,7 @@ checksum = "e005d658ad26eacc2b6c506dfde519f4e277e328d0eb3379ca61647d70a8f531" [[package]] name = "rfis" -version = "0.4.8" +version = "0.4.9" dependencies = [ "bridge-common", "frame-support", @@ -5782,7 +5782,7 @@ dependencies = [ [[package]] name = "rtoken-balances" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5796,7 +5796,7 @@ dependencies = [ [[package]] name = "rtoken-ledger" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5816,7 +5816,7 @@ dependencies = [ [[package]] name = "rtoken-rate" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5833,7 +5833,7 @@ dependencies = [ [[package]] name = "rtoken-relayers" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -5848,7 +5848,7 @@ dependencies = [ [[package]] name = "rtoken-series" -version = "0.4.8" +version = "0.4.9" dependencies = [ "bridge-common", "frame-support", @@ -5871,7 +5871,7 @@ dependencies = [ [[package]] name = "rtoken-votes" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -9448,7 +9448,7 @@ dependencies = [ [[package]] name = "xclaim" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", @@ -9461,7 +9461,7 @@ dependencies = [ [[package]] name = "xtoken-balances" -version = "0.4.8" +version = "0.4.9" dependencies = [ "frame-support", "frame-system", diff --git a/README.md b/README.md index 0794cfc..af0e957 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,12 @@ # stafi-node -[Stafi](https://stafi.io) is: +[StaFi](https://stafi.io) is: - The First Decentralized Protocol Unlocking Liquidity of Staked Assets -The protocol of Stafi is created by Substrate and adopts Nominated Proof-of-Stake (NPoS), which completes Staking by setting up Staking Contracts in the upper layer to communicate with public chains. The Staking process is immune to Stafi’s contracts, for the latter act as the account book during Staking. Tokens staked through contracts will be written in the contracts and finally be locked-up on the original chain. +The protocol of StaFi is created by Substrate and adopts Nominated Proof-of-Stake (NPoS), which completes Staking by setting up Staking Contracts in the upper layer to communicate with public chains. The Staking process is immune to StaFi’s contracts, for the latter act as the account book during Staking. Tokens staked through contracts will be written in the contracts and finally be locked-up on the original chain. For more specific guides, see the [documentation](https://docs.stafi.io). -## Note - -Now we are mainly testing the functions of block generation, transfer, staking, etc. We will open more codes later when we are ready. - ## Running from Source ### Building @@ -20,7 +16,12 @@ Welcome to participate in us. Download the source: ```bash git clone https://github.com/stafiprotocol/stafi-node.git cd stafi-node -git checkout v0.4.8 + +### Mainnet +git checkout v0.4.9 + +### Testnet +git checkout seiya ``` Install system dependencies(recommend ubuntu or macos): @@ -31,7 +32,7 @@ Install system dependencies(recommend ubuntu or macos): > You can add `export PATH="$HOME/.cargo/bin:$PATH"` in the ~/.bashrc and restart the terminal or run source ~/.cargo/env to update the environment. -Build Stafi: +Build StaFi: ```bash cargo build --release @@ -40,9 +41,17 @@ It may take 30m - 1h, which depends on your machine. > You may encounter CMAKE_PROJECT_VERSION error. Please scroll to the bottom and follow the instructions to fix it. +If you encounter other compilation problems, please try + +```bash +rustup install nightly-2020-10-06 +rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06 +cargo +nightly-2020-10-06 build --release +``` + ### Running -#### Stafi Mainnet +#### StaFi Mainnet If you want to be a validator. @@ -60,7 +69,7 @@ You can see your node on [telemetry] (set a custom name with `--name "my custom [telemetry]: https://telemetry.polkadot.io/#list/Stafi -#### Stafi Testnet +#### StaFi Testnet If you want to be a validator. @@ -78,7 +87,7 @@ You can see your node on [telemetry] (set a custom name with `--name "my custom [telemetry]: https://telemetry.polkadot.io/#list/Stafi%20Testnet%20Seiya -> Note: By default, Validator nodes are in archive mode. If you've already synced the chain not in archive mode, you must first remove the database with stafi purge-chain and then ensure that you run Stafi with the --pruning=archive option. The --pruning=archive flag is implied by the --validator and --sentry flags, so it is only required explicitly if you start your node without one of these two options. +> Note: By default, Validator nodes are in archive mode. If you've already synced the chain not in archive mode, you must first remove the database with staFi purge-chain and then ensure that you run StaFi with the --pruning=archive option. The --pruning=archive flag is implied by the --validator and --sentry flags, so it is only required explicitly if you start your node without one of these two options. More flags @@ -132,15 +141,15 @@ If you need to start from the beginning. You should clean your db. ``` ## Faucet for Seiya -You need to have some FIS tokens to participate in Seiya. +Seiya is the public testnet of StaFi. You need to have some FIS tokens to participate in Seiya. ### Get Faucet -- Join Stafi Protocol Group: [Click Here](https://t.me/stafi_protocol) -- Join Stafi Faucet Group: [Click Here](https://t.me/StafiFaucet) +- Join StaFi Protocol Group: [Click Here](https://t.me/stafi_protocol) +- Join StaFi Faucet Group: [Click Here](https://t.me/StafiFaucet) - On the Faucet group, reply /faucet + Account + Example: /faucet 35Eb25MdWe3aBuehR3Abx9caw7S68za39aYijvnWB5V3uv3S -- If your account meets the requirements for issuance, 500 tokens will be automatically distributed to your account, you can view your balance via [Stafi-apps](https://apps.stafi.io). +- If your account meets the requirements for issuance, 500 tokens will be automatically distributed to your account, you can view your balance via [StaFi-apps](https://apps.stafi.io). ### Faucet distribution rules @@ -167,11 +176,11 @@ It is now time to set up our validator. We will do the following: - **Bond the FIS tokens of the Stash account**. These FIS tokens will be put at stake for the security of the network and can be slashed. - **Select the Controller**. This is the account that will decide when to start or stop validating. -First, open [Stafi-apps](https://apps.stafi.io), go to the **Staking** section. Click on "Account Actions", and then the "+ Stash" button. +First, open [StaFi-apps](https://apps.stafi.io), go to the **Staking** section. Click on "Account Actions", and then the "+ Stash" button. - **Stash account** - Select your Stash account. In this example, we will bond 10 FIS tokens - make sure that your Stash account contains at least this much. You can, of course, stake more than this. - **Controller account** - Select the Controller account created earlier. This account will also need a small amount of FIS tokens in order to start and stop validating. -- **Value bonded** - How much FIS tokens from the Stash account you want to bond/stake. Note that you do not need to bond all of the tokens in that account. Also note that you can always bond more tokens later. However, withdrawing any bonded amount requires the duration of the unbonding period. On Stafi testnet, the unbonding period is 7 hours. On Stafi mainnet, the planned unbonding period is 14 days. +- **Value bonded** - How much FIS tokens from the Stash account you want to bond/stake. Note that you do not need to bond all of the tokens in that account. Also note that you can always bond more tokens later. However, withdrawing any bonded amount requires the duration of the unbonding period. On StaFi testnet, the unbonding period is 7 hours. On StaFi mainnet, the planned unbonding period is 14 days. - **Payment destination** - The account where the rewards from validating are sent. Once everything is filled in properly, click Bond and sign the transaction with your Stash account. @@ -203,9 +212,9 @@ Submit this extrinsic and you are now ready to start validating. ### Validate -To verify that your node is live and synchronized, head to Telemetry and find your node. Note that this will show all nodes on the Stafi network, which is why it is important to select a unique name! +To verify that your node is live and synchronized, head to Telemetry and find your node. Note that this will show all nodes on the StaFi network, which is why it is important to select a unique name! -If everything looks good, go ahead and click on "Validate" in Stafi-apps. +If everything looks good, go ahead and click on "Validate" in StaFi-apps. - **Payment preferences** - You can specify the percentage of the rewards that will get paid to you. The remaining will be split among your nominators. @@ -215,7 +224,7 @@ If you go to the "Staking" tab, you will see a list of active validators current The validator set is refreshed every era. In the next era, if there is a slot available and your node is selected to join the validator set, your node will become an active validator. Until then, it will remain in the waiting queue. If your validator is not selected to become part of the validator set, it will remain in the waiting queue until it is. There is no need to re-start if you are not selected for the validator set in a particular era. However, it may be necessary to increase the number of FIS tokens staked or seek out nominators for your validator in order to join the validator set. -Congratulations! If you have followed all of these steps, and been selected to be a part of the validator set, you are now running a Stafi validator! +Congratulations! If you have followed all of these steps, and been selected to be a part of the validator set, you are now running a StaFi validator! ## Compile error diff --git a/node/bench/Cargo.toml b/node/bench/Cargo.toml index cad4389..08ef551 100644 --- a/node/bench/Cargo.toml +++ b/node/bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-bench" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] description = "Stafi node integration benchmarks." edition = "2018" @@ -9,9 +9,9 @@ edition = "2018" [dependencies] log = "0.4.8" -node-primitives = { version = "0.4.8", path = "../primitives" } -node-testing = { version = "0.4.8", path = "../testing" } -node-runtime = { version = "0.4.8", path = "../runtime" } +node-primitives = { version = "0.4.9", path = "../primitives" } +node-testing = { version = "0.4.9", path = "../testing" } +node-runtime = { version = "0.4.9", path = "../runtime" } sc-cli = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sc-client-api = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sp-runtime = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 2f8f933..0842a7b 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-cli" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] description = "Generic Stafi node implementation in Rust." build = "build.rs" @@ -87,19 +87,19 @@ pallet-staking = { branch = "master", git = 'https://github.com/stafiprotocol/st pallet-grandpa = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } # node-specific dependencies -node-runtime = { version = "0.4.8", path = "../runtime" } -node-rpc = { version = "0.4.8", path = "../rpc" } -node-primitives = { version = "0.4.8", path = "../primitives" } -node-executor = { version = "0.4.8", path = "../executor" } +node-runtime = { version = "0.4.9", path = "../runtime" } +node-rpc = { version = "0.4.9", path = "../rpc" } +node-primitives = { version = "0.4.9", path = "../primitives" } +node-executor = { version = "0.4.9", path = "../executor" } # CLI-specific dependencies sc-cli = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } frame-benchmarking-cli = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } -node-inspect = { version = "0.4.8", optional = true, path = "../inspect" } +node-inspect = { version = "0.4.9", optional = true, path = "../inspect" } [target.'cfg(target_arch="x86_64")'.dependencies] -node-executor = { version = "0.4.8", path = "../executor", features = [ "wasmtime" ] } +node-executor = { version = "0.4.9", path = "../executor", features = [ "wasmtime" ] } sc-cli = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git', features = [ "wasmtime" ] } sc-service = { branch = "master", default-features = false, git = 'https://github.com/stafiprotocol/stafi-blockchain.git', features = [ "wasmtime" ] } sp-trie = { branch = "master", default-features = false, git = 'https://github.com/stafiprotocol/stafi-blockchain.git', features = ["memory-tracker"] } @@ -120,7 +120,7 @@ platforms = "0.2.1" [build-dependencies] structopt = { version = "0.3.8", optional = true } -node-inspect = { version = "0.4.8", optional = true, path = "../inspect" } +node-inspect = { version = "0.4.9", optional = true, path = "../inspect" } frame-benchmarking-cli = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } substrate-build-script-utils = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } substrate-frame-cli = { branch = "master", optional = true, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/executor/Cargo.toml b/node/executor/Cargo.toml index 1143058..199f756 100644 --- a/node/executor/Cargo.toml +++ b/node/executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-executor" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] description = "Stafi node implementation in Rust." edition = "2018" @@ -10,8 +10,8 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "1.3.4" } -node-primitives = { version = "0.4.8", path = "../primitives" } -node-runtime = { version = "0.4.8", path = "../runtime" } +node-primitives = { version = "0.4.9", path = "../primitives" } +node-runtime = { version = "0.4.9", path = "../runtime" } sc-executor = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sp-core = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sp-io = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } @@ -24,7 +24,7 @@ frame-benchmarking = { branch = "master", git = 'https://github.com/stafiprotoco criterion = "0.3.0" frame-support = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } frame-system = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } -node-testing = { version = "0.4.8", path = "../testing" } +node-testing = { version = "0.4.9", path = "../testing" } pallet-balances = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } pallet-grandpa = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } pallet-im-online = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/inspect/Cargo.toml b/node/inspect/Cargo.toml index 6a512f0..4349977 100644 --- a/node/inspect/Cargo.toml +++ b/node/inspect/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-inspect" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/bridge/common/Cargo.toml b/node/pallets/bridge/common/Cargo.toml index bd3c515..734bb48 100644 --- a/node/pallets/bridge/common/Cargo.toml +++ b/node/pallets/bridge/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bridge-common" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/bridge/relayers/Cargo.toml b/node/pallets/bridge/relayers/Cargo.toml index f2ac9bf..a2ffe93 100644 --- a/node/pallets/bridge/relayers/Cargo.toml +++ b/node/pallets/bridge/relayers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bridge-relayers" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/bridge/swap/Cargo.toml b/node/pallets/bridge/swap/Cargo.toml index 880c2ed..59e6f42 100644 --- a/node/pallets/bridge/swap/Cargo.toml +++ b/node/pallets/bridge/swap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bridge-swap" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/claims/rclaim/Cargo.toml b/node/pallets/claims/rclaim/Cargo.toml index d7a5523..ad68d07 100644 --- a/node/pallets/claims/rclaim/Cargo.toml +++ b/node/pallets/claims/rclaim/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rclaim" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/claims/xclaim/Cargo.toml b/node/pallets/claims/xclaim/Cargo.toml index b1de2f2..7a127a1 100644 --- a/node/pallets/claims/xclaim/Cargo.toml +++ b/node/pallets/claims/xclaim/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xclaim" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/general/signature/Cargo.toml b/node/pallets/general/signature/Cargo.toml index 286b9ff..2b48c4c 100644 --- a/node/pallets/general/signature/Cargo.toml +++ b/node/pallets/general/signature/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general-signature" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rcrypto/Cargo.toml b/node/pallets/rcrypto/Cargo.toml index 267fd7c..38451db 100644 --- a/node/pallets/rcrypto/Cargo.toml +++ b/node/pallets/rcrypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rcrypto" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rdexn/payers/Cargo.toml b/node/pallets/rdexn/payers/Cargo.toml index 766505c..e32fe36 100644 --- a/node/pallets/rdexn/payers/Cargo.toml +++ b/node/pallets/rdexn/payers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rdexn-payers" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rdexn/signatures/Cargo.toml b/node/pallets/rdexn/signatures/Cargo.toml index f13e9cd..ce781a6 100644 --- a/node/pallets/rdexn/signatures/Cargo.toml +++ b/node/pallets/rdexn/signatures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rdexn-signatures" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rdexn/swap/Cargo.toml b/node/pallets/rdexn/swap/Cargo.toml index 1f00b70..b77848d 100644 --- a/node/pallets/rdexn/swap/Cargo.toml +++ b/node/pallets/rdexn/swap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rdexn-swap" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/balances/Cargo.toml b/node/pallets/rtoken/balances/Cargo.toml index b184a31..21826b4 100644 --- a/node/pallets/rtoken/balances/Cargo.toml +++ b/node/pallets/rtoken/balances/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-balances" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/ledger/Cargo.toml b/node/pallets/rtoken/ledger/Cargo.toml index 93e302d..e67db4e 100644 --- a/node/pallets/rtoken/ledger/Cargo.toml +++ b/node/pallets/rtoken/ledger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-ledger" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/rate/Cargo.toml b/node/pallets/rtoken/rate/Cargo.toml index 93c9692..ad117c9 100644 --- a/node/pallets/rtoken/rate/Cargo.toml +++ b/node/pallets/rtoken/rate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-rate" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/relayers/Cargo.toml b/node/pallets/rtoken/relayers/Cargo.toml index b21198c..c34d1eb 100644 --- a/node/pallets/rtoken/relayers/Cargo.toml +++ b/node/pallets/rtoken/relayers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-relayers" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/rfis/Cargo.toml b/node/pallets/rtoken/rfis/Cargo.toml index be364d6..c00cfae 100644 --- a/node/pallets/rtoken/rfis/Cargo.toml +++ b/node/pallets/rtoken/rfis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rfis" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/series/Cargo.toml b/node/pallets/rtoken/series/Cargo.toml index 615550c..259fe72 100644 --- a/node/pallets/rtoken/series/Cargo.toml +++ b/node/pallets/rtoken/series/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-series" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/rtoken/votes/Cargo.toml b/node/pallets/rtoken/votes/Cargo.toml index 9b33ef2..3a0105e 100644 --- a/node/pallets/rtoken/votes/Cargo.toml +++ b/node/pallets/rtoken/votes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rtoken-votes" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/pallets/xtoken/balances/Cargo.toml b/node/pallets/xtoken/balances/Cargo.toml index 94d692e..e0b2b61 100644 --- a/node/pallets/xtoken/balances/Cargo.toml +++ b/node/pallets/xtoken/balances/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtoken-balances" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 4a774a7..e9b16cd 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-primitives" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" diff --git a/node/rpc-client/Cargo.toml b/node/rpc-client/Cargo.toml index 3d02db0..5d1ca8e 100644 --- a/node/rpc-client/Cargo.toml +++ b/node/rpc-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-rpc-client" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" @@ -12,6 +12,6 @@ futures = "0.1.29" hyper = "0.12.35" jsonrpc-core-client = { version = "15.0.0", default-features = false, features = ["http"] } log = "0.4.8" -node-primitives = { version = "0.4.8", path = "../primitives" } +node-primitives = { version = "0.4.9", path = "../primitives" } sp-tracing = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sc-rpc = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/rpc/Cargo.toml b/node/rpc/Cargo.toml index 6b18a21..2310e5f 100644 --- a/node/rpc/Cargo.toml +++ b/node/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-rpc" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" @@ -9,8 +9,8 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] jsonrpc-core = "15.0.0" -node-primitives = { version = "0.4.8", path = "../primitives" } -node-runtime = { version = "0.4.8", path = "../runtime" } +node-primitives = { version = "0.4.9", path = "../primitives" } +node-runtime = { version = "0.4.9", path = "../runtime" } pallet-transaction-payment-rpc = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sc-client-api = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sc-consensus-babe = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/runtime/Cargo.toml b/node/runtime/Cargo.toml index 0b2d3ca..88dee09 100644 --- a/node/runtime/Cargo.toml +++ b/node/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-runtime" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] edition = "2018" build = "build.rs" @@ -73,22 +73,22 @@ pallet-utility = { branch = "master", default-features = false, git = 'https://g pallet-transaction-payment = { branch = "master", default-features = false, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } pallet-transaction-payment-rpc-runtime-api = { branch = "master", default-features = false, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } pallet-vesting = { branch = "master", default-features = false, git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } -xtoken-balances = { version = "0.4.8", default-features = false, path = "../pallets/xtoken/balances" } -rtoken-balances = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/balances" } -rtoken-rate = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/rate" } -rfis = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/rfis" } -bridge-relayers = { version = "0.4.8", default-features = false, path = "../pallets/bridge/relayers" } -bridge-common = { version = "0.4.8", default-features = false, path = "../pallets/bridge/common", package = "bridge-common" } -bridge-swap = { version = "0.4.8", default-features = false, path = "../pallets/bridge/swap", package = "bridge-swap" } -rtoken-relayers = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/relayers" } -rtoken-votes = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/votes" } -rtoken-ledger = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/ledger" } -rtoken-series = { version = "0.4.8", default-features = false, path = "../pallets/rtoken/series" } -xclaim = { version = "0.4.8", default-features = false, path = "../pallets/claims/xclaim" } -rclaim = { version = "0.4.8", default-features = false, path = "../pallets/claims/rclaim" } -rdexn-payers = { version = "0.4.8", default-features = false, path = "../pallets/rdexn/payers" } -rdexn-signatures = { version = "0.4.8", default-features = false, path = "../pallets/rdexn/signatures" } -rdexn-swap = { version = "0.4.8", default-features = false, path = "../pallets/rdexn/swap" } +xtoken-balances = { version = "0.4.9", default-features = false, path = "../pallets/xtoken/balances" } +rtoken-balances = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/balances" } +rtoken-rate = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/rate" } +rfis = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/rfis" } +bridge-relayers = { version = "0.4.9", default-features = false, path = "../pallets/bridge/relayers" } +bridge-common = { version = "0.4.9", default-features = false, path = "../pallets/bridge/common", package = "bridge-common" } +bridge-swap = { version = "0.4.9", default-features = false, path = "../pallets/bridge/swap", package = "bridge-swap" } +rtoken-relayers = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/relayers" } +rtoken-votes = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/votes" } +rtoken-ledger = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/ledger" } +rtoken-series = { version = "0.4.9", default-features = false, path = "../pallets/rtoken/series" } +xclaim = { version = "0.4.9", default-features = false, path = "../pallets/claims/xclaim" } +rclaim = { version = "0.4.9", default-features = false, path = "../pallets/claims/rclaim" } +rdexn-payers = { version = "0.4.9", default-features = false, path = "../pallets/rdexn/payers" } +rdexn-signatures = { version = "0.4.9", default-features = false, path = "../pallets/rdexn/signatures" } +rdexn-swap = { version = "0.4.9", default-features = false, path = "../pallets/rdexn/swap" } [build-dependencies] wasm-builder-runner = { branch = "master", package = "substrate-wasm-builder-runner", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } diff --git a/node/runtime/src/lib.rs b/node/runtime/src/lib.rs index 669bc1e..81d71cd 100644 --- a/node/runtime/src/lib.rs +++ b/node/runtime/src/lib.rs @@ -102,7 +102,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 16, + spec_version: 17, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/node/testing/Cargo.toml b/node/testing/Cargo.toml index 4a11ca4..03c3add 100644 --- a/node/testing/Cargo.toml +++ b/node/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-testing" -version = "0.4.8" +version = "0.4.9" authors = ["Stafi Technologies "] description = "Test utilities for Stafi node." edition = "2018" @@ -18,9 +18,9 @@ codec = { package = "parity-scale-codec", version = "1.3.4" } pallet-grandpa = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } pallet-indices = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sp-keyring = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } -node-executor = { version = "0.4.8", path = "../executor" } -node-primitives = { version = "0.4.8", path = "../primitives" } -node-runtime = { version = "0.4.8", path = "../runtime" } +node-executor = { version = "0.4.9", path = "../executor" } +node-primitives = { version = "0.4.9", path = "../primitives" } +node-runtime = { version = "0.4.9", path = "../runtime" } sp-core = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } sp-io = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' } frame-support = { branch = "master", git = 'https://github.com/stafiprotocol/stafi-blockchain.git' }