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

Add tracking of size and consumption in determing block utilization #4644

Conversation

darthsiroftardis
Copy link
Contributor

CHANGELOG:

  • Changed the tracking of block utilization to also consider the block size and gas being consumed
  • Added tests to ensure correct tracking of block utilization

…sumption-limit

# Conflicts:
#	node/src/reactor/main_reactor/tests.rs
# Conflicts:
#	node/src/components/contract_runtime/utils.rs
@darthsiroftardis
Copy link
Contributor Author

bors r+

casperlabs-bors-ng bot added a commit that referenced this pull request Apr 24, 2024
4644: Add tracking of size and consumption in determing block utilization r=darthsiroftardis a=darthsiroftardis

CHANGELOG:

- Changed the tracking of block utilization to also consider the block size and gas being consumed
- Added tests to ensure correct tracking of block utilization

Co-authored-by: Karan Dhareshwar <karan@casperlabs.io>
Copy link
Contributor

Build failed:

@darthsiroftardis
Copy link
Contributor Author

bors r+

casperlabs-bors-ng bot added a commit that referenced this pull request Apr 24, 2024
4644: Add tracking of size and consumption in determing block utilization r=darthsiroftardis a=darthsiroftardis

CHANGELOG:

- Changed the tracking of block utilization to also consider the block size and gas being consumed
- Added tests to ensure correct tracking of block utilization

Co-authored-by: Karan Dhareshwar <karan@casperlabs.io>
Copy link
Contributor

Timed out.

@darthsiroftardis
Copy link
Contributor Author

bors r+

casperlabs-bors-ng bot added a commit that referenced this pull request Apr 24, 2024
4644: Add tracking of size and consumption in determing block utilization r=darthsiroftardis a=darthsiroftardis

CHANGELOG:

- Changed the tracking of block utilization to also consider the block size and gas being consumed
- Added tests to ensure correct tracking of block utilization

Co-authored-by: Karan Dhareshwar <karan@casperlabs.io>
Copy link
Contributor

Timed out.

@darthsiroftardis
Copy link
Contributor Author

bors r+

Copy link
Contributor

Build succeeded:

@casperlabs-bors-ng casperlabs-bors-ng bot merged commit 6869225 into casper-network:feat-2.0 Apr 25, 2024
3 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.

None yet

2 participants