From 9329a779fc872c71c6089b05f8c936f0be910fb8 Mon Sep 17 00:00:00 2001 From: Jrigada Date: Thu, 12 Dec 2024 16:47:45 -0300 Subject: [PATCH] Add tx type to zk tx in create --- crates/forge/bin/cmd/create.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/forge/bin/cmd/create.rs b/crates/forge/bin/cmd/create.rs index c5c34d78b..a6a7481c7 100644 --- a/crates/forge/bin/cmd/create.rs +++ b/crates/forge/bin/cmd/create.rs @@ -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,