Skip to content

Commit 35cee5f

Browse files
committed
fix(ev-deployer): make deterministic_deployer::build a const fn
1 parent a3beb2b commit 35cee5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/ev-deployer/src/contracts/deterministic_deployer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub(crate) const DETERMINISTIC_DEPLOYER_BYTECODE: &[u8] = &hex!(
1111
);
1212

1313
/// Build a genesis alloc entry for the deterministic deployer.
14-
pub(crate) fn build(config: &DeterministicDeployerConfig) -> GenesisContract {
14+
pub(crate) const fn build(config: &DeterministicDeployerConfig) -> GenesisContract {
1515
let address = config.address.expect("address required for genesis");
1616

1717
GenesisContract {

0 commit comments

Comments
 (0)