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.
You can trigger a rebase of this PR 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 12.0.0-alpha.26 to 12.0.0-beta.2.
Release notes
Sourced from
@emurgo/cardano-serialization-lib-nodejs
's releases.... (truncated)
Commits
f240365
version bumpd104ff7
fix redeemer indexing for mint builder216c907
move emip3 and tx_builder_constants tests to test module29e316b
move fees tests to test module3900785
fakes generator functions unificationb374e35
move fakes into test submodule197c456
add packages with finalization registryb5686ba
bump csl version4840c51
bump node version in nvmrc, bump dev dependenciese056c45
warnings cleanupYou can trigger a rebase of this PR 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