Applying configurable thresholds on consensus (#367)

This commit is contained in:
Kasun Kavinda
2022-07-28 10:35:17 +05:30
committed by GitHub
parent 2a4a7d3b34
commit 3eaec9ac74
2 changed files with 24 additions and 9 deletions

View File

@@ -112,9 +112,14 @@ do
bin_path: '$binary', \
bin_args: '$binargs', \
environment: '', \
roundtime: $roundtime, \
consensus: 'public', \
npl: 'public'
consensus: { \
...require('./tmp.json').contract.consensus, \
mode: 'public', \
roundtime: $roundtime \
}, \
npl: { \
mode: 'public' \
}\
}, null, 2)")
mesh_json=$(node -p "JSON.stringify({...require('./tmp.json').mesh, \