rpc: remove Main func from test contract

This commit is contained in:
Evgenii Stratonikov 2020-07-24 13:54:58 +03:00
parent 685d44dbc1
commit 84c148575d
3 changed files with 2 additions and 6 deletions

View file

@ -51,8 +51,8 @@ type rpcTestCase struct {
check func(t *testing.T, e *executor, result interface{})
}
const testContractHash = "6e2d823c81589871590653a100c7e9bdf9c94344"
const deploymentTxHash = "3b434127495a6dd0e786a2e0f04696009cd6e6e5f9b930f0e79356638532096c"
const testContractHash = "36c3b0c85d98607db00b711885ec3e411d9b1672"
const deploymentTxHash = "dcf4fe429ec84947361c86c2192b14641be7f0c6e2bdf8d150fad731160ed386"
var rpcTestCases = map[string][]rpcTestCase{
"getapplicationlog": {

View file

@ -10,10 +10,6 @@ const (
decimals = 2
)
func Main(operation string, args []interface{}) interface{} {
panic("invoking via Main is no longer supported") // catch possible bugs
}
func Init() bool {
ctx := storage.GetContext()
h := runtime.GetExecutingScriptHash()

Binary file not shown.