Function set_contract_sync_cache_invalid
pub unconstrained fn set_contract_sync_cache_invalid<let N: u32>(
contract_address: AztecAddress,
scopes: BoundedVec<AztecAddress, N>,
)
pub unconstrained fn set_contract_sync_cache_invalid<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.