From 94813a6c8b73a12ddfbccc701051349183c44ec7 Mon Sep 17 00:00:00 2001 From: drafish Date: Tue, 23 Apr 2024 12:00:27 +0800 Subject: [PATCH] edit dapp with devdoc and methodIdentifiers --- libs/remix-ui/run-tab/src/lib/run-tab.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/run-tab/src/lib/run-tab.tsx b/libs/remix-ui/run-tab/src/lib/run-tab.tsx index aa14b75ac2e..a4bf9c42777 100644 --- a/libs/remix-ui/run-tab/src/lib/run-tab.tsx +++ b/libs/remix-ui/run-tab/src/lib/run-tab.tsx @@ -326,7 +326,14 @@ export function RunTabUI(props: RunTabProps) { getFuncABIInputs={getFuncABIValues} exEnvironment={runTab.selectExEnv} editInstance={(instance) => { - plugin.call('dapp-draft', 'edit', {address: instance.address, abi: instance.contractData.abi, name: instance.name, network: runTab.networkName}) + plugin.call('dapp-draft', 'edit', { + address: instance.address, + abi: instance.contractData.abi, + name: instance.name, + network: runTab.networkName, + devdoc: instance.contractData.object.devdoc, + methodIdentifiers: instance.contractData.object.evm.methodIdentifiers + }) }} />