koinos / koinos-contracts-cpp

This suite of system contracts provides core functionality for the Koinos blockchain including consensus algorithms and tokenomics.
Other
3 stars 2 forks source link

Various improvements to resource system functionality #73

Closed theoreticalbts closed 2 years ago

theoreticalbts commented 2 years ago

Brief description

This PR is my attempt to create a single patch to fix numerous issues in the resource system.

My notes on these changes are available here.

Here is a summary of the main changes:

And some work still to be done:

To the best of my knowledge, the current PR is functionally correct, and should be deployable on testnet as an in-band upgrade. But I have not tested it at all. (It should probably be tested with integration testing and a private testnet before being deployed.) Comments suggesting a testing plan are quite welcome!

Also, do feel free to close this PR and borrow some or all of the code and analysis in a better PR.

Checklist

Demonstration