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 inspect and download-abi commands for contracts! #293

Merged
merged 29 commits into from
Feb 19, 2024

Conversation

FroVolod
Copy link
Collaborator

Resolves #70

Cargo.toml Outdated Show resolved Hide resolved
@FroVolod FroVolod marked this pull request as ready for review February 14, 2024 17:20
Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

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

Bugs:

  • Inspecting a contract account without ABI returns nothing

src/commands/contract/mod.rs Outdated Show resolved Hide resolved
src/commands/contract/download_contract_abi/mod.rs Outdated Show resolved Hide resolved
src/commands/contract/inspect_contract/mod.rs Outdated Show resolved Hide resolved
src/commands/contract/inspect_contract/mod.rs Outdated Show resolved Hide resolved
@frol frol changed the title feat: Show contract method names feat: Added inspect and download-abi commands for contracts! Feb 19, 2024
frol
frol previously approved these changes Feb 19, 2024
@frol frol enabled auto-merge (squash) February 19, 2024 11:54
@frol frol merged commit 849d8c8 into main Feb 19, 2024
7 checks passed
@frol frol deleted the inspect-contract branch February 19, 2024 12:06
@frol frol mentioned this pull request Feb 19, 2024
frol added a commit that referenced this pull request Feb 19, 2024
## 🤖 New release
* `near-cli-rs`: 0.7.8 -> 0.8.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.28.0/src/lints/enum_variant_added.ron

Failed in:
  variant ContractActionsDiscriminants:Inspect in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:35
  variant ContractActionsDiscriminants:DownloadAbi in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:38
  variant ContractActionsDiscriminants:Inspect in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:35
  variant ContractActionsDiscriminants:DownloadAbi in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:38
  variant CliContractActions:Inspect in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:17
  variant CliContractActions:DownloadAbi in /tmp/.tmpCcWnr1/near-cli-rs/src/commands/contract/mod.rs:17
```

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

<blockquote>

## [0.8.0](v0.7.8...v0.8.0)
- 2024-02-19

### Added
- Added `inspect` and `download-abi` commands for contracts!
([#293](#293))

### Fixed
- Fixed incorrect serialization in staking delegation commands that
required to input amounts
([#300](#300))
- Fixed a syntax error in CI (publish-to-npm.yml)
</blockquote>


</p></details>

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

Signed-off-by: Vlad <[email protected]>
Co-authored-by: Vlad <[email protected]>
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.

Show contract method names
2 participants