Merge pull request #1296 from nspcc-dev/smartcontract/examples
examples: update examples
This commit is contained in:
commit
c3f7a419a0
19 changed files with 248 additions and 275 deletions
|
@ -127,7 +127,7 @@ func unexportedMethod() int { return 1 }
|
|||
}
|
||||
|
||||
t.Run("convert to Manifest", func(t *testing.T) {
|
||||
actual, err := d.ConvertToManifest(smartcontract.HasStorage)
|
||||
actual, err := d.ConvertToManifest(smartcontract.HasStorage, nil)
|
||||
require.NoError(t, err)
|
||||
// note: offsets are hard to predict, so we just take them from the output
|
||||
expected := &manifest.Manifest{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue