Module junobuild_shared::assert

source ·

Functions§

  • Asserts the validity of a given user timestamp against the current timestamp. e.g. the timestamp of an existing entity persisted in a smart contract.
  • Asserts the validity of a given user version against the required version. This function checks if the provided user version matches the current system version. It is designed to ensure that operations relying on version numbers are executed with the correct versions to prevent issues with compatibility or outdated requests.