Updated code to use ReceivedBlockStoreResult as the return type for handler's storeBlock