Open
Conversation
…a_web_agents_subnet (#251) Co-authored-by: Nicknamess96 <113626193+Nicknamess96@users.noreply.github.com> Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com> Co-authored-by: BitToby <218712309+bittoby@users.noreply.github.com> Co-authored-by: bittoby <bittoby@users.noreply.github.com> Co-authored-by: Muhammet Eren Karakuş <erenkar950@gmail.com>
…epo (#256) Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: anderdc <alexanderdcastaneda@gmail.com>
Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
…268) Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: James Scott <JamesScott.1020@outlook.com> Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
Co-authored-by: Ander <61125407+anderdc@users.noreply.github.com>
The `gitt register` command used `ContractInstance` from substrate-interface, which required the compiled `.contract` file at smart-contracts/issues-v0/target/ink/issue_bounty_manager.contract. This meant users had to install Rust toolchains and build the contract locally just to run CLI commands. Refactored to use IssueCompetitionContractClient (raw extrinsic approach) which only needs the pre-extracted metadata.json already checked into the repo — consistent with every other contract-interacting command. Changes: - Add `str` SCALE encoding support to _encode_args() - Add register_issue() method to IssueCompetitionContractClient - Refactor mutations.py to use contract client instead of ContractInstance - Remove unused Path import and substrate-interface contracts dependency
Collaborator
Author
|
Lets not approve this until I register a bounty with these changes, just to test it |
Collaborator
|
can you mark this one as a draft if so? |
bcd7b1f to
4e74e2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactor
gitt registerto useIssueCompetitionContractClientinstead ofContractInstance, removing the requirement for a locally-built.contractfile. Users no longer need Rust/cargo-contract installed to run CLI commands.
Type of Change
Testing
Checklist