-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Actor wrapper codegen #6108
Actor wrapper codegen #6108
Conversation
e17a6c4
to
c988b7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zeroeth pass review looks good. Will squint more closely at the actual templates tomorrow.
Cancel(msig address.Address, txID uint64, hash *ProposalHashData) (*types.Message, error) | ||
} | ||
|
||
// this type is the same between v0 and v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments such as these are a bit weird to have in the templates
5bcd062
to
1512614
Compare
01a0bc7
to
85e82ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is basically good to go, though one final review pass would be good
- [ ] Generate adapters | ||
- [ ] Add the new version in `chain/actors/agen/main.go` | ||
- [ ] Update adapter code in `chain/actors/builtin` if needed | ||
- [ ] Update `chain/actors/policy/policy.go` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to remove this now that it's generated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both bulitin and policy are gend
decodeTransaction(val *cbg.Deferred) (Transaction, error) | ||
} | ||
|
||
type Transaction = msig0.Transaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use latest?
"github.com/ipfs/go-cid" | ||
|
||
msig0 "github.com/filecoin-project/specs-actors/actors/builtin/multisig" | ||
msig4 "github.com/filecoin-project/specs-actors/v4/actors/builtin/multisig" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be latest
504098d
to
5f821cc
Compare
TODO:
make gen