Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associating block numbers to events in the credit module #109

Open
songhaoxin opened this issue Nov 19, 2021 · 0 comments
Open

Associating block numbers to events in the credit module #109

songhaoxin opened this issue Nov 19, 2021 · 0 comments

Comments

@songhaoxin
Copy link
Contributor

To describe exactly which block the event occurred in, block numbers are associated for all events.

songhaoxin added a commit that referenced this issue Nov 19, 2021
songhaoxin added a commit that referenced this issue Nov 22, 2021
* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation
jerry-yu pushed a commit that referenced this issue Dec 13, 2021
after take from account, balance should be grater than min_balance

remove redundant conditions

remove conucil module

add github actions

don't add cargo clippy now

fix test

trigger ci on pull request

client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

update sepc_version:5 and edit Readme.md (#119)

Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed
jerry-yu pushed a commit that referenced this issue Dec 13, 2021
after take from account, balance should be grater than min_balance

remove redundant conditions

remove conucil module

add github actions

don't add cargo clippy now

fix test

trigger ci on pull request

client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

update sepc_version:5 and edit Readme.md (#119)

Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed
jerry-yu pushed a commit that referenced this issue Dec 13, 2021
after take from account, balance should be grater than min_balance

remove redundant conditions

remove conucil module

add github actions

don't add cargo clippy now

fix test

trigger ci on pull request

client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

update sepc_version:5 and edit Readme.md (#119)

Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed
jerry-yu pushed a commit that referenced this issue Dec 13, 2021
* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation
jerry-yu pushed a commit that referenced this issue Dec 13, 2021
after take from account, balance should be grater than min_balance

remove redundant conditions

remove conucil module

add github actions

don't add cargo clippy now

fix test

trigger ci on pull request

client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

update sepc_version:5 and edit Readme.md (#119)

Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed
AmadeusGB added a commit that referenced this issue Dec 16, 2021
* micropayment doesn't take all DPR from account

after take from account, balance should be grater than min_balance

* remove redundant conditions

* remove conucil module

* add github actions

don't add cargo clippy now

* fix test

* trigger ci on pull request

* client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

* Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

* Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

* Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

* update sepc_version:5 and edit Readme.md (#119)

* Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed

* merge to dev using fix conflict branch (#134)

* merge dev to master (#95)

* micropayment doesn't take all DPR from account

after take from account, balance should be grater than min_balance

* remove redundant conditions

* remove conucil module

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

* Fix the staking revenue problem (#120)

* Fix the staking revenue problem

* add spec_version:5

* add GetRewardResult event (#121)

* Fix the staking revenue problem

* add spec_version:5

* add GetRewardRuslt event

* fix judgement of update credit interval from eras to timstamp (#128)

add log && use eraindex instead of u32

* compensation-reward (#125)

* Add feature for reward countdown (#129)

* add feature for reward countdown

* Reward countdown optimisation

* Remove the reward countdown for the first credit score creation

Co-authored-by: AmadeusGB <1069830494@qq.com>

* update spec_version:6 (#131)

* add light client for erase warning (#136)

* Clear benchmark compile-time errors and warnings (#137)

* Clear benchmark compile-time errors and warnings

* fmt runtime/src/lib.rs

Co-authored-by: AmadeusGB <1069830494@qq.com>
Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: songhaoxin <songmjian@gmail.com>

* remove duplicate fuctinon

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: AmadeusGB <1069830494@qq.com>
Co-authored-by: songhaoxin <songmjian@gmail.com>
Co-authored-by: Li Smith <jinrishouji@sina.com>
AmadeusGB added a commit that referenced this issue Dec 17, 2021
* micropayment doesn't take all DPR from account

after take from account, balance should be grater than min_balance

* remove redundant conditions

* remove conucil module

* add github actions

don't add cargo clippy now

* fix test

* trigger ci on pull request

* client can close channel when server is offline longer than 1 era (#103)

* client can close_channel when server is offline longer than 1 era

* fix ci

add runtime types

* Try update types (#105)

* update commission type

* delete kind type

* delete bridge type and fix some types

* fix delegators type and organization format

* delete Balance timestamp blocknumber types

Co-authored-by: AmadeusGB <1069830494@qq.com>

* Some changes related to events in the credit pallet. (#110)

* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation

* Feature/4.0 dev (#116)

* Feature/4.0 dev (#108)

* update paritytech/substrate version to 4.0.0-dev

* fix some dependencies to 0.10.0-dev

* 1 fix cli and rpc-client error

* fix StoredMapError to DispatchError

* fix inspect build error

* fix balances build error

* fix scale-info error

* fix runtime error

* fix rpc error

* fix executor error

* fix bench build error

* fix testing build error

* fix cli build error

* fix sp-consensus-babe version to 0.10.0-dev in executor

* add BABE_GENESIS_EPOCH_CONFIG in runtime

* fix micropayment test and benchmarking

* fix LightSyncStateExtensionNotFound

* fix pallets/balances testcase

* Modify the code under bridge, credit, credit-accumulation,deeper-node  modules in order to adapt to substrate 4.0.0-dev.

* fix pallet_transaction_payment Every active pallet has a name in the runtime

* fix balances remove  unuse StorageValue and change Module to Pallet

* fix staking testcase

* fix miss PalletsOrigin in pallet_utility::Config for Runtime

* Update impls.rs

* fix purge_chain_works test

Co-authored-by: james.song <james.song@deeper.network>

update version = "4.0.0-dev" to branch = "polkadot-v0.9.12" (#114)

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

Feature/4.0 dev (#115)

* update version = "4.0.0-dev" to branch = "polkadot-v0.9.12"

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* 1 update Cargo.lock 2  fix misspallet-elections-phragmen,substrate-wasm-builder

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* fix miss type PalletsOrigin = OriginCaller in pallet_scheduler

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

* Update Cargo.lock

Co-Authored-By: Joey <joey.xie@deeper.network>
Co-Authored-By: Joey <joey.xf@gmail.com>

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: yubo <anhuitianyu@163.com>

fix origin

fix compile error

fix confilict && fix warning

* fix waring of credit pallet

* use new substrate file && fix unit test error

* ignore the test for it only occur error in github worflow because of resource limit

Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>

* update sepc_version:5 and edit Readme.md (#119)

* Refactor staking v3 syntax (#127)

* refactor staking using substrate v3 syntax

* compile passed

* fix some test compile error

* cargo test passed

* merge to dev using fix conflict branch (#134)

* merge dev to master (#95)

* micropayment doesn't take all DPR from account

after take from account, balance should be grater than min_balance

* remove redundant conditions

* remove conucil module

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>

* Fix the staking revenue problem (#120)

* Fix the staking revenue problem

* add spec_version:5

* add GetRewardResult event (#121)

* Fix the staking revenue problem

* add spec_version:5

* add GetRewardRuslt event

* fix judgement of update credit interval from eras to timstamp (#128)

add log && use eraindex instead of u32

* compensation-reward (#125)

* Add feature for reward countdown (#129)

* add feature for reward countdown

* Reward countdown optimisation

* Remove the reward countdown for the first credit score creation

Co-authored-by: AmadeusGB <1069830494@qq.com>

* update spec_version:6 (#131)

* add light client for erase warning (#136)

* Clear benchmark compile-time errors and warnings (#137)

* Clear benchmark compile-time errors and warnings

* fmt runtime/src/lib.rs

Co-authored-by: AmadeusGB <1069830494@qq.com>
Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: songhaoxin <songmjian@gmail.com>

* remove duplicate fuctinon

* add function for root unlock balance (#141)

* clear warnings and update weights (#142)

* add light client for erase warning (#136)

* Clear benchmark compile-time errors and warnings (#137)

* Clear benchmark compile-time errors and warnings

* fmt runtime/src/lib.rs

* update deeper-chain weights (#138)

* update deeper-chain weights

* cargo fmt weights

* update staking pallet weights

Co-authored-by: Ubuntu <ubuntu@ip-172-31-19-120.ec2.internal>

* update deeper-chain weights (#138)

* update deeper-chain weights

* cargo fmt weights

* update staking pallet weights

Co-authored-by: Ubuntu <ubuntu@ip-172-31-19-120.ec2.internal>

Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-19-120.ec2.internal>
Co-authored-by: jerry-yu <yubo@rivtower.com>

* update spec_version:7 (#143)

Co-authored-by: Joey <joey.xie@deeper.network>
Co-authored-by: yubo <anhuitianyu@163.com>
Co-authored-by: Joey <joey.xf@gmail.com>
Co-authored-by: songhaoxin <songmjian@gmail.com>
Co-authored-by: Li Smith <jinrishouji@sina.com>
Co-authored-by: jerry-yu <yubo@rivtower.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-19-120.ec2.internal>
jerry-yu pushed a commit that referenced this issue Dec 17, 2021
* fixes #100,#104,#109

* remove temporary variables and reduce memory allocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant