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

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

facuspagnuolo
Copy link
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
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?

// 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
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?

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
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 :)

@@ -11,7 +11,7 @@ const logger = Logger('setup')
const { network, guardians: guardiansNumber, disputes } = yargs
Copy link
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants