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

Standardize most of chain/ to use near_async::time. #3

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

robin-near
Copy link
Owner

@robin-near robin-near commented Feb 27, 2024

This allows us to use Clock's everywhere rather than the StaticClock.

The simple_test_loop_example.rs now is able to produce blocks with a single client on a single-validator blockchain. It entirely happens in a single thread. The visualizer shows events related to block production and processing:

image

@robin-near robin-near merged commit 346f5f4 into async-refactor4 Feb 28, 2024
6 of 20 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.

1 participant