File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1079,7 +1079,7 @@ access(all) contract DeFiActions {
10791079 if let cap = self ._executionCallback {
10801080 if cap .check () {
10811081 if let callback = cap .borrow () {
1082- callback .onExecuted (balancerUUID : self .uuid )
1082+ callback .onExecuted (balancerUUID : self .uniqueID ?. id ?? 0 )
10831083 }
10841084 }
10851085 }
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ access(all) fun test_ExecutionCallbackRuns() {
188188 let createdEvts = Test .eventsOfType (Type <DeFiActions .CreatedAutoBalancer >())
189189 Test .assertEqual (1 , createdEvts .length )
190190 let createdEvt = createdEvts [0 ] as ! DeFiActions .CreatedAutoBalancer
191- let balancerUUID = createdEvt .uuid
191+ let balancerUUID = createdEvt .uniqueID ?? 0
192192
193193 let interval : UInt64 = 10
194194 let executionEffort : UInt64 = 1_000
You can’t perform that action at this time.
0 commit comments