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 output a signed transaction (serialized as base64) to a file #313

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

FroVolod
Copy link
Collaborator

Resolves #308

@frol frol merged commit ae25ded into main Mar 18, 2024
9 checks passed
@frol frol deleted the save-to-file-for-transaction branch March 18, 2024 19:47
@frol frol mentioned this pull request Mar 14, 2024
FroVolod added a commit that referenced this pull request Mar 19, 2024
… base64) to a file (#313)

Resolves #308

---------

Co-authored-by: FroVolod <frol_off@meta.ua>
frol added a commit that referenced this pull request Apr 23, 2024
## 🤖 New release
* `near-cli-rs`: 0.8.1 -> 0.9.0 (⚠️ API breaking changes)

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

```
--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.30.0/src/lints/enum_variant_added.ron

Failed in:
  variant SubmitDiscriminants:SaveToFile in /tmp/.tmpCLIkK6/near-cli-rs/src/transaction_signature_options/mod.rs:75
  variant SubmitDiscriminants:SaveToFile in /tmp/.tmpCLIkK6/near-cli-rs/src/transaction_signature_options/mod.rs:75
  variant CliSubmit:SaveToFile in /tmp/.tmpCLIkK6/near-cli-rs/src/transaction_signature_options/mod.rs:61
  variant Submit:SaveToFile in /tmp/.tmpCLIkK6/near-cli-rs/src/transaction_signature_options/mod.rs:75

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself 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.30.0/src/lints/struct_missing.ron

Failed in:
  struct near_cli_rs::transaction_signature_options::sign_later::InteractiveClapContextScopeForDisplay, previously in file /tmp/.tmprZL0VV/near-cli-rs/src/transaction_signature_options/sign_later/mod.rs:1
  struct near_cli_rs::transaction_signature_options::sign_later::CliDisplay, previously in file /tmp/.tmprZL0VV/near-cli-rs/src/transaction_signature_options/sign_later/mod.rs:1
  struct near_cli_rs::transaction_signature_options::sign_later::Display, previously in file /tmp/.tmprZL0VV/near-cli-rs/src/transaction_signature_options/sign_later/mod.rs:4
  struct near_cli_rs::transaction_signature_options::sign_later::DisplayContext, previously in file /tmp/.tmprZL0VV/near-cli-rs/src/transaction_signature_options/sign_later/mod.rs:17
```

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

<blockquote>

## [0.9.0](v0.8.1...v0.9.0)
- 2024-04-22

### Added
- Highlight the re-run command to make it more prominent
([#317](#317))
- Added ability to select contract function from NEAR ABI functions
([#314](#314))
- Added the ability to output a signed transaction (serialized as
base64) to a file ([#313](#313))

### Other
- Updated "interactive_clap" to 0.2.10 ("flatten" parameter changed to
"subargs") ([#322](#322))
- fix typos ([#318](#318))
- update `near-ledger` to `0.5.0`
([#309](#309))
- Upgraded `inquire` crate to use CustomType inputs where initial value
is needed ([#310](#310))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Signed-off-by: Vlad <304265+frol@users.noreply.github.com>
Co-authored-by: Vlad <304265+frol@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add posibility to output to file instead of console for large transactions
2 participants