Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shasper
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
shasper
Commits
00aba960
Unverified
Commit
00aba960
authored
6 years ago
by
Wei Tang
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade to substrate HEAD (#70)
parent
7a8d33ec
Branches
Branches containing commit
No related merge requests found
Pipeline
#30893
passed with stages
Stage:
Stage:
in 10 minutes and 18 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Cargo.lock
+122
-35
122 additions, 35 deletions
Cargo.lock
runtime/src/genesis.rs
+3
-3
3 additions, 3 deletions
runtime/src/genesis.rs
runtime/wasm/Cargo.lock
+204
-22
204 additions, 22 deletions
runtime/wasm/Cargo.lock
with
329 additions
and
60 deletions
Cargo.lock
+
122
−
35
View file @
00aba960
This diff is collapsed.
Click to expand it.
runtime/src/genesis.rs
+
3
−
3
View file @
00aba960
...
...
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use
runtime_primitives
::{
BuildStorage
,
Storage
Map
,
ChildrenStorage
Map
};
use
runtime_primitives
::{
BuildStorage
,
Storage
Overlay
,
ChildrenStorage
Overlay
};
use
primitives
::{
ValidatorId
,
Epoch
,
Balance
,
storage
::
well_known_keys
};
use
codec
::{
Encode
,
KeyedVec
};
use
crate
::
storage
;
...
...
@@ -29,8 +29,8 @@ pub struct GenesisConfig {
}
impl
BuildStorage
for
GenesisConfig
{
fn
build_storage
(
self
)
->
Result
<
(
Storage
Map
,
ChildrenStorage
Map
),
String
>
{
let
mut
storage
=
Storage
Map
::
default
();
fn
build_storage
(
self
)
->
Result
<
(
Storage
Overlay
,
ChildrenStorage
Overlay
),
String
>
{
let
mut
storage
=
Storage
Overlay
::
default
();
storage
.insert
(
well_known_keys
::
CODE
.to_vec
(),
self
.code
.clone
());
...
...
This diff is collapsed.
Click to expand it.
runtime/wasm/Cargo.lock
+
204
−
22
View file @
00aba960
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment