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

Gauntlet main commands #19

Merged
merged 6 commits into from
Jan 24, 2022
Merged

Gauntlet main commands #19

merged 6 commits into from
Jan 24, 2022

Conversation

RodrigoAD
Copy link
Member

No description provided.


type OnchainConfig = any

export type OffchainConfig = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, definitely. we can discuss this offline

Copy link
Member Author

Choose a reason for hiding this comment

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

This should go to @chainlink/gauntlet-contracts

Copy link
Collaborator

Choose a reason for hiding this comment

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

BILLING_ACCESS_CONTROLLER=${billingAC}
REQUESTER_ACCESS_CONTROLLER=${requesterAC}
`)
process.env.LINK = linkAddress
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we communicate via env variables in-process? Is there a better way to pipe flags/input data forward?

Copy link
Member Author

Choose a reason for hiding this comment

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

For now we don't. As these contracts are deployed only once, gauntlet expects them to be constants. Anyway it needs to be redefined, I don't know it make sense that these addresses are set as env

Copy link
Collaborator

Choose a reason for hiding this comment

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

It doesn't! They should be part of the RDD definition.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Comment on lines 30 to 48
// {
// name: 'Upload Contracts',
// command: UploadContractCode,
// },
// {
// name: 'Deploy LINK',
// command: DeployLink,
// id: this.stepIds.LINK,
// },
// {
// name: 'Deploy Billing Access Controller',
// command: 'access_controller:deploy',
// id: this.stepIds.BILLING_ACCESS_CONTROLLER,
// },
// {
// name: 'Deploy Request Access Controller',
// command: 'access_controller:deploy',
// id: this.stepIds.REQUEST_ACCESS_CONTROLLER,
// },
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should probably be excluded from the ocr2 deploy flow as we often want to reuse LINK & AC contracts, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

True

flow with abstract wrapper

split into command and contract input

updated set payees input

Split payees and transmitters on set payees

ac and proxy abstract wrappers

RDD inputs on ocr2 flow command

remove logs
@RodrigoAD
Copy link
Member Author

This should be ready @krebernisak

@RodrigoAD RodrigoAD merged commit fa1268a into main Jan 24, 2022
@RodrigoAD RodrigoAD deleted the gauntlet-main-commands branch January 24, 2022 10:34
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