ContractDeployer: pub deployer can modify defaults (#1156)
This commit is contained in:
parent
7a098b183f
commit
5f1f967ec1
|
@ -22,8 +22,8 @@ use std::sync::Arc;
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
#[must_use = "Deployer does nothing unless you `send` it"]
|
#[must_use = "Deployer does nothing unless you `send` it"]
|
||||||
pub struct ContractDeployer<M, C> {
|
pub struct ContractDeployer<M, C> {
|
||||||
/// the actual deployer
|
/// the actual deployer, exposed for overriding the defaults
|
||||||
deployer: Deployer<M>,
|
pub deployer: Deployer<M>,
|
||||||
/// marker for the `Contract` type to create afterwards
|
/// marker for the `Contract` type to create afterwards
|
||||||
///
|
///
|
||||||
/// this type will be used to construct it via `From::from(Contract)`
|
/// this type will be used to construct it via `From::from(Contract)`
|
||||||
|
|
Loading…
Reference in New Issue