diff --git a/plugin/src/features/Compilation/index.tsx b/plugin/src/features/Compilation/index.tsx index a9a96e9f..33257da3 100644 --- a/plugin/src/features/Compilation/index.tsx +++ b/plugin/src/features/Compilation/index.tsx @@ -906,7 +906,7 @@ const Compilation: React.FC = ({ setAccordian }) => { compiledClassHash, classHash, sierraClassHash, - sierra, + sierra: sierraFile, casm, path, deployedInfo: [], diff --git a/plugin/src/features/Deployment/index.tsx b/plugin/src/features/Deployment/index.tsx index 7516c49e..c977fbfc 100644 --- a/plugin/src/features/Deployment/index.tsx +++ b/plugin/src/features/Deployment/index.tsx @@ -109,7 +109,7 @@ const Deployment: React.FC = ({ setActiveTab }) => { type: 'info', title: `Deploying ${selectedContract?.name ?? ''} ...` }) - let classHash = selectedContract?.sierraClassHash + let classHash = selectedContract?.classHash let updatedTransactions = transactions try { if (account === null || provider === null) { @@ -123,11 +123,11 @@ const Deployment: React.FC = ({ setActiveTab }) => { setDeployStatus('Declaring...') try { try { - await account.getClassByHash(selectedContract.sierraClassHash) + await account.getClassByHash(selectedContract.classHash) await remixClient.call( 'notification' as any, 'toast', - `ℹ️ Contract with classHash: ${selectedContract.sierraClassHash} already has been declared, proceeding to deployment...` + `ℹ️ Contract with classHash: ${selectedContract.classHash} already has been declared, proceeding to deployment...` ) } catch (error) { const declareResponse = await account.declare({