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

api/command for encoding actor params #7150

Merged
merged 2 commits into from
Aug 20, 2021
Merged

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Aug 20, 2021

Example use:

$ lotus-shed msg encode-params --to f02 --method 4 '"35496873496"'                                                                                                                                                                                                                                                                                                   
RgAIQ8dOGA==

(encode-params-code is similar, but useful when the actor of a given type doesn't exist on-chain (e.g. for serializing constructor params))

@magik6k magik6k requested a review from arajasek August 20, 2021 15:38
@magik6k magik6k requested a review from a team as a code owner August 20, 2021 15:38
@arajasek
Copy link
Contributor

lotus chain encode params does the same thing as the new encode-params

@magik6k magik6k changed the title api/shed command for encoding actor params api/command for encoding actor params Aug 20, 2021
Copy link
Contributor

@arajasek arajasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@magik6k magik6k merged commit 36cb7d9 into master Aug 20, 2021
@magik6k magik6k deleted the feat/state-encode-params branch August 20, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants