File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
DisputeTemplateRegistry/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { DisputeTemplate } from "../generated/schema";
44export function handleDisputeTemplate ( event : DisputeTemplateEvent ) : void {
55 const disputeTemplateId = event . params . _templateId . toString ( ) ;
66 const disputeTemplate = new DisputeTemplate ( disputeTemplateId ) ;
7- disputeTemplate . templateTag = event . params . _templateTag . toString ( ) ;
7+ disputeTemplate . templateTag = event . params . _templateTag . toHexString ( ) ;
88 disputeTemplate . templateData = event . params . _templateData . toString ( ) ;
99 disputeTemplate . templateDataMappings = event . params . _templateDataMappings . toString ( ) ;
1010 disputeTemplate . save ( ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export function updatePenalty(event: TokenAndETHShift): void {
66 const disputeID = event . params . _disputeID . toString ( ) ;
77 const roundIndex = event . params . _roundID . toString ( ) ;
88 const roundID = `${ disputeID } -${ roundIndex } ` ;
9- const jurorAddress = event . params . _account ;
9+ const jurorAddress = event . params . _account . toHexString ( ) ;
1010 const penaltyID = `${ roundID } -${ jurorAddress } ` ;
1111 const penalty = Penalty . load ( penaltyID ) ;
1212 if ( penalty ) {
You can’t perform that action at this time.
0 commit comments