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

Bump concordium-rust-sdk from 4.3.0 to 5.0.0 in /contracts/my-contract/deploy-scripts #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps concordium-rust-sdk from 4.3.0 to 5.0.0.

Release notes

Sourced from concordium-rust-sdk's releases.

concordium-rust-sdk 5.0.0

Summary

Support the upcoming release of Concordium node 7.x and Concordium Protocol Version 7, which changes the behavior of cooldown of stake for validators and delegators and uses a new smart contract wasm module compilation with better performance.

Changes

  • Update the ContractClient to optionally include a schema.
  • Update the create method to the ContractClient to look up the embedded schema from the chain.
  • Add the new_with_schema method to the ContractClient to create a ContractClient with a given schema.
  • Add dry_run_update_with_reject_reason_info and dry_run_update_raw_with_reject_reason_info methods to the ContractClient. They are like the dry_run_update and dry_run_update_raw methods but in case of a reject, decode the reject reason into a human-readable error.
  • Add decode_concordium_std_error and decode_smart_contract_revert functions to facilitate reject reason decoding of failed transactions.
  • Add cis3 module and Cis3Contract for interacting with CIS3 contracts.
  • Updated the concordium-base to version 6 to incorporate protocol 7 changes (cooldown and baker pool status changes). Specifically, this changes the following public types:
    • AccountInfo: Now has two new fields, cooldown: Vec<Cooldown> and available_balance: Amount. The cooldown field specifies the stake currently in cooldown for the account. The available_balance field denotes the total amount available to the account for transfers.
    • BakerPoolStatus: The baker_equity_capital, delegated_capital, delegated_capital_cap, pool_info and baker_stake_pending_change fields are moved into a new type, ActiveBakerPoolStatus. A new field is added to BakerPoolStatus which includes these fields, namely active_baker_pool_status: Option<ActiveBakerPoolStatus>. This field is Some(..) iff pool_info is included in the node's PoolInfoResponse.
  • DelegationEvent adds a BakerRemoved case, as ConfigureDelegation can replace a baker with delegation from protocol 7.
  • BakerEvent adds a DelegationRemove case, as ConfigureBaker can replace a delegator with a baker from protocol 7.
  • Removed the postgres feature and all associated functionality. The intent is for this to be part of the transaction logger instead.
Changelog

Sourced from concordium-rust-sdk's changelog.

5.0.0

  • Update the ContractClient to optionally include a schema.
  • Update the create method to the ContractClient to look up the embedded schema from the chain.
  • Add the new_with_schema method to the ContractClient to create a ContractClient with a given schema.
  • Add dry_run_update_with_reject_reason_info and dry_run_update_raw_with_reject_reason_info methods to the ContractClient. They are like the dry_run_update and dry_run_update_raw methods but in case of a reject, decode the reject reason into a human-readable error.
  • Add decode_concordium_std_error and decode_smart_contract_revert functions to facilitate reject reason decoding of failed transactions.
  • Add cis3 module and Cis3Contract for interacting with CIS3 contracts.
  • Updated the concordium-base to version 6 to incorporate protocol 7 changes (cooldown and baker pool status changes). Specifically, this changes the following public types:
    • AccountInfo: Now has two new fields, cooldown: Vec<Cooldown> and available_balance: Amount. The cooldown field specifies the stake currently in cooldown for the account. The available_balance field denotes the total amount available to the account for transfers.
    • BakerPoolStatus: The baker_equity_capital, delegated_capital, delegated_capital_cap, pool_info and baker_stake_pending_change fields are moved into a new type, ActiveBakerPoolStatus. A new field is added to BakerPoolStatus which includes these fields, namely active_baker_pool_status: Option<ActiveBakerPoolStatus>. This field is Some(..) iff pool_info is included in the node's PoolInfoResponse.
  • DelegationEvent adds a BakerRemoved case, as ConfigureDelegation can replace a baker with delegation from protocol 7.
  • BakerEvent adds a DelegationRemove case, as ConfigureBaker can replace a delegator with a baker from protocol 7.
  • Removed the postgres feature and all associated functionality. The intent is for this to be part of the transaction logger instead.
Commits
  • 1e98372 Merge pull request #213 from Concordium/release-5.0.0
  • bfdd499 Fix highlighting in readme
  • 8f6c7c9 Change install instruction to use cargo add to avoid version
  • acab5fe Prepare for release of 5.0.0
  • 3445723 Remove postgres feature (#204)
  • 63580c5 Merge pull request #203 from Concordium/lma/fix/docs
  • aca31e4 updated documentation
  • a7a92b2 Merge pull request #202 from Concordium/cooldown-events
  • b1d3844 Address review comments.
  • af6d3c7 Support DelegationRemoved and BakerRemoved case for BakerEvent and `Del...
  • 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)

Bumps [concordium-rust-sdk](https://github.com/Concordium/concordium-rust-sdk) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/Concordium/concordium-rust-sdk/releases)
- [Changelog](https://github.com/Concordium/concordium-rust-sdk/blob/main/CHANGELOG.md)
- [Commits](Concordium/concordium-rust-sdk@releases/concordium-rust-sdk/4.3.0...releases/concordium-rust-sdk/5.0.0)

---
updated-dependencies:
- dependency-name: concordium-rust-sdk
  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 rust Pull requests that update Rust code labels Sep 16, 2024
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants