Skip to content

Conversation

@CryptoPascal31
Copy link

This goal of this PR is to charge signatures both for size and for CPU.
It will be necessary for Post-Quantum signatures.

To sanitize and make it more clear, the PR creates a new concept of InitialGasModel:
an object that summarizes how a transaction will be charged, in Chainweb, before going to Pact.

The gas models are triggered by a rule within the Version.

Note: that this is Pact 5 only... I don't see the necessity to add complexity for porting it to Pact 4.

TODO: Create some proper unit tests

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.

3 participants