Skip to content
Discussion options

You must be logged in to vote

Your params are incorrect here in the last API call.

// StateDecodeParams attempts to decode the provided params, based on the recipient actor address and method number.
StateDecodeParams(ctx context.Context, toAddr address.Address, method abi.MethodNum, params []byte, tsk types.TipSetKey) (interface{}, error) //perm:read

You need to provide toAddr address.Address which would be f2kemhdxzy6lc2zt2c7gzr6h5d3mlurcbllfodqyq in your case.

# lotus chain decode params f2kemhdxzy6lc2zt2c7gzr6h5d3mlurcbllfodqyq 3 "ghibQA=="
2022/08/01 07:03:57 proto: duplicate proto type registered: pb.NoiseHandshakePayload
{
  "ID": 155,
  "ProposalHash": null
}

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@i-xiaov
Comment options

@arajasek
Comment options

@i-xiaov
Comment options

@tok-kkk
Comment options

@i-xiaov
Comment options

Answer selected by LexLuthr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/messages status/archived Archive label, use when closing/locking old discussions.
6 participants