manifest: include contract Name
This commit is contained in:
parent
5f21178fe9
commit
c849176be7
25 changed files with 59 additions and 41 deletions
|
@ -149,10 +149,11 @@ func _deploy(isUpdate bool) {}
|
|||
}
|
||||
|
||||
t.Run("convert to Manifest", func(t *testing.T) {
|
||||
actual, err := d.ConvertToManifest(nil)
|
||||
actual, err := d.ConvertToManifest("MyCTR", nil)
|
||||
require.NoError(t, err)
|
||||
// note: offsets are hard to predict, so we just take them from the output
|
||||
expected := &manifest.Manifest{
|
||||
Name: "MyCTR",
|
||||
ABI: manifest.ABI{
|
||||
Hash: hash.Hash160(buf),
|
||||
Methods: []manifest.Method{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue