-
Notifications
You must be signed in to change notification settings - Fork 44
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
Updates on main OCR Flow commands #100
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.
I think you might be missing the set_writer
command in the flow command?
Ok, adding it now |
exec: this.showRddIdentifierInstructions, | ||
}, | ||
{ | ||
name: 'Set writer on Store', |
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.
@aalu1418 This is run right after the OCR2 feed is initialized. I think is correct?
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 think that should work. all you need is the store account (from the initialize store), transmissions account (from the create feed), and storeAuthority (calculated in the ocr2 initialize)
5c03236
to
261f095
Compare
c58ad58
to
da734bc
Compare
const feed = Keypair.generate() | ||
|
||
const granularity = new BN(input.granularity) | ||
const liveLength = new BN(input.liveLength) | ||
const length = new BN(this.flags.length || 8096) | ||
const feedAccountLength = new BN(8 + 128 + length.toNumber() * 24) | ||
const feedAccountLength = new BN(8 + 128 + length.toNumber() * 48) |
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.
Shouldn't this still be 24
? the transmissions account didn't change
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.
👍🏼
No description provided.