Skip to content

Commit

Permalink
Add tx type to zk tx in create
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Dec 12, 2024
1 parent e899df9 commit 9329a77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/forge/bin/cmd/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ where
)
.map_err(|_| ContractDeploymentError::TransactionBuildError)?;

// NOTE(zk): We need to prepare the tx for submission to set the tx type to EIP712
tx.prep_for_submission();

Ok(ZkDeployer {
client: self.client.clone(),
abi: self.abi,
Expand Down

0 comments on commit 9329a77

Please sign in to comment.