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

transaction.cpp check_authority() recursion end issue #631

Closed
abitmore opened this issue Mar 20, 2016 · 6 comments
Closed

transaction.cpp check_authority() recursion end issue #631

abitmore opened this issue Mar 20, 2016 · 6 comments

Comments

@abitmore
Copy link
Contributor

In transaction.cpp, this line should not return false, but continue.

Test case (see testnet http://testnet.bitshares.eu/#/account/level00/permissions/):

  • Global max_authority_depth is 2
  • Create some accounts and set active permissions as: level00 -> level0 -> level1 -> level2-1/level2-3
  • Propose a proposal to transfer 1 TEST from level00 to level0
  • Approve the proposal by level2-3, the proposal doesn't execute
  • Approve the proposal by level2-1, the proposal executes
@theoreticalbts
Copy link
Contributor

This is a hardforking change.

@theoreticalbts theoreticalbts added this to the FutureRelease milestone Mar 22, 2016
@abitmore
Copy link
Contributor Author

Yes, it is. Will add hard fork logic (and probably rebase).

@bytemaster
Copy link
Contributor

great catch abit.

theoreticalbts added a commit that referenced this issue Mar 25, 2016
@theoreticalbts
Copy link
Contributor

After some discussion we've decided that the hardfork patch above is rather complex and needs a ton of testing to validate, and it's actually better to just port abit's one-liner.

@abitmore
Copy link
Contributor Author

It would be OK if nobody tried that in live network. However testnet will be broken anyway.. @xeroc any idea?

@xeroc
Copy link
Contributor

xeroc commented Mar 29, 2016

testnet's purpose is to break things .. finally a success ..
it's probably less work to just patch this hard fork in the testnet and continue as usual :)

nathanielhourt pushed a commit to FollowMyVote/graphene that referenced this issue Jul 22, 2016
pmconrad pushed a commit to pmconrad/graphene that referenced this issue Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants