Skip to content
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

chore(deps): bump @emurgo/cardano-serialization-lib-nodejs from 11.5.0 to 13.2.0 in /server #521

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 3, 2025

Bumps @emurgo/cardano-serialization-lib-nodejs from 11.5.0 to 13.2.0.

Release notes

Sourced from @​emurgo/cardano-serialization-lib-nodejs's releases.

13.2.0 Errors and Taxes

API Changes:

Transaction Fee Calculation Updates

  • set_fee() now sets a static fee that remains unchanged during change calculation
    • TransactionBuilder.build_tx() will emit an error if minimal possible fee exceeds specified fee
  • New set_min_fee() method added
    • Sets minimum fee threshold
    • If minimal possible fee is lower, uses the specified minimum fee value

Additional Validation

  • Added balance validation in build_tx()
  • Added collateral balance check in set_total_collateral_and_return()

Published

https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-browser/v/13.2.0 https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-nodejs/v/13.2.0 https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-asmjs/v/13.2.0 https://crates.io/crates/cardano-serialization-lib/13.2.0

Experimental packages with gc support

https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-nodejs-gc/v/13.2.0 https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-browser-gc/v/13.2.0 https://www.npmjs.com/package/@​emurgo/cardano-serialization-lib-asmjs-gc/v/13.2.0

Full Changelog: Emurgo/cardano-serialization-lib@13.1.0...13.2.0

13.0.0 Set theory

Serialization Changes:

  • Set Type Serialization: All set types are now serialized with a tag "258", which will become mandatory after the next hard fork (HF). There is no way to force serialization without the tag. The period between the current and the next era serves as a transition between the old CBOR format and the new CBOR format for sets.

  • Preservation of Original Transaction Bytes: Only the FixedTransaction type can preserve original transaction bytes. This is crucial when signing a transaction from a third party, as there is no guarantee that all CBOR types will be in a specific format.

  • Redeemers Collection Serialization: The redeemers collection is now serialized as a map by default. After the next HF, redeemers will only be allowed as a map.

API Changes:

  • New Function has_transaction_set_tag: We've added the has_transaction_set_tag function to help you check if all sets in a transaction have the tag. It returns TransactionSetsState based on the transaction's content. This is useful for determining whether a transaction can be signed by a hardware wallet. In the case of MixedSets, it might be impossible to sign a transaction with a hardware wallet. Once the tag "258" becomes mandatory, we will remove the has_transaction_set_tag function.

    enum TransactionSetsState {
        AllSetsHaveTag = 0,
        AllSetsHaveNoTag = 1,
        MixedSets = 2,
    }
  • Removal of hash_transaction: The hash_transaction function has been removed because it cannot guarantee the correctness of a transaction hash for a transaction from a third-party tool. Instead, you should use the FixedTransaction type.

... (truncated)

Commits
  • ea09fed Flow update
  • 16dc745 bump version
  • 6b06b0b add comments
  • f02922f Merge pull request #655 from Emurgo/evgenii/perfomace-test
  • ff47774 Merge branch 'master' into evgenii/perfomace-test
  • c58a87c Merge pull request #701 from Emurgo/evgenii/better-fees
  • 4bf338f Merge branch 'master' into evgenii/better-fees
  • f25c296 Merge pull request #702 from Emurgo/evgenii/better_collateral_error
  • 28ac275 Merge branch 'master' into evgenii/perfomace-test
  • e832b5e fix fee getter
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 3, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 3, 2025

Deploying tosidrop-vm-frontend with  Cloudflare Pages  Cloudflare Pages

Latest commit: f7f3a8f
Status: ✅  Deploy successful!
Preview URL: https://70508eda.tosidrop-vm-frontend.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-serv-ere2.tosidrop-vm-frontend.pages.dev

View logs

Bumps [@emurgo/cardano-serialization-lib-nodejs](https://github.com/Emurgo/cardano-serialization-lib) from 11.5.0 to 13.2.0.
- [Release notes](https://github.com/Emurgo/cardano-serialization-lib/releases)
- [Commits](Emurgo/cardano-serialization-lib@11.5.0...13.2.0)

---
updated-dependencies:
- dependency-name: "@emurgo/cardano-serialization-lib-nodejs"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/server/emurgo/cardano-serialization-lib-nodejs-13.2.0 branch from 3f5e42a to f7f3a8f Compare January 3, 2025 15:25
Copy link
Contributor

@wolf31o2 wolf31o2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires additional changes to be accepted.

@wolf31o2 wolf31o2 closed this Jan 4, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 4, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/server/emurgo/cardano-serialization-lib-nodejs-13.2.0 branch January 4, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants