tweag / cooked-validators

MIT License
39 stars 11 forks source link

Introduce an option to change protocol parameters for one transaction #328

Closed carlhammann closed 1 year ago

carlhammann commented 1 year ago

Writing tests for PR #326 we encountered the transaction execution limits for the first time on cooked-validators v2 (relevant comment). This PR adds an option txOptChangeParams which allows to change the protocol paramters used during balancing and submission of a transaction.

Using this option obviously may break compatibility with mainnet, but may be useful for testing. For instance, using it on the test for showBS makes it possible to print the whole TxInfo.

carlhammann commented 1 year ago

I think this should also be advertised as a new feature in the changelog.

Oh, yes! Done in 7924d96.