Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

ethers-contract: ContractFactory, set deployer to public so defaults may be overrided. Solves #1155 #1156

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ethers-contract/src/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down