> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function do_sync_state_no_op

Module: `noir_aztec::messages::discovery`

```rust
pub unconstrained fn do_sync_state_no_op(
    _contract_address: AztecAddress,
    _compute_note_hash: ComputeNoteHash,
    _compute_note_nullifier: ComputeNoteNullifier,
    _process_custom_message: Option<CustomMessageHandler>,
    _offchain_inbox_sync: Option<OffchainInboxSync>,
    _scope: AztecAddress,
)
```

A [`CustomSyncHandler`](/aztec-nr-api/v6.0.0/noir_aztec/messages/discovery/type.CustomSyncHandler.md) that skips state synchronization entirely.

For contracts that hold no private state and emit no messages, there is nothing to discover: syncing would only perform unnecessary RPC calls.
