-
Notifications
You must be signed in to change notification settings - Fork 337
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
proposed transactions: get_full_accounts needs to notify ChainStore of any proposed transaction chagnes #442
Comments
Assigning this to @bytemaster who best understands the subscription system |
This turns out to be an issue of
|
I've modified the ChainStore in order to handle incoming proposal objects and add them to the relevant account objects in this commit: cryptonomex/graphene-ui@86cee9e However, this is not sufficient for proposals that require the approval of multi-sig accounts. The required_approval arrays only contain the parent account, not the actual accounts required. Say 1.2.1 requires the approval of 1.2.2 and 1.2.3. A proposal for a transfer from 1.2.1 will show up with "required_active_approvals": ["1.2.1"], not ["1.2.2", "1.2.3"], and those two accounts will not have any indication that their approval is required. Two changes are needed:
|
Setting this to high priority since it's the only thing stopping us from releasing proposed transactions in the GUI, opening up lots of new possibilities with multi-sig etc. |
@theoreticalbts @bytemaster can we get some feedback on this please? |
Bump |
I reassigned this bug to @theoreticalbts since I am sure it can be fixed easily by adding those proposals to the get_full_account output require my approval as well as those that concern the account directly. So it's not so much an issue of the chainstore from what I can tell .. |
This ticket is actually very non-trivial. The required approvals on the It is very tempting to simply modify the API call to return an extended object, which has the same fields, but additionally includes the result of the traversal. A similar approach is used in e.g. #253 to add fields indicating the However there is a critical difference: The I think the correct approach is to implement a new object type which is a |
Could this be done the other way round, too? So that I can get a list of proposals available for signature/approval by account_id? |
@xeroc : Yep! Querying the relation both ways is definitely useful, so we should add index to query it both ways. |
This issue was moved to bitshares/bitshares-core#161 |
Prevent bid_collateral from executing through proposal before hardfork
I can create new proposals, but they do not show up in the ChainStore until I refresh the application. The accounts are subscribed via get_full_accounts.
The text was updated successfully, but these errors were encountered: