near / cargo-near

Cargo extension for building Rust smart contracts on NEAR
Apache License 2.0
36 stars 17 forks source link

chore: update docker image and sdk version in `cargo near new` template #218

Closed dj8yfo closed 2 months ago

dj8yfo commented 2 months ago

1 cargo-near/src/commands/new/new-project-template/Cargo.toml.template:

  1. integration-tests/Cargo.toml

    • near-workspaces version to 0.13
  2. integration-tests/src/lib.rs

    • from_git::SDK_REVISION to 5.4 pointer
dj8yfo commented 2 months ago

@race-of-sloths ping

race-of-sloths commented 2 months ago

@dj8yfo Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Are you going to win race-of-sloths this month? If so, you should speed up! Run, Sloth, run!

[

<source media="(prefers-color-scheme: light)" srcset="https://badge.race-of-sloths.com/dj8yfo?type=bot&pr=near/cargo-near/218&theme=light">
<img alt="Shows profile picture for the author of the PR" src="https://badge.race-of-sloths.com/dj8yfo?type=bot&pr=near/cargo-near/218&theme=white">

](https://race-of-sloths.com/profile/dj8yfo)

Current status: executed | Reviewer | Score | |--------|--------| | @frol | 3 | Your contribution is much appreciated with a final score of 3! You have received 74 (30 base + 40 weekly bonus + 5% lifetime bonus) Sloth points for this contribution Another weekly streak completed, well done @dj8yfo! To keep your weekly streak and get another bonus make pull request next week! Looking forward to see you in race-of-sloths
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors: - Tag @race-of-sloths inside your pull requests - Wait for the maintainer to review and score your pull request - Check out your position in the [Leaderboard](https://race-of-sloths.com/leaderboard) - Keep weekly and monthly streaks to reach higher positions - Boast your contributions with a dynamic picture of your [Profile](https://race-of-sloths.com/profile/dj8yfo) For maintainers: - Score pull requests that participate in the Race of Sloths - Engage contributors with fair scoring and fast responses so they keep their streaks - Promote the Race to the point where the Race starts promoting you - Grow the community of your contributors Feel free to check [our website](https://race-of-sloths.com) for additional details!

Bot commands - For contributors - **Include a PR:** `@race-of-sloths include` to enter the Race with your PR - For maintainers: - **Invite contributor** `@race-of-sloths invite` to invite the contributor to participate in a race or include it, if it's already a runner. - **Assign points:** `@race-of-sloths score [1/2/3/5/8/13]` to award points based on your assessment. - **Reject this PR:** `@race-of-sloths exclude` to send this PR back to the drawing board. - **Exclude repo:** `@race-of-sloths pause` to stop bot activity in this repo until `@race-of-sloths unpause` command is called
dj8yfo commented 2 months ago

@akorchyn does the template has to wait for near-workspaces = { version = "0.12.0", features = ["unstable"] } version bump 0.12.0 -> 0.13.0?

it looks like it should

akorchyn commented 2 months ago

near-sdk works with the old version as well. (As It has circular dependency with workspace as well) So, I don't think it's a blocker. Though, we might wait to reduce amount of releases

Upd: But it will pull a lot of extra deps, so it's better to wait I guess

frol commented 2 months ago

Yeah, and also near-workspace-rs would greatly benefit from migrating from cargo-near dependency to cargo-near-build

dj8yfo commented 2 months ago

done (?) https://github.com/near/near-workspaces-rs/pull/373

akorchyn commented 2 months ago

I think we can update it now.

akorchyn commented 2 months ago

Actually, 0.26 is released :( Let's maybe use it as well. I'll try to push release as fast as I can :)