diff --git a/pkg/core/native/management.go b/pkg/core/native/management.go index 888482095..26bd855f8 100644 --- a/pkg/core/native/management.go +++ b/pkg/core/native/management.go @@ -141,7 +141,7 @@ func newManagement() *Management { md = newMethodAndPrice(m.setMinimumDeploymentFee, 1<<15, callflag.States) m.AddMethod(md, desc) - desc = newDescriptor("hasMethod", smartcontract.IntegerType, + desc = newDescriptor("hasMethod", smartcontract.BoolType, manifest.NewParameter("hash", smartcontract.Hash160Type), manifest.NewParameter("method", smartcontract.StringType), manifest.NewParameter("pcount", smartcontract.IntegerType)) diff --git a/pkg/services/rpcsrv/server_test.go b/pkg/services/rpcsrv/server_test.go index 011ca030b..d524e1d5b 100644 --- a/pkg/services/rpcsrv/server_test.go +++ b/pkg/services/rpcsrv/server_test.go @@ -78,7 +78,7 @@ const ( nfsoContractHash = "0e15ca0df00669a2cd5dcb03bfd3e2b3849c2969" nfsoToken1ID = "7e244ffd6aa85fb1579d2ed22e9b761ab62e3486" invokescriptContractAVM = "VwIADBQBDAMOBQYMDQIODw0DDgcJAAAAAErZMCQE2zBwaEH4J+yMqiYEEUAMFA0PAwIJAAIBAwcDBAUCAQAOBgwJStkwJATbMHFpQfgn7IyqJgQSQBNA" - block20StateRootLE = "c0abd1e544338e2da6bb8ea7c1915fc44ff4226150b053ca8ff8ca75d50faf49" + block20StateRootLE = "f1380226a217b5e35ea968d42c50e20b9af7ab83b91416c8fb85536c61004332" storageContractHash = "ebc0c16a76c808cd4dde6bcc063f09e45e331ec7" )