From 085198f61f8cc79e0f67f68396cb69d644300c41 Mon Sep 17 00:00:00 2001 From: Gas One Cent <86567384+gas1cent@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:23:21 +0400 Subject: [PATCH] feat: emit event --- solidity/contracts/modules/dispute/BondEscalationModule.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solidity/contracts/modules/dispute/BondEscalationModule.sol b/solidity/contracts/modules/dispute/BondEscalationModule.sol index bf398eab..4a5dd673 100644 --- a/solidity/contracts/modules/dispute/BondEscalationModule.sol +++ b/solidity/contracts/modules/dispute/BondEscalationModule.sol @@ -156,8 +156,8 @@ contract BondEscalationModule is Module, IBondEscalationModule { } } - // TODO: Emit event - // emit DisputeStatusChanged({_disputeId: _disputeId, _dispute: _dispute, _status: _status}); + IOracle.DisputeStatus _status = ORACLE.disputeStatus(_disputeId); + emit DisputeStatusChanged({_disputeId: _disputeId, _dispute: _dispute, _status: _status}); } ////////////////////////////////////////////////////////////////////