From 76fa0c2902355e456725a6233bab11f2f22b2e8c Mon Sep 17 00:00:00 2001 From: Lachlan Glen <54282009+lachlanglen@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:10:54 -0400 Subject: [PATCH] remove deposit from near horizon call --- apps/potlock/widget/Project/CreateForm.jsx | 3 +-- build/potlock/src/Project/CreateForm.jsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/potlock/widget/Project/CreateForm.jsx b/apps/potlock/widget/Project/CreateForm.jsx index 3f227d90..26677c30 100644 --- a/apps/potlock/widget/Project/CreateForm.jsx +++ b/apps/potlock/widget/Project/CreateForm.jsx @@ -435,14 +435,13 @@ const handleCreateProject = (e) => { { contractName: "nearhorizon.near", methodName: "add_project", - deposit: Big(JSON.stringify(horizonArgs).length * 16).mul(Big(10).pow(20)), args: horizonArgs, }, // register project on potlock { contractName: registryId, methodName: "register", - deposit: Big(JSON.stringify(potlockRegistryArgs).length * 16).mul(Big(10).pow(20)), + deposit: Big(JSON.stringify(potlockRegistryArgs).length * 16).mul(Big(10).pow(20)), // TODO: update this, it isn't correct args: potlockRegistryArgs, }, ]; diff --git a/build/potlock/src/Project/CreateForm.jsx b/build/potlock/src/Project/CreateForm.jsx index 3f227d90..26677c30 100644 --- a/build/potlock/src/Project/CreateForm.jsx +++ b/build/potlock/src/Project/CreateForm.jsx @@ -435,14 +435,13 @@ const handleCreateProject = (e) => { { contractName: "nearhorizon.near", methodName: "add_project", - deposit: Big(JSON.stringify(horizonArgs).length * 16).mul(Big(10).pow(20)), args: horizonArgs, }, // register project on potlock { contractName: registryId, methodName: "register", - deposit: Big(JSON.stringify(potlockRegistryArgs).length * 16).mul(Big(10).pow(20)), + deposit: Big(JSON.stringify(potlockRegistryArgs).length * 16).mul(Big(10).pow(20)), // TODO: update this, it isn't correct args: potlockRegistryArgs, }, ];