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

Make state tipset usage consistent in the API #4545

Merged
merged 10 commits into from
Feb 5, 2021

Commits on Dec 9, 2020

  1. Make state tipset usage consistent in the API

    _Always_ (almost) use the tipset's parent state, instead of computing.
    
    Exceptions:
    
    * MinerGetBaseInfo. Fixing this would break things so we need to be
    careful (although we could bump the API version, fix it, then fix the call
    sites).
    * StateReplay. This is replaying a message on top of the given tipset.
    * GasEstimateGasLimit. This executes the message on-top-of the tipset's
    computed state (unlike call which executes it on the tipset's parent state).
      * Having this method and Call apply the message at different heights is really
      weird.
    Stebalien committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    b8e3808 View commit details
    Browse the repository at this point in the history
  2. Compute the next nonce from the tipset, instead of actually executing…

    … the tipset
    
    We could also do this in the message pool itself, but I'm not sure if it's worth it?
    Stebalien committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    e164dbb View commit details
    Browse the repository at this point in the history
  3. Fix duplicate nonce test

    StateGetActor now gets the actor at the tipset parent state.
    Stebalien committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    a47b063 View commit details
    Browse the repository at this point in the history
  4. update docs

    Stebalien committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    b78b9a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. Configuration menu
    Copy the full SHA
    56a9d05 View commit details
    Browse the repository at this point in the history
  2. choose the correct nonce

    Co-authored-by: Łukasz Magiera <[email protected]>
    Stebalien and magik6k authored Jan 30, 2021
    Configuration menu
    Copy the full SHA
    feb24c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. bump api version

    magik6k committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    52bfed1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f60371 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c772d6 View commit details
    Browse the repository at this point in the history
  4. docsgen

    magik6k committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    33c1283 View commit details
    Browse the repository at this point in the history