Function invalidate_contract_sync_cache
pub unconstrained fn invalidate_contract_sync_cache<let N: u32>(
contract_address: AztecAddress,
scopes: BoundedVec<AztecAddress, N>,
)
pub unconstrained fn invalidate_contract_sync_cache<let N: u32>(
contract_address: AztecAddress,
scopes: BoundedVec<AztecAddress, N>,
)
Forces the PXE to re-sync the given contract for a set of scopes on the next query.
Call this after writing data (e.g. offchain messages) that the contract's
sync_statefunction needs to discover. Without invalidation, the sync cache would skip re-runningsync_stateuntil the next block.