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 12.0.1 in /server #488

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2024

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

Release notes

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

12.0.0 beta 1

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.

... (truncated)

Commits

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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 2, 2024
@wolf31o2
Copy link
Contributor

wolf31o2 commented Sep 2, 2024

This needs more work to be merged.

[0] [nodemon] starting `ts-node index.ts`
[0] /code/server/node_modules/ts-node/src/index.ts:859
[0]     return new TSError(diagnosticText, diagnosticCodes, diagnostics);
[0]            ^
[0] TSError: ⨯ Unable to compile TypeScript:
[0] service/tx.ts(8,3): error TS2724: '"@emurgo/cardano-serialization-lib-nodejs"' has no exported member named 'StakeCredential'. Did you mean 'Credential'?
[0] 
[0]     at createTSError (/code/server/node_modules/ts-node/src/index.ts:859:12)
[0]     at reportTSError (/code/server/node_modules/ts-node/src/index.ts:863:19)
[0]     at getOutput (/code/server/node_modules/ts-node/src/index.ts:1077:36)
[0]     at Object.compile (/code/server/node_modules/ts-node/src/index.ts:1433:41)
[0]     at Module.m._compile (/code/server/node_modules/ts-node/src/index.ts:1617:30)
[0]     at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
[0]     at Object.require.extensions.<computed> [as .ts] (/code/server/node_modules/ts-node/src/index.ts:1621:12)
[0]     at Module.load (node:internal/modules/cjs/loader:1317:32)
[0]     at Function.Module._load (node:internal/modules/cjs/loader:1127:12)
[0]     at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
[0]   diagnosticCodes: [ 2724 ]
[0] }
[0] [nodemon] app crashed - waiting for file changes before starting...

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 16, 2024

Superseded by #498.

@dependabot dependabot bot closed this Sep 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/server/emurgo/cardano-serialization-lib-nodejs-12.0.1 branch September 16, 2024 03:07
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.

1 participant