Skip to content

Commit

Permalink
fix: Prepare tx transaction with right type (#783)
Browse files Browse the repository at this point in the history
Add tx type to zk tx in create
  • Loading branch information
Jrigada authored Dec 12, 2024
1 parent e899df9 commit 699f8e8
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 699f8e8

Please sign in to comment.