-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 tosettle-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}`) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
No description provided.