From 699f8e8936a89b8b4396533d2e0658bf6882069d Mon Sep 17 00:00:00 2001 From: Juan Rigada <62958725+Jrigada@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:44:40 -0300 Subject: [PATCH] fix: Prepare tx transaction with right type (#783) 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,