From 57001ac42a01be53858a68e03ec3626d52432f90 Mon Sep 17 00:00:00 2001 From: drafish Date: Tue, 30 Apr 2024 19:25:33 +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 ae1dec6d06..3e3985a772 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, + }) }} />