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

[Hotfix]use production build profile for the archive binary #8091

Merged
merged 5 commits into from
Mar 6, 2021

Conversation

deepthiskumar
Copy link
Member

@deepthiskumar deepthiskumar commented Mar 2, 2021

DUNE_PROFILE is not being set when building the archive.exe causing versioning mismatch between daemon and the archive process.

Fixes #8082
Fixes #8080

@deepthiskumar deepthiskumar requested a review from a team as a code owner March 2, 2021 22:39
@deepthiskumar deepthiskumar added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Mar 2, 2021
Copy link
Contributor

@lk86 lk86 left a comment

Choose a reason for hiding this comment

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

yeah that works for me

Makefile Outdated
@@ -83,7 +83,7 @@ build: git_hooks reformat-diff libp2p_helper

build_archive: git_hooks reformat-diff
$(info Starting Build)
ulimit -s 65532 && (ulimit -n 10240 || true) && dune build src/app/archive/archive.exe --profile=$(DUNE_PROFILE)
ulimit -s 65532 && (ulimit -n 10240 || true) && dune build src/app/archive/archive.exe --profile=testnet_postake_medium_curves
Copy link
Member

Choose a reason for hiding this comment

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

Can you change the profiles in the CI jobs instead? This will clobber the build artifacts when using this during development.

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 think the change in 4d26dac should do

Copy link
Member

@mrmr1993 mrmr1993 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@deepthiskumar
Copy link
Member Author

Tested on one of our archive nodes (archive1) and blocks (with snarks in them) are getting added. Also verified that coinbase amount in the database is 720

@es92
Copy link
Contributor

es92 commented Mar 6, 2021

!approved-for-mainnet

@lk86 lk86 merged commit 56f0135 into master Mar 6, 2021
@lk86 lk86 deleted the fix/archive-build-profile branch March 6, 2021 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants