Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the concept of an "uninitialized" ContractId #377

Merged
merged 3 commits into from
Jul 30, 2024

Commits on Jul 29, 2024

  1. uplink: remove concept of "uninitialized" ContractId

    Eduardo Leegwater Simões committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    04e1ba0 View commit details
    Browse the repository at this point in the history
  2. contracts: adapt to removed "uninitialized" ContractId

    Eduardo Leegwater Simões committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    43c0dc4 View commit details
    Browse the repository at this point in the history
  3. piecrust: change caller import to return integer

    The integer signals whether there is actually a caller or not. It will
    be 1 if there is a caller, 0 if no caller, and the contract is the first
    in the call chain.
    
    This allows for contracts to more easily handle the situation in which
    they're the first to be called, a situation which happens often
    downstream in e.g. queries.
    Eduardo Leegwater Simões committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    133b378 View commit details
    Browse the repository at this point in the history