examples: add documentation

And provide the wallet for examples `my_wallet.json` with the owner
address inside.
This commit is contained in:
Anna Shaleva 2021-03-22 21:13:29 +03:00
parent 2f07d1aa9e
commit 0948d53244
6 changed files with 119 additions and 0 deletions

View file

@ -475,6 +475,11 @@ func TestCompileExamples(t *testing.T) {
e := newExecutor(t, false)
for _, info := range infos {
if !info.IsDir() {
// example smart contracts are located in the `/examples` subdirectories, but
// there are also a couple of files inside the `/examples` which doesn't need to be compiled
continue
}
t.Run(info.Name(), func(t *testing.T) {
infos, err := ioutil.ReadDir(path.Join(examplePath, info.Name()))
require.NoError(t, err)