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

Minor code refactor and test cases #149

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Conversation

adasari
Copy link

@adasari adasari commented Apr 19, 2021

No description provided.

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

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
Copy link
Author

adasari commented Apr 27, 2021

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
Copy link
Author

adasari commented Apr 27, 2021

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

cmd/avawallet.go Outdated Show resolved Hide resolved
cmd/avawallet.go Outdated Show resolved Hide resolved
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