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

Permissions are not setup correctly for the Counter app(?) #214

Closed
kernelwhisperer opened this issue Sep 28, 2018 · 6 comments
Closed

Permissions are not setup correctly for the Counter app(?) #214

kernelwhisperer opened this issue Sep 28, 2018 · 6 comments
Assignees
Labels
🐛 bug An unexpected behavior of the API

Comments

@kernelwhisperer
Copy link
Contributor

To reproduce this:

  1. aragon init foo
  2. aragon run (pin parcel-bundler to v1.9.3 if running fails)
  3. Press increment in the counter app

image

Browser console logs:
transaction bag {transaction: undefined, path: Array(0), accept: ƒ, reject: ƒ}

  1. Add a new permission
    image

What happens next is that the permission is granted and the confirmation(?) fails:
image

  1. Trying to increment gives the same error

Note:

  • Running dao acl [dao-address] throws Cannot find module '@aragon/apps-token-manager/arapp'

Environment:
aragon-cli version 5.0.0

Any thoughts on how to debug this?

@kernelwhisperer kernelwhisperer self-assigned this Sep 28, 2018
@kernelwhisperer kernelwhisperer changed the title Permissions are not setup correctly for the Counter app Permissions are not setup correctly for the Counter app(?) Sep 28, 2018
@izqui
Copy link
Contributor

izqui commented Oct 1, 2018

@0x6431346e Just to confirm, the network and the account are properly set in Metamask right? The first address that gets printed when doing aragon run or aragon devchain should be allowed to perform the action and is the manager for said permission.

Running dao acl [dao-address] throws Cannot find module '@aragon/apps-token-manager/arapp'

That's quite weird, can you try using the latest master for the CLI and seeing if the error persists? We recently changed how the roles of known apps get calculated in #209 (still unreleased)

@cjyabraham
Copy link

I got the same issue and yes, I've set the Metamask account correctly I think.

@kernelwhisperer
Copy link
Contributor Author

@izqui this was resolved by deleting .aragon/ganache-db-8545

Maybe we should consider having a different ganache folder for each aragon os version ? 🤔

@luisivan
Copy link
Contributor

luisivan commented Oct 1, 2018

That'd make a lot of sense @0x6431346e

@sohkai sohkai added the 🐛 bug An unexpected behavior of the API label Oct 8, 2018
@sohkai
Copy link
Contributor

sohkai commented Oct 8, 2018

@0x6431346e Should we close this for #137?

@kernelwhisperer
Copy link
Contributor Author

Yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug An unexpected behavior of the API
Projects
None yet
Development

No branches or pull requests

5 participants