File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
universalClient/chains/common Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -277,24 +277,6 @@ func TestEventProcessorExtractOutboundObservation(t *testing.T) {
277277 assert .Equal (t , "0xabc123" , obs .TxHash )
278278 })
279279
280- t .Run ("extracts error_msg from event data" , func (t * testing.T ) {
281- eventData := map [string ]interface {}{
282- "error_msg" : "transaction reverted" ,
283- }
284- eventDataBytes , _ := json .Marshal (eventData )
285-
286- event := & store.Event {
287- EventID : "0xdef456:0" ,
288- BlockHeight : 100 ,
289- EventData : eventDataBytes ,
290- }
291-
292- obs , err := processor .extractOutboundObservation (event )
293- require .NoError (t , err )
294- require .NotNil (t , obs )
295- assert .Equal (t , "transaction reverted" , obs .ErrorMsg )
296- })
297-
298280 t .Run ("handles base58 tx hash" , func (t * testing.T ) {
299281 event := & store.Event {
300282 EventID : "2VfUX:0" , // Base58 encoded
You can’t perform that action at this time.
0 commit comments