Skip to content
Discussion options

You must be logged in to vote

StateGetReceipt looks back for the receipt, and will return nil when the receipt isn't found, which is what happens here, because of the parent execution model (state/receipts it tipset at epoch N are computed using messages/state at epoch N-1)

Random example:

$ lotus chain getblock bafy2bzacecgtezx2lvz3mud3jzck2jixewv73yneznmk3tzvfcg5qkbscjs4e | jq '.BlsMessages[0]'
{
  "Version": 0,
  "To": "f065174",
  "From": "f3qg6bktzxmzikb6shagao3p77i5xkq5o6ow7zlf7dx6gzc6hhmndbooq5h4psgyq33zbkdlhtj4wts376my3q",
  "Nonce": 89479,
  "Value": "118278133244029334",
  "GasLimit": 16969083,
  "GasFeeCap": "2946535178",
  "GasPremium": "104705",
  "Method": 6,
  "Params": "igMZvMjYKlgpAAGC4gOB6AIgPICDnbNu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by LexLuthr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api status/archived Archive label, use when closing/locking old discussions.
3 participants
Converted from issue

This discussion was converted from issue #4948 on January 20, 2021 07:08.