BlocSoc-iitr / selene

A fast & portable light client for Ethereum in Golang.
5 stars 6 forks source link

Implementation and testing of config/cli.go #18

Closed ABD-AZE closed 2 months ago

ABD-AZE commented 2 months ago

Resolves #15 1) Building and testing done successfully 2) CliConfig Struct defined 3) as_provider() function serializes the struct to map[string]{interface} 4) written test for as_provider() function using viper for testing but any other config management lib can be used for the project as the testing was only for checking the serialization process.

star-gazer111 commented 2 months ago

@ABD-AZE We are using Viper for now right?

star-gazer111 commented 2 months ago

LGTM

ABD-AZE commented 2 months ago

I have used viper just for testing that the data is getting serialised. It is not necessary to use viper for the whole project.