-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix: accept address or index param for VoterParamsGet methods #369
Conversation
e8b430c
to
21b2c4b
Compare
31baa5e
to
21b2c4b
Compare
21b2c4b
to
dfdd388
Compare
The fix itself looks good but the stubs version will need to be bumped also. Take a look at the Versioning section of the stubs README.md. The question is whether we treat this as a breaking change or as a bug-fix. Technically, since there could exist contracts which will fail to type-check and thus compile after this change, it is a breaking change. |
dfdd388
to
4cd3863
Compare
The stubs version has been bumped from |
Proposed Changes
According to the doc, the stack arg
A
ofvoter_params_get
op code is an Account which is the same as the stack argA
ofacct_params_get
op code.This PR changes the type of parameter
a
for the methods ofVoterParamsGet
class to beAccount | UInt64 | int
to be inline withAcctParamsGet
class.