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

[berkeley] Remove stop-slots from compile config #15589

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mrmr1993
Copy link
Member

This PR removes the stop slots from the compile config.

These caused a previous issue where a release was baked expecting it to use the compile config, where CI is not set up to do so. Instead, we remove the options so that they are only injected in the correct location: in the runtime config that we provide for the network.

@mrmr1993 mrmr1993 requested review from a team as code owners April 30, 2024 13:58
@mrmr1993
Copy link
Member Author

!ci-build-me

Copy link
Collaborator

@SanabriaRusso SanabriaRusso left a comment

Choose a reason for hiding this comment

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

I wonder why infra reviewers are called for this PR. Seems a lot of protocol to me :)

@@ -67,7 +67,7 @@ let max_event_elements = 100

let max_action_elements = 100

[%%inject "network_id", network]
let network_id = "testnet"
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't this impact when building from source using mainnet profile?

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, but only locally. In CI, this is still true. It's also only used in one janky GraphQL endpoint anyway, where it's overridden by the ledger.name in the runtime config.

Copy link
Member

Choose a reason for hiding this comment

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

It seems like there are members in the community that build from source and not use the deb or docker images from releases. So we'll need to keep that option available

Copy link
Member

Choose a reason for hiding this comment

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

It's also only used in one janky GraphQL endpoint anyway, where it's overridden by the ledger.name in the runtime config.

oh :/

@mrmr1993 mrmr1993 changed the base branch from berkeley to develop April 30, 2024 19:15
@mrmr1993 mrmr1993 requested a review from a team as a code owner April 30, 2024 19:15
@georgeee georgeee changed the base branch from develop to berkeley April 30, 2024 19:20
@georgeee
Copy link
Member

Is this change necessary in berkeley?

It looks safe and sane, but I'd prefer to avoid any changes to berkeley unless we're confident they're necessary.

As for these changes, I suggest we merge them to develop and on berkeley reject any PR that touches compile configs (including touching the stop slots).

@deepthiskumar deepthiskumar changed the base branch from berkeley to develop May 6, 2024 16:09
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.

None yet

4 participants