THIS IS A BETA RELEASE, AND SOME THINGS MIGHT CHANGE IN THE FINAL 12.0.0
Update Summary
1. Address Types:
Added network_id getter to Address types.
Introduced new address type: Malformed. Used when it's impossible to deserialize an address in structs where the address is a nested type.
New getter for address: kind(). Returns an enum with address type.
New getter for address: payment_cred(). Returns payment credential.
New function for address: is_malformed().
2. PlutusV3 Support:
Added PlutusV3 support in all Plutus-specific structures.
3. Token Handling:
Prohibited sending and minting of zero tokens.
4. New Certificates:
Added support for the following certificates (can be added via CertificatesBuilder):
CommitteeColdResign
CommitteeHotAuth
DrepDeregistration
DrepRegistration
DrepUpdate
StakeAndVoteDelegation
StakeRegistrationAndDelegation
StakeVoteRegistrationAndDelegation
VoteDelegation
VoteRegistrationAndDelegation
5. Reference Script Fee:
TransactionBuilderConfigBuilder: Added ref_script_coins_per_byte setter to account for new fees for reference script inputs.
PlutusScriptSource: Now requires an additional mandatory parameter for script size for reference inputs.
6. New Builder Types:
VotingBuilder: For participation in voting for governance actions.
VotingProposalBuilder: For proposing voting actions.
TransactionBuilder: Now has setters for these new builders.
7. Extended Coin Selection Functions:
TransactionBuilder has two new coin selection functions to account for change output and collateral return during fee estimation:
add_inputs_from_and_change: Considers change calculation; no need to call add_change_if_needed after it.
add_inputs_from_and_change_with_collateral_return: Considers change calculation and collateral return; no need to call add_change_if_needed after it.
NOTE: add_inputs_from_and_change_with_collateral_return doesn't perform coin selection for collateral inputs; you need to specify collateral inputs manually.
8. New Protocol Types for Governance-related Actions:
VotingProcedure: Vote for specific governance action proposal.
VotingProcedures: Collection of votes.
VotingProposal: Proposal of specific governance action.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @emurgo/cardano-serialization-lib-nodejs from 11.5.0 to 12.1.0.
Release notes
Sourced from
@emurgo/cardano-serialization-lib-nodejs
's releases.... (truncated)
Commits
08476c7
bump versionec74c31
fix flowf2eff15
no public wasm to/from bytesb8d771c
Revert "add "set" tag as default for serialization"bf3137e
add functions to tx signing to FixedTransactionc7682ab
add "set" tag as default for serialization765c1b4
bump versiond86ce38
fix naming9eb9345
fix script data hash for empty redeemers26b9d5c
Merge pull request #686 from Emurgo/evgenii/mint_assets_memory_fixDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show