!JlyDNoJGELxCfReXhe:matrix.org

Dev-help

10 Members
Aragon development troubleshooting and help-related discussions1 Servers

Load older messages


SenderMessageTime
7 Feb 2020
@bridge-bot:matrix.orgbridge-bot <gabi>We use the eth-ens-namehash packages for ens hash 16:37:35
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>ok, thank you. so i have to change only ARAGON_FUNDRAISING_ID and leave PRESALE_ID as it is? 16:38:33
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>Do you know - where i can check that ARAGON_FUNDRAISING_ID is using for UI resolving? 16:53:41
@bridge-bot:matrix.orgbridge-bot <gabi>You can check if ARAGON_FUNDRAISING_ID is the same that the appId forn fundraising.aragonpm.eth 17:10:45
@bridge-bot:matrix.orgbridge-bot <gabi>You can check if ARAGON_FUNDRAISING_ID is the same that the appId for fundraising.aragonpm.eth 17:11:01
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>ok, there is no other way? I want to find where the contract point to UI 17:11:30
@bridge-bot:matrix.orgbridge-bot <gabi>That’s the easy way cause there are several thing happening under the hood 17:20:10
@bridge-bot:matrix.orgbridge-bot <gabi>
  1. The template use that particular appId to install the aragon fundrasing app under fundrasing.aragonpm.eth
  2. When a new org deployed using that template is load on the client the client is going to look for that particular repo (fundrasing.aragonpm.eth)
  3. The client fetch the repo and get the cid hash from IPFS
17:21:58
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>ok, but why it’s stored in ARAGON_FUNDRAISING_ID, but not in some common name like APP_ID? How application find that variable? 17:32:00
@bridge-bot:matrix.orgbridge-bot <gabi>The template use ir here: https://github.com/AragonBlack/fundraising/blob/next/templates/multisig/contracts/FundraisingMultisigTemplate.sol#L257 17:40:33
@bridge-bot:matrix.orgbridge-bot <gabi>And that end up installing the app on the org: https://github.com/AragonBlack/fundraising/blob/next/templates/multisig/contracts/FundraisingMultisigTemplate.sol#L615 17:41:21
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>I see the four _registerApp calls, the last one used to resolve UI? or order of calls is not matter? 17:49:08
@bridge-bot:matrix.orgbridge-bot <gabi>All install apps, the first one are background apps, so only for smart contract. The aragon fundraising is the only one with a UI 17:50:45
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>ok, so if some of apps have an published UI with app id - it appears in menu? For example: if i will publish UI for second app too - aragon will display second menu item with my another app? 17:55:33
@bridge-bot:matrix.orgbridge-bot <evgenii.panichev>Previous problem with –debug option:
? Publish to hacked3-aragon-fundraising.open.aragonpm.eth repo Yes

Publish hacked3-aragon-fundraising.open.aragonpm.eth [started]
→ Generating transaction and waiting for confirmation
Publish hacked3-aragon-fundraising.open.aragonpm.eth [failed]
→ Transaction would not succeed (“gas required exceeds allowance (10000000) or always failing transaction”)
✖ Error: Transaction would not succeed (“gas required exceeds allowance (10000000) or always failing transaction”)
at Object.publishVersion (/Users/jonybang/.nvm/versions/node/v10.18.0/lib/node_modules/@aragon/cli/node_modules/@aragon/apm/src/index.js:268:15)

22:08:19
8 Feb 2020
@bridge-bot:matrix.orgbridge-bot <keref>hi, how should I install a template? 08:34:42
@bridge-bot:matrix.orgbridge-bot <keref>dao new –template membership-template
✔ Fetching template membership-template.aragonpm.eth@latest
✖ Create new DAO from template
→ Invalid number of parameters for “newInstance”. Got 0 expected 6!
✖ Invalid number of parameters for “newInstance”. Got 0 expected 6!
08:34:43
@bridge-bot:matrix.orgbridge-bot <keref>I would expect the token and everything to be created by default, and it seems not, is there a doc page? 08:35:14
9 Feb 2020
@bridge-bot:matrix.orgbridge-bot <sohkai>@evgenii.panichev Unfortunately the best documentation for this right now is looking into the contract source code for arguments: https://github.com/aragon/dao-templates/blob/master/templates/membership/contracts/MembershipTemplate.sol#L36 10:45:47
@bridge-bot:matrix.orgbridge-bot <sohkai>@keref Unfortunately the best documentation for this right now is looking into the contract source code for arguments: https://github.com/aragon/dao-templates/blob/master/templates/membership/contracts/MembershipTemplate.sol#L36 10:45:59
@bridge-bot:matrix.orgbridge-bot <sohkai>Everything required for the organization is created via that function; it just needs the correct parameters. 10:46:32
@bridge-bot:matrix.orgbridge-bot <sohkai>(Alternatively, if you’re just looking to use the standard membership template, the frontend at mainnet.aragon.org should do everything you need to :) ) 10:47:07
10 Feb 2020
@bridge-bot:matrix.orgbridge-bot <keref>Thank you, yes I’m just looking to use the standard template but on a private network, so I still need to be able to publish everything 00:35:02
@bridge-bot:matrix.orgbridge-bot <keref>dao new –template membership-template –fn-args [“ktc, ‘[0xb4124cEB3451635DAcedd11767f004d8a28c6eE7, 0x8401Eb5ff34cc943f096A32EF3d5113FEbE8D4Eb]’, ‘[“true, 50, 100”]’, ‘0’, ‘fase’, ‘0x0’”]
✔ Fetching template membership-template.aragonpm.eth@latest
✖ Create new DAO from template
→ Invalid number of parameters for “newInstance”. Got 9 expected 6!
✖ Invalid number of parameters for “newInstance”. Got 9 expected 6!
00:55:18
@bridge-bot:matrix.orgbridge-bot <keref>Trying to tweak the arguments but failing, are they parsed by npm? Using https://github.com/aragon/dao-templates/blob/master/templates/membership/contracts/MembershipTemplate.sol#L99 00:57:19
@bridge-bot:matrix.orgbridge-bot <keref>ok, Mccormier answered me with using dao new –template membership-template –fn newTokenAndInstance –fn-args MyToken TKN daoName [’“0xb4124cEB3451635DAcedd11767f004d8a28c6eE7”’] [’“500000000000000000”,“50000000000000000”,“604800”’] 1296000 true and it workds 01:38:48
11 Feb 2020
@bridge-bot:matrix.orgbridge-bot <ecwireless>I'm currently trying to contribute a small fix to the sandboxed Finance App. Although, the fix has to do with how balances are displayed, and without the outer Aragon Client, I can’t deposit any test eth. Is there a recommended way of working around the Aragon Client to display dummy balances? 20:21:01
@bridge-bot:matrix.orgbridge-bot <mcormier>Hey @ecwireless Did you try this guide? https://gist.github.com/bpierre/22572415b90577aa17e5953fa68980eb#developing-the-apps
Especially the following section: Apps need to receive data from the client to run properly, and won’t work when being loaded directly. To run them in the Aragon client, run it by setting the ARAGON_APP_LOCATOR variable to local
20:30:02
@bridge-bot:matrix.orgbridge-bot <ecwireless>I’ve tried running ARAGON_APP_LOCATOR=local npm run start:rinkeby in the terminal after cd’ing into aragon, but it’s not treating it as an actual command 20:48:53
@bridge-bot:matrix.orgbridge-bot <gabi>cc @bpierre 23:04:24

Show newer messages


Back to Room ListRoom Version: 1