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

chore: label deployed contracts in deploy script #61

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from

Conversation

xorsal
Copy link
Contributor

@xorsal xorsal commented Nov 26, 2024

🤖 Linear

Closes GRT-XXX

Comment on lines 267 to 278
function _labelContracts() internal {
// convert to a loop?
vm.label(address(oracle), 'Oracle');
vm.label(address(eboAccessModule), 'eboAccessModule');
vm.label(address(eboRequestModule), 'RequestModule');
vm.label(address(bondedResponseModule), 'bondedResponseModule');
vm.label(address(bondEscalationModule), 'bondEscalationModule');
vm.label(address(eboRequestCreator), 'EBORequestCreator');
vm.label(address(graphToken), 'GraphToken');
vm.label(address(horizonStaking), 'HorizonStaking');
vm.label(address(epochManager), 'EpochManager');
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used this while testing and debugging the whole thing.

I could remove it, or add it below each corresponding line.

Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to have it below each corresponding line. In case someone wants to add more contracts it is easier to not forget to label it that way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in f9b44f2

@xorsal xorsal changed the title chore: update Deploy script chore: label deployed contracts Nov 27, 2024
@xorsal xorsal changed the title chore: label deployed contracts chore: label deployed contracts in deploy script Nov 27, 2024
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