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 gstd from v1.0.2 to v1.2.0 in /contracts #93

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 Mar 12, 2024

Bumps gstd from v1.0.2 to v1.2.0.

Release notes

Sourced from gstd's releases.

v1.2.0

Release v1.2.0 changes

  • Crates versions bumped to "v1.2.0", runtime spec version bumped to 1200 (#3806);
  • Weights of extrinsic and WASM calls was NOT updated, schedule version bumped to 1200 to force new checks (#3806);
  • ⚠️ Gas price multiplier dumped from 25 value per gas to 6 value per gas, so all transactions and execution become 4x+ times cheaper in terms of tokens (#3806).

Update requirements

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

User-space

📚 All requirements for codes to be uploaded now checked at compile time using gear-wasm-builder (#3649);


📚 Errors related to incorrect codes uploaded now contain a full description and become more user friendly (#3695, #3757);


📚 Gas limit argument become optional if using gcli for submitting transactions (#3753);

[!NOTE] Previously, if passed --gas-limit=0 or skipped, than rpc call calculate_gas took place. Now this behaviour was changed: if explicitly set --gas-limit=0 than zero is used, while if skipped - it will be calculated.

Runtime

📚 Bug of returning Error::DuplicateWake between program executions was fixed (#3475);

[!NOTE] Previously, flow of program execution wake(x) -> wait/wake(self) -> wake(x) was returning error on the last wake, while now it properly wakes the message.

[!IMPORTANT] Don't forget that waking the same message within one execution (wake(x) -> wake(x)) is still an error and will be like that according to protocol design.


📚 Bug of missing re-instrumentation in reading state RPC calls, resulting in inability to read state, was fixed (#3759);


📚 Bug of returning block gas limit from calculate gas RPC call in case of finite waits was fixed (#3780);


📚 Bug of expiring payload while gr_send_commit results in an error was fixed (#3785);


📚 The total amount of outgoing bytes was limited to prevent validators memory overflow (#3743);

[!IMPORTANT] While amount of outgoing messages allowed within one message is kept the same - 1024 pcs, total amount of bytes kept in memory at the same time for sendings was limited by 64MB.

... (truncated)

Changelog

Sourced from gstd's changelog.

FROM debian:12-slim

ARG RELEASE_VERSION

RUN apt-get update &&
apt-get install -y curl sudo xz-utils &&
rm -rf /var/lib/apt/lists/*

RUN if [ -z "$RELEASE_VERSION" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://get.gear.rs/install.sh | bash -s -- --to /usr/local/bin/ ;
else
curl --proto '=https' --tlsv1.2 -sSf https://get.gear.rs/install.sh | bash -s -- --tag ${RELEASE_VERSION} --to /usr/local/bin/ ;
fi

RUN gear --version

CMD ["gear"]

Commits
  • 80fffbc chore!(workspace): Bump versions and dump gas price (#3806)
  • 9455255 feat(rpc-call): Implement new call to send message and collect reply from on-...
  • 52e538c [depbot] Bump the deps group with 1 update (#3805)
  • 056fa41 refactor(node): Hold the instance of BuiltinDispatcher in ExtManager (#3781)
  • b198857 fix(pallet-gear): fix CI build (#3802)
  • 7aa8a71 refactor(wasm-instrument): add docs, simplify code (#3792)
  • 529cdef fix(core): set taken payload back in case of errors in MessageContext (#3785)
  • 5baa308 fix(gtest): Replace opinionated submit_code with non-opinionated (#3796)
  • 810acc5 refactor(core): change PageU32Size to PageNumber in CostPerPage (#3795)
  • f9e03ae refactor(benchmarks): remove garbage from benchmarks (#3786)
  • Additional commits viewable in compare view

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 [gstd](https://github.com/gear-tech/gear) from v1.0.2 to v1.2.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@d02d306...80fffbc)

---
updated-dependencies:
- dependency-name: gstd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the A3-insubstantial A pull request requires no review. label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A3-insubstantial A pull request requires no review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants