Add module invariants and input validations (#14)

Reviewed-on: deep-stack/laconic2d#14
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
2024-03-06 09:24:15 +00:00
committed by nabarun
parent d346b95234
commit ec147272e6
15 changed files with 400 additions and 10 deletions
+4 -2
View File
@@ -118,6 +118,8 @@ func (ets *E2ETestSuite) createBond() string {
sr.NoError(err)
// extract bond id from bonds list
bond := queryResponse.GetBonds()[0]
return bond.GetId()
bonds := queryResponse.GetBonds()
sr.NotEmpty(bonds)
return queryResponse.GetBonds()[0].GetId()
}