-
Notifications
You must be signed in to change notification settings - Fork 548
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
PR #16186, split for re-review #16502
Open
georgeee
wants to merge
25
commits into
georgeee/redo-16186-for-better-review-base
Choose a base branch
from
georgeee/redo-16186-for-better-review
base: georgeee/redo-16186-for-better-review-base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
37fde44
Move transaction_capacity_log_2 to Runtime_config
georgeee 33ce3c3
Introduce Runtime_config.Constants
georgeee 71bd217
Rename Genesis_ledger_helper.init_from_config_file
georgeee e053563
Split out legacy part from inputs_from_config_file
georgeee 788ab19
Add compile_config to Genesis_proof.Inputs
georgeee 37e3584
Add config_files flag to Cli_lib
georgeee f070475
Remove default_transaction_fee from node_config
georgeee ffbfe45
Implement init_from_config_file (non-legacy)
georgeee b2eb3df
Use init_from_config_file in mina_lib tests
georgeee 34d7a98
Use init_from_config_file in archive
georgeee d5a56e3
Accept optional --config-file in standalone SW
georgeee 7860cdf
Accept optional --config-file in 'internal snark-worker'
georgeee 3062393
Use load_constants in snarky_tests
georgeee eaba812
Accept optional --config-file in vrf cli commands
georgeee 09bd9bd
Use load_constants in delegation_verify app
georgeee 2249d75
Accept --config-file in hash ledger and two other
georgeee 10df606
Accept optional --config-file for compile-time-constants
georgeee 39b7c74
Accept optional --config-file in constraint_system_digests
georgeee eefcc50
Accept optional --config-file in 'internal run-prover'
georgeee bb8ebe1
Accept optional --config-file in 'internal run-verifier', 'internal r…
georgeee c1d7fbd
Move load_config_files to Genesis_ledger_helpers
georgeee b47cf86
Remove default_snark_worker_fee usage
georgeee cb395b2
Use non-legacy inputs_from_config_file in load_config_files
georgeee b98f42f
Remove legacy functions from Config_loader
georgeee 60b5ab3
Remainder of changes from PR #16186
georgeee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RE commit 788ab19
This field is added to
Genesis_proof.t
so that it later appears inPrecomputed_values.t
and in all of the places that get it.I don't like this solution. I tried to revert it on
compatible
, but there turned out to be many places which need to be updated.I suggest to leave it "as is" and later find a better solution for passing
Mina_compile_config.t
to various structures. BTW, the name will soon be completely pointless, as this config is configured in runtime now as much as in runtime. I suggest after refactoring to get rid of any compile-time configuration whatsoever we reconsider use of bothMina_compile_config.t
andPrecomputed_values.t
. And skip spending time on partial solutions nowThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this is terrible. The original PR should not have landed in this state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you against it so much as to ask us to rework this immediately?
Or are you okay with this change to live in the codebase for a bit longer? Until we have more progress on dismantling the compile-time config and then we plan to remove
Mina_compile_config.t
, so it will naturally disappear fromInputs.t
as well.