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
384ed36b
Commit
384ed36b
authored
1 year ago
by
bgallois
Committed by
Hugo Trentesaux
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix live-tests
parent
af601c21
No related branches found
No related tags found
1 merge request
!248
Fix live tests
Pipeline
#36352
skipped
Changes
1
Pipelines
2
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 @
384ed36b
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
pub
mod
gdev
{}
pub
mod
gdev
{}
use
countmap
::
CountMap
;
use
countmap
::
CountMap
;
//use hex_literal::hex;
use
sp_core
::
crypto
::
AccountId32
;
use
sp_core
::
crypto
::
AccountId32
;
use
sp_core
::{
blake2_128
,
ByteArray
,
H256
};
use
sp_core
::{
blake2_128
,
ByteArray
,
H256
};
use
std
::
collections
::{
HashMap
,
HashSet
};
use
std
::
collections
::{
HashMap
,
HashSet
};
...
@@ -37,6 +36,7 @@ use subxt::ext::sp_core;
...
@@ -37,6 +36,7 @@ use subxt::ext::sp_core;
const
DEFAULT_ENDPOINT
:
&
str
=
"ws://localhost:9944"
;
const
DEFAULT_ENDPOINT
:
&
str
=
"ws://localhost:9944"
;
const
EXISTENTIAL_DEPOSIT
:
u64
=
100
;
const
EXISTENTIAL_DEPOSIT
:
u64
=
100
;
//use hex_literal::hex;
//const TREASURY_ACCOUNT_ID: [u8; 32] =
//const TREASURY_ACCOUNT_ID: [u8; 32] =
// hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
// hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
...
@@ -278,15 +278,6 @@ mod verifier {
...
@@ -278,15 +278,6 @@ mod verifier {
format!
(
"Account {} has no providers nor sufficients."
,
account_id
),
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