diff --git a/src/devhub/entity/addon/blog/editor/provider.jsx b/src/devhub/entity/addon/blog/editor/provider.jsx index 4ba76a6f9..39bc711f6 100644 --- a/src/devhub/entity/addon/blog/editor/provider.jsx +++ b/src/devhub/entity/addon/blog/editor/provider.jsx @@ -105,8 +105,7 @@ const handleOnSubmit = (v, isEdit) => { comment_version: "V2", }, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } else { Near.call({ @@ -120,8 +119,7 @@ const handleOnSubmit = (v, isEdit) => { comment_version: "V2", }, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } }; diff --git a/src/devhub/entity/post/Post.jsx b/src/devhub/entity/post/Post.jsx index 1f988fd29..3ff2e0615 100644 --- a/src/devhub/entity/post/Post.jsx +++ b/src/devhub/entity/post/Post.jsx @@ -283,8 +283,7 @@ const onLike = () => { args: { post_id: postId, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }, ]; @@ -296,8 +295,7 @@ const onLike = () => { predecessor_id: "${REPL_DEVHUB_CONTRACT}", keys: [context.accountId + "/index/notify"], }, - deposit: Big(10).pow(23), - gas: Big(10).pow(12).mul(30), + gas: Big(10).pow(14), }); } diff --git a/src/devhub/entity/post/PostEditor.jsx b/src/devhub/entity/post/PostEditor.jsx index a95772b4f..1198a7d5d 100644 --- a/src/devhub/entity/post/PostEditor.jsx +++ b/src/devhub/entity/post/PostEditor.jsx @@ -172,8 +172,7 @@ const onSubmit = () => { labels, body, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } else if (mode == "Edit") { props.onDraftStateChange( @@ -187,8 +186,7 @@ const onSubmit = () => { labels, body, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } if (mode == "Create" || mode == "Edit") { @@ -200,8 +198,7 @@ const onSubmit = () => { predecessor_id: "${REPL_DEVHUB_CONTRACT}", keys: [context.accountId + "/index/notify"], }, - deposit: Big(10).pow(23), - gas: Big(10).pow(12).mul(30), + gas: Big(10).pow(14), }); } Near.call(txn); diff --git a/src/devhub/entity/team/LabelRow.jsx b/src/devhub/entity/team/LabelRow.jsx index be02ead5b..c117dac85 100644 --- a/src/devhub/entity/team/LabelRow.jsx +++ b/src/devhub/entity/team/LabelRow.jsx @@ -109,8 +109,7 @@ function editTeam({ parents: [], }, }, - deposit: Big(0).pow(21), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } }); @@ -140,8 +139,7 @@ function editTeam({ parents: [], }, }, - deposit: Big(0).pow(21), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }, ]); } diff --git a/src/devhub/page/admin/index.jsx b/src/devhub/page/admin/index.jsx index f952031b4..dc9f2fc50 100644 --- a/src/devhub/page/admin/index.jsx +++ b/src/devhub/page/admin/index.jsx @@ -70,8 +70,7 @@ function createEditTeam({ parents: [], }, }, - deposit: Big(0).pow(21), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } }); @@ -97,8 +96,7 @@ function createEditTeam({ parents: [], }, }, - deposit: Big(0).pow(21), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }, ]); } diff --git a/src/devhub/page/create.jsx b/src/devhub/page/create.jsx index 65103dec9..fcb685c54 100644 --- a/src/devhub/page/create.jsx +++ b/src/devhub/page/create.jsx @@ -167,8 +167,7 @@ const onSubmit = () => { labels, body: body, }, - deposit: Big(10).pow(21).mul(3), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } else if (mode == "Edit") { txn.push({ @@ -179,8 +178,7 @@ const onSubmit = () => { labels, body: body, }, - deposit: Big(10).pow(21).mul(2), - gas: Big(10).pow(12).mul(100), + gas: Big(10).pow(14), }); } if (mode == "Create" || mode == "Edit") { @@ -192,8 +190,7 @@ const onSubmit = () => { predecessor_id: "${REPL_DEVHUB_CONTRACT}", keys: [context.accountId + "/index/notify"], }, - deposit: Big(10).pow(23), - gas: Big(10).pow(12).mul(30), + gas: Big(10).pow(14), }); } Near.call(txn);