aeternity / aepp-sdk-go

Golang SDK to interact with the Æternity blockchain
ISC License
18 stars 10 forks source link

Refactor Client struct to be testable #80

Closed randomshinichi closed 4 years ago

randomshinichi commented 5 years ago

Currently, the SDK is not written in a very go-ish way, so SDK functions are not testable without a running node and integration tests.

Supporting v3.0.1 offers a good opportunity to reorganize/tidy up the code at the same time because v3.0.1 also makes many little type issues irrelevant.

Going to use more interfaces to mock out the Client struct.