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: guide user to call a contract #306

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3c9b261
feat: guide user for calling a contract
AlexD10S Sep 5, 2024
f9e305a
feat: get metadata contract from the contract path
AlexD10S Sep 5, 2024
5327bf9
refactor: refactor test and validate address input
AlexD10S Sep 5, 2024
83e236c
fix: apply feedback
AlexD10S Sep 6, 2024
7cef633
feat: prompt to have another call and skip questions for queries
AlexD10S Sep 6, 2024
62eefcf
refactor: use Cli module instead of cliclack
AlexD10S Sep 8, 2024
fee1e26
test: unit test pop-cli crate
AlexD10S Sep 9, 2024
6c9aa77
test: unit contracts crate
AlexD10S Sep 9, 2024
20360e8
chore: merge main
AlexD10S Sep 9, 2024
cd4c20f
chore: format
AlexD10S Sep 9, 2024
d59259c
test: refactor and improve test cases
AlexD10S Sep 10, 2024
c422192
fix: fix todos and refactor
AlexD10S Sep 10, 2024
22dd4f6
test: fix unit test
AlexD10S Sep 10, 2024
c8fedef
feat: parse types of parameters and display it to the user in the pla…
AlexD10S Sep 11, 2024
b0b3573
refactor: error handling for pop call
AlexD10S Sep 12, 2024
8e60da8
refactor: display call to be executed after guide and reorder
AlexD10S Sep 12, 2024
08f2454
refactor: when repeat call use same contract values and dont clean sc…
AlexD10S Sep 12, 2024
68848be
test: add dry-run test
AlexD10S Sep 13, 2024
1aaea92
test: refactor and add more test coverage
AlexD10S Sep 19, 2024
c3e0cc0
chore: merge main
AlexD10S Sep 19, 2024
05db96f
test: more coverage
AlexD10S Sep 20, 2024
8df2058
fix: unit test
AlexD10S Sep 20, 2024
96ed5f1
feat: dev mode to skip certain user prompts
AlexD10S Nov 5, 2024
0e5bf32
refactor: test functions, renaming and fix clippy
AlexD10S Nov 5, 2024
29848b4
refactor: improve devex of pop call contract
AlexD10S Nov 5, 2024
5f479fa
test: adjust tests to refactor
AlexD10S Nov 5, 2024
5be201b
chore: reset_for_new_call fields
AlexD10S Nov 6, 2024
e55d1a6
fix: build contract if has not been built
AlexD10S Nov 6, 2024
eaad4be
refactor: use command state (#338)
evilrobot-01 Nov 6, 2024
5998a7e
fix: parse user inputs for Option arguments (#332)
AlexD10S Nov 22, 2024
8e04a88
Merge branch 'main' into feat-call-ui-contracts
AlexD10S Nov 22, 2024
a6f8247
test: fix unit test
AlexD10S Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ sp-core = "31"
sp-weights = "30"
contract-build = "5.0.0-alpha"
contract-extrinsics = "5.0.0-alpha"
contract-transcode = "5.0.0-alpha"
scale-info = { version = "2.11.3", default-features = false, features = ["derive"] }
heck = "0.5.0"

# parachains
Expand Down
Loading
Loading