-
Notifications
You must be signed in to change notification settings - Fork 1.7k
SecretStore: bunch of fixes and improvements #6168
Conversation
|
@@ -572,7 +572,7 @@ mod tests { | |||
use std::collections::{BTreeMap, VecDeque}; | |||
use ethkey::{self, Random, Generator, Public}; | |||
use util::H256; | |||
use super::super::super::acl_storage::tests::DummyAclStorage; | |||
use super::super::super::acl_storage::DummyAclStorage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use acl_storage::DummyAclStorage;
should work just fine
@@ -467,7 +467,7 @@ impl Ord for DecryptionSessionId { | |||
mod tests { | |||
use std::sync::Arc; | |||
use std::collections::BTreeMap; | |||
use super::super::super::acl_storage::tests::DummyAclStorage; | |||
use super::super::super::acl_storage::DummyAclStorage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use acl_storage::DummyAclStorage;
should work just fine
secret_store/src/http_listener.rs
Outdated
handler: shared_handler.clone(), | ||
}; | ||
};*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be removed
When starting parity with this option enabled, I think we should at least display warning (with bold yellow/red letters). |
Thanks for suggestion, will update PR a little bit later |
Fixed style + added warning message |
secret_store/src/acl_storage.rs
Outdated
@@ -47,6 +48,12 @@ struct CachedContract { | |||
contract: Option<SecretStoreAclStorage>, | |||
} | |||
|
|||
#[derive(Default, Debug)] | |||
/// Dummy ACL storage implementation (check always passed). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: attributes under docs
on top of #6146