@@ -368,26 +368,20 @@ func Test_Result(t *testing.T) {
368368 []cadence.Field {{Type : cadence .StringType , Identifier : "bar" }},
369369 []cadence.Value {cadence .NewInt (1 )},
370370 )
371- withdrawFungiEvent := tests .NewEvent (
372- 2 ,
373- "A.9a0766d93b6608b7.FungibleToken.TokensWithdrawn" ,
374- []cadence.Field {{Type : cadence .StringType , Identifier : "bar" }},
375- []cadence.Value {cadence .NewInt (1 )},
376- )
377371 depositFlowEvent := tests .NewEvent (
378- 3 ,
372+ 2 ,
379373 "A.1654653399040a61.FlowToken.TokensDeposited" ,
380374 []cadence.Field {{Type : cadence .StringType , Identifier : "bar" }},
381375 []cadence.Value {cadence .NewInt (1 )},
382376 )
383- depositFungiEvent := tests .NewEvent (
384- 4 ,
385- "A.9a0766d93b6608b7.FungibleToken.TokensDeposited " ,
377+ storageUsedEvent := tests .NewEvent (
378+ 3 ,
379+ "A.1654653399040a61.FlowStorageFees.StorageCapacityUsed " ,
386380 []cadence.Field {{Type : cadence .StringType , Identifier : "bar" }},
387381 []cadence.Value {cadence .NewInt (1 )},
388382 )
389383 feeEvent := tests .NewEvent (
390- 5 ,
384+ 4 ,
391385 "A.f919ee77447b7497.FlowFees.FeesDeducted" ,
392386 []cadence.Field {{Type : cadence .StringType , Identifier : "bar" }},
393387 []cadence.Value {cadence .NewInt (1 )},
@@ -403,7 +397,7 @@ func Test_Result(t *testing.T) {
403397 txResultFeeEvents := & flow.TransactionResult {
404398 Status : flow .TransactionStatusSealed ,
405399 Error : nil ,
406- Events : []flow.Event {* event , * withdrawFlowEvent , * withdrawFungiEvent , * depositFlowEvent , * depositFungiEvent , * feeEvent },
400+ Events : []flow.Event {* event , * withdrawFlowEvent , * depositFlowEvent , * storageUsedEvent , * feeEvent },
407401 BlockID : flow .HexToID ("7aa74143741c1c3b837d389fcffa7a5e251b67b4ffef6d6887b40cd9c803f537" ),
408402 BlockHeight : 1 ,
409403 }
@@ -562,24 +556,18 @@ Events:
562556 - bar (String): 1
563557
564558 Index 2
565- Type A.9a0766d93b6608b7.FungibleToken.TokensWithdrawn
559+ Type A.1654653399040a61.FlowToken.TokensDeposited
566560 Tx ID 0000000000000000000000000000000000000000000000000000000000000000
567561 Values
568562 - bar (String): 1
569563
570564 Index 3
571- Type A.1654653399040a61.FlowToken.TokensDeposited
565+ Type A.1654653399040a61.FlowStorageFees.StorageCapacityUsed
572566 Tx ID 0000000000000000000000000000000000000000000000000000000000000000
573567 Values
574568 - bar (String): 1
575569
576570 Index 4
577- Type A.9a0766d93b6608b7.FungibleToken.TokensDeposited
578- Tx ID 0000000000000000000000000000000000000000000000000000000000000000
579- Values
580- - bar (String): 1
581-
582- Index 5
583571 Type A.f919ee77447b7497.FlowFees.FeesDeducted
584572 Tx ID 0000000000000000000000000000000000000000000000000000000000000000
585573 Values
0 commit comments