Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

Minor code refactor and test cases - #149

Open
adasari wants to merge 10 commits into
ava-labs:devfrom
adasari:adasari/tc
Open

Minor code refactor and test cases#149
adasari wants to merge 10 commits into
ava-labs:devfrom
adasari:adasari/tc

Conversation

@adasari

@adasari adasari commented Apr 19, 2021

Copy link
Copy Markdown

No description provided.

@adasari
adasari changed the base branch from master to dev April 19, 2021 21:45
@aaronbuchwald

Copy link
Copy Markdown
Contributor

This is a great start, but we should probably be revamping the APIs used in avash to use the client in AvalancheGo instead. Ex. https://github.com/ava-labs/avalanchego/blob/master/vms/avm/client.go.

@adasari

adasari commented Apr 27, 2021

Copy link
Copy Markdown
Author

This is a great start, but we should probably be revamping the APIs used in avash to use the client in AvalancheGo instead. Ex. https://github.com/ava-labs/avalanchego/blob/master/vms/avm/client.go.

@aaronbuchwald Client wrapper looks good. Shall i go ahead use client instead of explicit api calls ? if yes, what would be the output of the command(s) ? remains same or print all details of response struct ?

@adasari

adasari commented Apr 27, 2021

Copy link
Copy Markdown
Author

@aaronbuchwald @cgcardona - Replaced API calls with avm client for avawallet cmd and also added testcases. please take a look.

Comment thread cmd/avawallet.go Outdated
Comment thread cmd/avawallet.go Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants