Skip to content

build(deps): bump gsdk from 1.6.2 to 1.8.0 #25

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

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps gsdk from 1.6.2 to 1.8.0.

Release notes

Sourced from gsdk's releases.

v1.8.0

Release v1.8.0 changes

  • Crates versions bumped to "v1.8.0”, runtime spec version bumped to 1800 (#4593);
  • Weights of extrinsic and WASM instructions WERE NOT updated.

[!IMPORTANT] Minimal stable 🦀 Rust version bumped to v1.85.

[!NOTE] To update your compiler version run: $ rustup update stable

Update requirements

Name Character
JS clients 🔴 Required
Programs 🟡 Recommended
Node bin ⚪ Insubstantial

Key changes

🔥📖 Panic instruction now fully flexible (#4583);

[!IMPORTANT] Previously, each error reply followed a soft invariant: messages had to be filled with string-formatted data. That constraint is now lifted - it’s entirely up to users and their implementation details.

[!NOTE] The gr_panic syscall now accepts arbitrary bytes as payload. These can be processed by the calling actor, enabling more flexible and expressive error handling within your program’s logic.

No more userspace hacks needed for error cases!


🔥📖 Extended purpose and usage of error reply codes (#4589);

[!NOTE] As mentioned in the previous update, the invariant requiring string payloads in error replies is deprecated. Alongside that, the error reply code system has been refactored.

All changes are backward compatible with existing programs.

The InactiveActor error reply variant has been renamed to UnavailableActor, and it now includes sub-variants that indicate the specific reason for unavailability.

[!IMPORTANT] In most error cases, there will be no payload in the message. The reply codes themselves are now sufficiently descriptive to give your application clear insights into what went wrong.

Spefic cases include:

  • UserspacePanic code: payload will contain the raw bytes passed by the program via the gr_panic argument;

  • ProgramExited code: payload will contain 32 bytes representing the ActorId of the program’s designated inheritor, set through a prior (fatal) gr_exit call;

  • All other error code cases: payload will be empty. Be sure to parse reply codes properly in your clients (e.g., frontends, indexers).


🔥📖 System GearBank account address changed (#4588);

[!IMPORTANT] Previously, the GearBank (pallet-gear-bank) account address was derived from a repeated "gearbank" string to fill 32 bytes (kGhsZSxCZpJN8aC2jbQ4Sm9NMhfAE9FtNjthhRDvpGPQNNFkv).

... (truncated)

Commits
  • d1181d8 chore(workspace): update codec, update substrate to workaround codec bug (#4597)
  • cd8f3a6 feat(core-errors): More descriptive UnavailableActor (former `InactiveError...
  • a8ce3b9 chore(workspace): bump for v1.8.0 (#4593)
  • 9349ee3 fix(gtest): limit max applied gas (#4592)
  • def9646 refactor: Migrate from env_logger to tracing-subscriber (#4577)
  • f834f4e feat(pallet-gear-eth-bridge): Add message fee (#4590)
  • 518bdba refactor(gear-bank): Derive gear bank account id from the pallet id (#4588)
  • 3227a24 test(ethexe-db): cover program_ids() & check_within_recent_blocks() (#4580)
  • 69e6f01 refactor: Lower panic data restriction (#4583)
  • 474406d fix(runtime): adjust economical constants, bump gas price (#4585)
  • 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 [gsdk](https://github.com/gear-tech/gear) from 1.6.2 to 1.8.0.
- [Release notes](https://github.com/gear-tech/gear/releases)
- [Changelog](https://github.com/gear-tech/gear/blob/master/docker/Dockerfile-release)
- [Commits](gear-tech/gear@v1.6.2...v1.8.0)

---
updated-dependencies:
- dependency-name: gsdk
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Apr 28, 2025
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