ContractDeployer: pub deployer can modify defaults (#1156)

This commit is contained in:
inconspicuous99 2022-04-19 15:20:59 -05:00 committed by GitHub
parent 7a098b183f
commit 5f1f967ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ use std::sync::Arc;
#[derive(Debug, Clone)]
#[must_use = "Deployer does nothing unless you `send` it"]
pub struct ContractDeployer<M, C> {
/// the actual deployer
deployer: Deployer<M>,
/// the actual deployer, exposed for overriding the defaults
pub deployer: Deployer<M>,
/// marker for the `Contract` type to create afterwards
///
/// this type will be used to construct it via `From::from(Contract)`