-
Notifications
You must be signed in to change notification settings - Fork 721
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
tx-generator: add capability for PlutusV2 scripts #4667
Conversation
d375075
to
f7eda48
Compare
456ec90
to
b075aa5
Compare
b075aa5
to
90c3f17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @mgmeier!
39b1134
to
58569f8
Compare
bors r+ |
4667: tx-generator: add capability for PlutusV2 scripts r=deepfire a=mgmeier **NB**: This branch is rebased on `jj/update-ledger`, so it should only be merged on top of that. (_EDIT_: good to go ✅ ) This PR adds PlutusV2 capability to `bench/tx-generator` and prepares it to use the new SECP built-ins. * ✅ -- The generator can now handle PlutusV2 * ✅ -- Flake input bump for `plutus-apps`, to include latest SECP scripts for benchmarking * ✅ -- Script redeemers are now parametrizable in the generator, instead of hard-coded * ✅ -- workbench integration Additionally, workbench profiles `plutus-secp-ecdsa` and `plutus-secp-schnorr` have been defined. Those provide a benchmarking auto-loop script w/ a fitting redeemer targeted to use the respective SECP built-in. In this PR, the cost model used is the one for protocol version 8.0 from `preview`. Co-authored-by: Michael Karg <[email protected]> Co-authored-by: Kosyrev Serge <[email protected]>
Timed out. |
6d82d5e
to
fd0f479
Compare
Very nice; this change enables consistently (and permamently) maintaining sets of protocol parameters and Plutus cost models. A great foundation for encoding a matrix of eras and protocol versions in workbench profiles. |
a4e80aa
to
33f9f73
Compare
33263ed
to
319fef3
Compare
319fef3
to
f431387
Compare
bors r+ |
4667: tx-generator: add capability for PlutusV2 scripts r=deepfire a=mgmeier **NB**: This branch is rebased on `jj/update-ledger`, so it should only be merged on top of that. (_EDIT_: good to go ✅ ) This PR adds PlutusV2 capability to `bench/tx-generator` and prepares it to use the new SECP built-ins. * ✅ -- The generator can now handle PlutusV2 * ✅ -- Flake input bump for `plutus-apps`, to include latest SECP scripts for benchmarking * ✅ -- Script redeemers are now parametrizable in the generator, instead of hard-coded * ✅ -- workbench integration Additionally, workbench profiles `plutus-secp-ecdsa` and `plutus-secp-schnorr` have been defined. Those provide a benchmarking auto-loop script w/ a fitting redeemer targeted to use the respective SECP built-in. In this PR, the cost model used is the one for protocol version 8.0 from `preview`. Co-authored-by: Michael Karg <[email protected]> Co-authored-by: Kosyrev Serge <[email protected]>
Build failed: |
bors r+ |
4667: tx-generator: add capability for PlutusV2 scripts r=deepfire a=mgmeier **NB**: This branch is rebased on `jj/update-ledger`, so it should only be merged on top of that. (_EDIT_: good to go ✅ ) This PR adds PlutusV2 capability to `bench/tx-generator` and prepares it to use the new SECP built-ins. * ✅ -- The generator can now handle PlutusV2 * ✅ -- Flake input bump for `plutus-apps`, to include latest SECP scripts for benchmarking * ✅ -- Script redeemers are now parametrizable in the generator, instead of hard-coded * ✅ -- workbench integration Additionally, workbench profiles `plutus-secp-ecdsa` and `plutus-secp-schnorr` have been defined. Those provide a benchmarking auto-loop script w/ a fitting redeemer targeted to use the respective SECP built-in. In this PR, the cost model used is the one for protocol version 8.0 from `preview`. Co-authored-by: Michael Karg <[email protected]> Co-authored-by: Kosyrev Serge <[email protected]>
Build failed: |
NB: This branch is rebased on
jj/update-ledger
, so it should only be merged on top of that. (EDIT: good to go ✅ )This PR adds PlutusV2 capability to
bench/tx-generator
and prepares it to use the new SECP built-ins.plutus-apps
, to include latest SECP scripts for benchmarkingAdditionally, workbench profiles
plutus-secp-ecdsa
andplutus-secp-schnorr
have been defined. Those provide a benchmarking auto-loop script w/ a fitting redeemer targeted to use the respective SECP built-in.In this PR, the cost model used is the one for protocol version 8.0 from
preview
.