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

Miner difficulty #9

Merged
merged 6 commits into from
Apr 11, 2023
Merged

Miner difficulty #9

merged 6 commits into from
Apr 11, 2023

Conversation

0o-de-lally
Copy link
Owner

@0o-de-lally 0o-de-lally commented Apr 11, 2023

Update the miner difficulty per the benchmarking params in https://github.com/0o-de-lally/libra/blob/release-v6/ol/documentation/delay-towers/difficulty_benchmarking.md

  • updates to rust cli tools
  • VM native function
  • Move controllers

1. changes the `NODE_ENV` env variable to `MODE_0L`. Had conflicts with node.js tools
2. creates a lazy static in ChainId.rs to get an Enum for Prod. Test, etc. Consolidates the names in one place.
3. Deprecates the `TEST` env variable, in favor of MODE_0L = ci
4. refactors throughout where env::var was being called directly
@0o-de-lally 0o-de-lally merged commit 8cf8b38 into v6-0d-rc.1 Apr 11, 2023
0o-de-lally added a commit that referenced this pull request Apr 11, 2023
* refactoring the 0L Chain setting by console env variables.
1. changes the `NODE_ENV` env variable to `MODE_0L`. Had conflicts with node.js tools
2. creates a lazy static in ChainId.rs to get an Enum for Prod. Test, etc. Consolidates the names in one place.
3. Deprecates the `TEST` env variable, in favor of MODE_0L = ci
4. refactors throughout where env::var was being called directly

* docs on benchmarking

* wip refactor difficulty

* updating test fixtures after NamedChain renames. Tower tests pass.

* update fixtures path
0o-de-lally added a commit that referenced this pull request Jul 5, 2023
* refactoring the 0L Chain setting by console env variables.
1. changes the `NODE_ENV` env variable to `MODE_0L`. Had conflicts with node.js tools
2. creates a lazy static in ChainId.rs to get an Enum for Prod. Test, etc. Consolidates the names in one place.
3. Deprecates the `TEST` env variable, in favor of MODE_0L = ci
4. refactors throughout where env::var was being called directly

* docs on benchmarking

* wip refactor difficulty

* updating test fixtures after NamedChain renames. Tower tests pass.

* update fixtures path
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.

1 participant