guanqun
b8b3f5b7d1
fix one typo ( #1029 )
2018-10-27 18:03:57 +02:00
guanqun
c0f7021427
Remove pub in macros ( #1027 )
...
* use :vis in macro_rules!
* use :vis in meta
2018-10-27 12:15:15 +02:00
guanqun
b1976c9014
mutate returns a value ( #945 )
...
* mutate returns a value
* code comment fixes
* fix the compile
2018-10-26 11:13:16 +02:00
guanqun
26b105b472
fix the ignored tests in doc test ( #898 )
...
* fix ignored test
* move CI to --release per Gav
2018-10-13 15:16:17 +02:00
guanqun
1a1300e845
remove unused nodecode in impl_stubs ( #895 )
2018-10-10 13:03:55 +02:00
guanqun
ceda61f13c
fix the overflow issue ( #891 )
2018-10-09 10:50:08 +02:00
guanqun
1cc0e3b6ea
Enhance decl storage ( #777 )
...
* enhance macro decl_storage()
* update the state root hash
* fix one comment
2018-10-05 14:20:32 +02:00
guanqun
35f3fe7e77
use the map! macro instead of defining it all over the place ( #867 )
...
* remove one map implementation in test
* remove one map macro
* remove one map macro
* remove one map macro
2018-10-03 13:22:58 +01:00
guanqun
bec80177c0
fix a warning ( #839 )
2018-09-29 09:34:53 +01:00
guanqun
d46f2b9c76
cli: add --dev to all subcommands ( #807 )
2018-09-27 10:22:09 +01:00
Guanqun Lu
1438e15925
clear statedb panics ( #797 )
...
* state-db: remove the assertion and replace it with Result<>
* state-db: unit test fixes
* comment fixes
* typo fix
2018-09-26 11:23:33 +01:00
Guanqun Lu
74a5ff7d0d
State db random fixes ( #802 )
...
* state-db: typo fixes
* use fmt::Result for 'fmt'
* state-db: typo fixes
* state-db: use the same pattern to pass the parameter
* state-db: follow the same style
2018-09-26 11:15:56 +01:00
Guanqun Lu
43068f8fc3
remove duplicate try_into_trie_backend ( #779 )
2018-09-20 06:36:24 -04:00
Guanqun Lu
b76660afd4
Sr treasury fix ( #739 )
...
* treasury: use 'mutate' and 'retain' to avoid creating a new vec
* treasury: check the underflow case
2018-09-14 09:50:22 +02:00
Guanqun Lu
a813d54965
add a python script to show the runtime packages' dependencies ( #725 )
...
* add a python script to show the dependencies
* add the header line and modify the mod
2018-09-12 16:05:15 +02:00
Guanqun Lu
4685018991
enhance dispatch ( #720 )
...
* normalize decl_storage
* dispatch the function call
* add test case
* fix the root case
* add system
* fix the typo in unit test
* fix the doc generation for decl_module
* fix the unit test due to the interface change
2018-09-12 15:56:37 +02:00
Guanqun Lu
c3d8c52e17
enhance the environmental macro ( #683 )
2018-09-11 10:51:53 +02:00
Guanqun Lu
ea7aeb8409
add mutate api ( #695 )
...
* runtime-storage: add 'mutate' api
* support mutate for StorageValue
* try adding 'mutate' for map
* dispatch on Option<> type
* add check for prev_some
* consolidate the wrap type
* unify wrap type handling
* add sample for StorageValue
2018-09-09 13:32:15 +02:00
Guanqun Lu
6571842c99
remove parachain's Cargo.lock ( #682 )
2018-09-07 19:12:48 +02:00
Guanqun Lu
beee3d4092
WIP on chain heap ( #639 )
...
* move heap size on chain
* fix the interface change
* decode heap size
* fix code comments
* fix comment
* update Cargo.lock
* rename to heappages
* add one heap pages variable in runtime
2018-09-01 08:41:46 +02:00
Guanqun Lu
27b5e70baa
random fixes ( #638 )
2018-08-31 14:33:05 +02:00
Guanqun Lu
6c943bada2
rename to panic_handler as panic_implementation is deprecated in nightly ( #626 )
2018-08-29 11:27:14 +02:00
Guanqun Lu
5c8b52ba16
fix one typo in README ( #627 )
2018-08-29 11:25:20 +02:00
Guanqun Lu
3a58595a85
add a new unit test for extrinsic pool ( #611 )
2018-08-28 10:53:59 +01:00
Guanqun Lu
98f3f80e70
set the current repo in Cargo.toml ( #610 )
2018-08-28 10:53:45 +01:00
Guanqun Lu
25450dc87d
add cli for purge chain ( #609 )
2018-08-28 10:53:28 +01:00
Guanqun Lu
875ce9e6c3
extrinsic-pool: use retain() ( #613 )
2018-08-27 10:43:00 +02:00
Guanqun Lu
58bba89819
rename Polkadot to Substrate in the license header via following four commands ( #614 )
...
git grep -l 'This file is part of Polkadot' | xargs sed -i 's/This file is part of Polkadot/This file is part of Substrate/g'
git grep -l 'Polkadot is free software' | xargs sed -i 's/Polkadot is free software/Substrate is free software/g'
git grep -l 'Polkadot is distributed in the hope' | xargs sed -i 's/Polkadot is distributed in the hope/Substrate is distributed in the hope/g'
git grep -l 'along with Polkadot' | xargs sed -i 's/along with Polkadot/along with Substrate/g'
2018-08-27 10:42:50 +02:00
Guanqun Lu
e8ec3d72c9
typo fixes ( #608 )
2018-08-26 20:06:47 +02:00
Guanqun Lu
7b65e9bf62
add build status in README ( #566 )
2018-08-15 10:05:08 +02:00
Guanqun Lu
bfbe1fe18b
send memory usage and cpu usage to telemetry ( #499 )
...
* send memory usage and cpu usage to telemetry
Fixes #443 , however, it doesn't send IO usage, as it's not available in
this crate.
* fixes according to Gav's comments
* fix grumbles, send basictypes in telemetry
2018-08-15 10:04:44 +02:00
Guanqun Lu
e83d85f620
cli: add min-peers and max-peers ( #557 )
2018-08-14 13:09:01 +02:00
Guanqun Lu
6d6e7d9049
Docs Typo Fixes ( #534 )
2018-08-10 14:03:21 +02:00
Guanqun Lu
dd2f74a406
remove the extra ? in the license header ( #500 )
2018-08-06 13:27:14 +02:00
Guanqun Lu
a19087eb89
remove the extra ? in the license header ( #500 )
2018-08-06 13:27:14 +02:00
Guanqun Lu
05f49f1d5f
should be MAX_IMPORTING_BLOCKS ( #486 )
2018-08-03 07:54:47 +02:00
Guanqun Lu
d17dcc1893
move version out of yaml and let it populate dynamically from package info ( #26 )
2017-12-04 14:57:13 +01:00