diff --git a/subgraphs/venus-governance/src/mappings/omnichainProposalSender.ts b/subgraphs/venus-governance/src/mappings/omnichainProposalSender.ts index 5b452276..6a5cb475 100644 --- a/subgraphs/venus-governance/src/mappings/omnichainProposalSender.ts +++ b/subgraphs/venus-governance/src/mappings/omnichainProposalSender.ts @@ -22,10 +22,13 @@ import { import { removeTrustedRemote } from '../operations/remove'; export function handleSetTrustedRemoteAddress(event: SetTrustedRemoteAddress): void { - getOrCreateTrustedRemote( + const result = getOrCreateTrustedRemote( event.params.remoteChainId, Address.fromString(event.params.newRemoteAddress.toHexString().slice(0, 42)), ); + // Ensure it is marked active, in case it was previously created in remote proposal creation + result.entity.active = true; + result.entity.save(); } export function handleExecuteRemoteProposal(event: ExecuteRemoteProposal): void {