Skip to content

Commit

Permalink
fix: Fix wrong in ERC20 deployment file name (#3395)
Browse files Browse the repository at this point in the history
## What ❔
* erc configuration was overwriting the initial configuration (it was
using wrong file constant)
  • Loading branch information
mm-zk authored Dec 18, 2024
1 parent fc02a8f commit 18e4307
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use zksync_basic_types::L2ChainId;
use crate::{
consts::INITIAL_DEPLOYMENT_FILE,
traits::{FileConfigWithDefaultName, ZkStackConfig},
ContractsConfig, GenesisConfig, WalletsConfig,
ContractsConfig, GenesisConfig, WalletsConfig, ERC20_DEPLOYMENT_FILE,
};

#[derive(Debug, Deserialize, Serialize, Clone)]
Expand Down Expand Up @@ -69,7 +69,7 @@ pub struct Erc20DeploymentConfig {
}

impl FileConfigWithDefaultName for Erc20DeploymentConfig {
const FILE_NAME: &'static str = INITIAL_DEPLOYMENT_FILE;
const FILE_NAME: &'static str = ERC20_DEPLOYMENT_FILE;
}

impl ZkStackConfig for Erc20DeploymentConfig {}
Expand Down

0 comments on commit 18e4307

Please sign in to comment.