Skip to content

Commit

Permalink
feature: Re-introduce Compute Costs (#8915)
Browse files Browse the repository at this point in the history
This PR re-introduces changes from #8805 together with #8892 after fixing #8908:

The PR addresses #8265 by introducing aggregation of compute usage across all operations performed during chunk application and limiting this compute usage to 1s.

This should not change the behavior of nodes in the short run because compute costs match gas costs which is validated by the assert, so any discrepancy should be caught on canary nodes.
  • Loading branch information
aborg-dev authored and nikurt committed Apr 25, 2023
1 parent 8155e23 commit b54e37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/jsonrpc/jsonrpc-tests/res/genesis_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@
],
"use_production_config": false,
"records": []
}
}

0 comments on commit b54e37a

Please sign in to comment.