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

"dao acl grant" fails with "not a dao" #1825

Open
1 task done
TripleSpeeder opened this issue Feb 19, 2021 · 2 comments
Open
1 task done

"dao acl grant" fails with "not a dao" #1825

TripleSpeeder opened this issue Feb 19, 2021 · 2 comments

Comments

@TripleSpeeder
Copy link

🐛 Bug Report

I want to add publish permission for a new account to an APM repo.

  • The repo is deployed at brightid-node.public.dappnode.eth (0x4b214a2601d103fabaa8e94f06e924960bf4daeb).
  • The kernel is deployed at 0x0f3b8ec182deee2381a9041e30f65f10098a3b91.
  • The acl role i want to grant is "0x0000000000000000000000000000000000000000000000000000000000000001".
  • The address that should get publish permission is "0x7099b4d99876480fcc0ac46d7809b7287a946050".

I'm running this command:
aragon --environment aragon:mainnet --use-frame dao acl grant 0x0f3b8ec182deee2381a9041e30f65f10098a3b91 0x4b214A2601D103FAbAA8e94f06E924960Bf4daeB 0x0000000000000000000000000000000000000000000000000000000000000001 0x7099b4d99876480fcc0ac46d7809b7287a946050

The command fails with this output:

  ✖ Executing grantPermission on 0x0f3b8ec182deee2381a9041e30f65f10098a3b91
    → Provided daoAddress is not a DAO
✖ Provided daoAddress is not a DAO

Have you read the Contributing Guidelines on issues?

  • Yes

To Reproduce

  1. Make sure frame is running
  2. Execute aragon --environment aragon:mainnet --use-frame dao acl grant 0x0f3b8ec182deee2381a9041e30f65f10098a3b91 0x4b214A2601D103FAbAA8e94f06E924960Bf4daeB 0x0000000000000000000000000000000000000000000000000000000000000001 0x7099b4d99876480fcc0ac46d7809b7287a946050
  3. See error

Context

Note that the repository was created using the dappnodesdk (dappnodesdk publish), so it seems to have some differences to repos created directly with aragon tooling.

There are other commands that work:
aragon apm versions brightid-node.public.dappnode.eth --environment aragon:mainnet --use-frame or aragon apm info brightid-node.public.dappnode.eth 1.0.0 --environment aragon:mainnet --use-frame produce the expected output.

Mainnet or testnet?

Everything on Mainnet

Environment

Arch linux
aragon cli version 7.1.6

@welcome
Copy link

welcome bot commented Feb 19, 2021

Thanks for opening your first issue in aragonCLI! Someone will circle back soon ⚡

@codynhat
Copy link

I ran into a similar issue. I believe this is happening because the default Aragon ETH endpoint is having issues (wss://mainnet.eth.aragon.network/ws)

I was able to solve this by using my own endpoint. For example, using Frame and adding --ws-rpc ws://localhost:1248. Or using your own Infura endpoint would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants