Repository navigation
Conversation
Bump scalus to ^1.5.0 in core-cst, scalus-emulator and transaction. Scalus 1.5.0 applies the Conway GOV rule in its Emulator, so a vote from a committee member who is not in the committee fails with UnelectedCommitteeVoters, as on a node. The "CC vote" test now starts the emulator with the wallet's key as a sitting committee member, with itself as the authorized hot key.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
scalusfrom^1.4.1to^1.5.0in@meshsdk/core-cst,@meshsdk/scalus-emulatorand@meshsdk/transaction(dev dependency). The lockfile changes only thescalusentries.What Mesh gets with 1.5.0 (full notes: https://github.com/scalus3/scalus/releases/tag/v1.5.0):
rollback(n).getTxStatus/awaitTxreport pending, confirmed, dropped or rolled-back transactions.emulator.ledgerFailures(tx)lists every ledger failure by its cardano-ledger name, for exampleMissingRedeemers.Test change
The Emulator now applies the Conway GOV rule, so a vote from a committee member who is not in the committee fails with
UnelectedCommitteeVoters, as on a node. TheCC votetest intx.test.tsnow starts the emulator with the wallet's key as a sitting committee member, with itself as the authorized hot key (EmulatorOptions.committeeandcommitteeHotKeys, new in 1.5.0). No library code changes.Tests
After
npm run build:mesh, all pass:npm run test:scalus-packagesNotes for other open PRs
@meshsdk/tx-emulator) still pinsscalus ^1.3.0; it can take^1.5.0and use the new chain features directly.Emulator.createwithouttreasurynow starts with the mainnet treasury, not 0; the Emulator rejects a PlutusV3 transaction that spends and references the same UTxO, and votes by an unregistered DRep.