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

feat: Added the ability to send a signed meta-transaction from a file #428

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

FroVolod
Copy link
Collaborator

No description provided.

@FroVolod
Copy link
Collaborator Author

@race-of-sloths

@race-of-sloths
Copy link

race-of-sloths commented Dec 16, 2024

@FroVolod Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Great job! Usain Bolt jealous of your results!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@akorchyn 8

Your contribution is much appreciated with a final score of 8!
You have received 84 (80 base + 5% lifetime bonus) Sloth points for this contribution

@akorchyn received 25 Sloth Points for reviewing and scoring this pull request.

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
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • 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 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

Copy link
Collaborator

@akorchyn akorchyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@race-of-sloths score 8

Well done. Do we have the ability to save the delegate transaction?

@akorchyn akorchyn merged commit c7e2134 into main Dec 16, 2024
12 checks passed
@akorchyn akorchyn deleted the send-signed-delegate-action branch December 16, 2024 14:19
@frol frol mentioned this pull request Dec 16, 2024
@FroVolod
Copy link
Collaborator Author

FroVolod commented Dec 16, 2024

@akorchyn

Do we have the ability to save the delegate transaction?

Yes, as base64
Screenshot 2024-12-16 at 16 30 21

akorchyn pushed a commit that referenced this pull request Dec 17, 2024
## 🤖 New release
* `near-cli-rs`: 0.16.1 -> 0.17.0 (⚠️ API breaking changes)

### ⚠️ `near-cli-rs` breaking changes

```
--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.37.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field inner of struct SignedDelegateActionAsBase64, previously in file /tmp/.tmpAefZh2/near-cli-rs/src/types/signed_delegate_action.rs:5

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.37.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field SignedDelegateActionAsBase64.inner in file /tmp/.tmpyy9aLz/near-cli-rs/src/types/signed_delegate_action.rs:4
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.17.0](v0.16.1...v0.17.0)
- 2024-12-16

### Added

- Added the ability to send a signed meta-transaction from a file (#428)
- Added the ability to send a signed transaction from a file (#412)
- Added the ability to use TEACH ME mode to create an account with a
faucet service sponsor (#407)

### Fixed

- Fixed field name for JSON file with transaction information
(signed-transaction-info.json) (#427)

### Other

- add CODEOWNERS (#426)
- print searched location on miss on sign-with-legacy-keychain (#422)
- [**breaking**] updates near-* dependencies to 0.28 release (#423)
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped 🚀
Development

Successfully merging this pull request may close these issues.

3 participants