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

fix: added arbitrum sepolia to get retryable tickets #253

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

Maikol
Copy link
Member

@Maikol Maikol commented Nov 23, 2023

Added Arbitrum Sepolia network for getting retryable tickets. Included a critical log so next time we add a new chain we don't miss this step.

@Maikol Maikol changed the base branch from master to mainnet-staging November 24, 2023 12:06
@Maikol Maikol changed the base branch from mainnet-staging to master November 24, 2023 19:32
} else if (addresses.network === "sepolia") {
l2ChainIdHex = "0x066EEE"; // 0x066EEE = 421614 (Arbitrum Sepolia)
} else {
log.critical('Unsupported network: {}', [addresses.network]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This would break all deployments except mainnet, goerli and sepolia, since log.critical causes the subgraph to crash. If we want to give a warning or error message, please change it to log.error or log.warning

Copy link
Member Author

Choose a reason for hiding this comment

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

I see, my intention was to be loud so next time we wouldn't forget to update this but we can't do that since we do deploy this to other networks. I'll update to a warning.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Error would probably be also a decent choice if you want to make it extra obvious that something isn't expected, but given the context warning makes sense too

@juanmardefago juanmardefago merged commit 4637c57 into master Nov 24, 2023
2 checks passed
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.

3 participants