-
Notifications
You must be signed in to change notification settings - Fork 328
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
[ioctl][ws][#3] project sub command to support interaction with ws contracts #4281
Conversation
if err != nil { | ||
return nil, errors.Wrap(err, "failed to create contract caller") | ||
} | ||
caller.SetAmount(big.NewInt(int64(transferAmount.Value().(uint64)))) |
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.
uint64 is not enough for token amount in rau unit, which can only represent around 18 IOTX at most
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.
has this been fixed?
ioctl/cmd/ws/wsutil.go
Outdated
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.
Is it redundent with generated Go like contracts/fleetmanagement.go?
…/ws_project_sub_command
Quality Gate passedIssues Measures |
…ntracts (#4281) * feat(ioctl/ws): ioctl support ws project contracts interactions
Description
updated reference:
wsutil: impls a universal contract calling with result retrieve and contract reading
supported commands:
ioctl ws project register
ioctl ws project attributes set/geg
ioctl ws project update
ioctl ws project query
ioctl ws project pause/resume
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: