Don't mine blocks instantly on devchain #158

Closed
opened 2019-07-29 14:31:14 +00:00 by raucao · 4 comments
raucao commented 2019-07-29 14:31:14 +00:00 (Migrated from github.com)

In Ganache, it is possible to deactivate auto-mining and set a block time in seconds.

Background is that I'm actually stuck with Web UI development right now, because everything is instantly confirmed, but want to design exactly the situation where there's a waiting time in between action and confirmation (https://github.com/67P/kredits-web/issues/120).

I was also wondering why we don't use the actual Ganache app, which is available for all of Linux, Mac, and Windows, where one can inspect and configure all kinds of devchain details via its UI. Would that be possible with our setup maybe?

In Ganache, it is possible to deactivate auto-mining and set a block time in seconds. Background is that I'm actually stuck with Web UI development right now, because everything is instantly confirmed, but want to design exactly the situation where there's a waiting time in between action and confirmation (https://github.com/67P/kredits-web/issues/120). I was also wondering why we don't use the actual Ganache app, which is available for all of Linux, Mac, and Windows, where one can inspect and configure all kinds of devchain details via its UI. Would that be possible with our setup maybe?
raucao commented 2019-07-29 14:47:47 +00:00 (Migrated from github.com)

By the way, the argument for ganache-cli would be --blocktime, but aragon devchain doesn't seem to allow most additional chain options.

By the way, the argument for ganache-cli would be `--blocktime`, but `aragon devchain` doesn't seem to allow most additional chain options.
raucao commented 2019-07-29 15:03:02 +00:00 (Migrated from github.com)

Asked on Aragon Chat, because the Internet didn't know. Let's see.

Asked on Aragon Chat, because the Internet didn't know. Let's see.
raucao commented 2019-07-31 09:14:20 +00:00 (Migrated from github.com)

Yay:

Hey @raucao I recently include some additional options to configure the devchain (e.g. gas-limit, network-id, mnemonic). I can include --blocktime and other relevant configurations. Do you have some additional suggestion on that?

Note that this will be possible on the next aragonCLI version that we will publish in the next couple of days

Yay: > Hey @raucao I recently include some additional options to configure the devchain (e.g. gas-limit, network-id, mnemonic). I can include `--blocktime` and other relevant configurations. Do you have some additional suggestion on that? > > Note that this will be possible on the next aragonCLI version that we will publish in the next couple of days
raucao commented 2019-08-07 12:36:45 +00:00 (Migrated from github.com)

From last night:

@raucao Now with last aragonCLI version you are able to configure --blocktime with aragon devchain. I'll also include the option on aragon run on next patch release. Documentation will be updated soon as well

From last night: > @raucao Now with last aragonCLI version you are able to configure `--blocktime` with `aragon devchain`. I'll also include the option on `aragon run` on next patch release. Documentation will be updated soon as well
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kredits/contracts#158
No description provided.