According to protocol design, deposit request from client chain should always be successful. For submitReward, though it is also a kind of deposit for reward, it's difficult to assume that it would always be successful: e.g. if someone submits reward for a not existing AVS, it's meaningless to account for the deposit of reward in this case.
Otherwise we should consider the situation where submitReward could fail and unlock the assets that have been locked in the reward vault, so that the depositor could withdraw them out of vault later.
Description
According to protocol design, deposit request from client chain should always be successful. For
submitReward
, though it is also a kind of deposit for reward, it's difficult to assume that it would always be successful: e.g. if someone submits reward for a not existing AVS, it's meaningless to account for the deposit of reward in this case.Otherwise we should consider the situation where
submitReward
could fail and unlock the assets that have been locked in the reward vault, so that the depositor could withdraw them out of vault later.