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)] #[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)`