From 74a39e02b8e7ec0763b93361e3907406b55c6705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Tue, 1 Oct 2024 17:53:12 +0100 Subject: [PATCH] Standard multisig UI --- .env.example | 3 ++- plugins/multisig/hooks/useProposalCreatedLogs.ts | 2 ++ plugins/multisig/pages/proposal.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 6ec0ab3..c5a1ea2 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,8 @@ NEXT_PUBLIC_TOKEN_ADDRESS=0x9A3218197C77F54BB2510FBBcc7Da3A4D2bE0DeE # Plugin addresses NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x7AdF2545e746E014887916e476DfCB3Fb57D78b0 NEXT_PUBLIC_LOCK_TO_VOTE_PLUGIN_ADDRESS= -NEXT_PUBLIC_MULTISIG_PLUGIN_ADDRESS=0xf49d54D40A331441536BDF74C44FFb527cf113c9 +NEXT_PUBLIC_MULTISIG_PLUGIN_ADDRESS=0xA4371a239D08bfBA6E8894eccf8466C6323A52C3 +NEXT_PUBLIC_OPT_MULTISIG_PLUGIN_ADDRESS=0xf49d54D40A331441536BDF74C44FFb527cf113c9 NEXT_PUBLIC_EMERGENCY_MULTISIG_PLUGIN_ADDRESS=0x3abd07A24a39eCEB2a701f3C4A5BBbcb7069460D NEXT_PUBLIC_DUAL_GOVERNANCE_PLUGIN_ADDRESS=0x31df2Cf73f36732c10523E4F228a458292B8F6DF NEXT_PUBLIC_PUBLIC_KEY_REGISTRY_CONTRACT_ADDRESS=0x4BA2de07E5B7FB284d363DBb4c481F330c25b2A5 diff --git a/plugins/multisig/hooks/useProposalCreatedLogs.ts b/plugins/multisig/hooks/useProposalCreatedLogs.ts index 95d0c50..bb9b08e 100644 --- a/plugins/multisig/hooks/useProposalCreatedLogs.ts +++ b/plugins/multisig/hooks/useProposalCreatedLogs.ts @@ -36,6 +36,8 @@ export function useProposalCreatedLogs(proposalId: string) { args: { proposalId: BigInt(proposalId), }, + fromBlock: BigInt(0), + toBlock: "latest", }) .then((logs) => { if (!logs.length) return; diff --git a/plugins/multisig/pages/proposal.tsx b/plugins/multisig/pages/proposal.tsx index 90d61b5..a00eb04 100644 --- a/plugins/multisig/pages/proposal.tsx +++ b/plugins/multisig/pages/proposal.tsx @@ -86,7 +86,7 @@ export default function ProposalDetail({ id: proposalId }: { id: string }) {