Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
nodes
rust
Duniter v2S
Commits
c75fa5bb
Unverified
Commit
c75fa5bb
authored
1 year ago
by
bgallois
Browse files
Options
Downloads
Patches
Plain Diff
fix live-tests
parent
8c1e2a8d
No related branches found
No related tags found
No related merge requests found
Pipeline
#36308
canceled
1 year ago
Stage: quality
Stage: build
Stage: tests
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
live-tests/tests/sanity_gdev.rs
+1
-10
1 addition, 10 deletions
live-tests/tests/sanity_gdev.rs
with
1 addition
and
10 deletions
live-tests/tests/sanity_gdev.rs
+
1
−
10
View file @
c75fa5bb
...
...
@@ -22,7 +22,6 @@
pub
mod
gdev
{}
use
countmap
::
CountMap
;
//use hex_literal::hex;
use
sp_core
::
crypto
::
AccountId32
;
use
sp_core
::{
blake2_128
,
ByteArray
,
H256
};
use
std
::
collections
::{
HashMap
,
HashSet
};
...
...
@@ -37,6 +36,7 @@ use subxt::ext::sp_core;
const
DEFAULT_ENDPOINT
:
&
str
=
"ws://localhost:9944"
;
const
EXISTENTIAL_DEPOSIT
:
u64
=
100
;
//use hex_literal::hex;
//const TREASURY_ACCOUNT_ID: [u8; 32] =
// hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
...
...
@@ -278,15 +278,6 @@ mod verifier {
format!
(
"Account {} has no providers nor sufficients."
,
account_id
),
);
}
/*if account_id.as_slice() != TREASURY_ACCOUNT_ID {
// Rule 4: If the account is not a "special account",
// it should have a consumer
self.assert(
account_info.consumers > 0,
format!("Account {} has no consumer.", account_id),
);
}*/
//TODO check that is not true anymore
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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