Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

CLI: Update protocol to v1.0.0-beta.3#19

Open
facuspagnuolo wants to merge 1 commit into
developmentfrom
cli/update_protocol_version
Open

CLI: Update protocol to v1.0.0-beta.3#19
facuspagnuolo wants to merge 1 commit into
developmentfrom
cli/update_protocol_version

Conversation

@facuspagnuolo
Copy link
Copy Markdown
Contributor

No description provided.

@facuspagnuolo facuspagnuolo requested a review from sohkai November 9, 2020 22:44
@facuspagnuolo facuspagnuolo self-assigned this Nov 9, 2020
Copy link
Copy Markdown
Contributor

@sohkai sohkai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple small notes on the setup script, but otherwise:

  • Should we rename the settle-juror command's file to settle-guardian?
  • Do we need to update the payment command?
  • Does the execute script still apply?
  • Did we have any commands for withdrawing from the treasury or pulling from the subscriptions modules that we need to update?

Comment thread packages/cli/bin/setup.js
// create disputes
for (let i = 0; i < disputes; i++) {
const arbitrable = arbitrables[i]
const output = execSync(`node ./bin/index.js arbitrable -n ${network}`)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't sure, but does this deploy a new ArbitrableMock? Why aren't we able to use the previous arbitrables[i]?

Looking at the old code, was this just broken code?

Comment thread packages/cli/bin/setup.js
const arbitrable = arbitrables[i]
const output = execSync(`node ./bin/index.js arbitrable -n ${network}`)
const arbitrable = output.toString().match(/0x[a-fA-F0-9]{40}/g)
console.log(arbitrable)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's worth logging a bit more info here :)

Comment thread packages/cli/bin/setup.js
@@ -11,7 +11,7 @@ const logger = Logger('setup')
const { network, guardians: guardiansNumber, disputes } = yargs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find documentation on this script in the package's README, so wasn't sure when this was meant to be used. This is just for setting up an environment on the local chain?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants