Skip to content

Commit

Permalink
Merge pull request #39 from CityOfZion/CU-86dt58c0w
Browse files Browse the repository at this point in the history
CU-86dt58c0w - Use local blockchain with neo-go instead of the TestNet on NeonInvoker tests
  • Loading branch information
melanke authored May 22, 2024
2 parents 4129ebb + 35cae03 commit 16a2459
Show file tree
Hide file tree
Showing 17 changed files with 407 additions and 276 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/neon-dappkit",
"comment": "",
"type": "none"
}
],
"packageName": "@cityofzion/neon-dappkit"
}
18 changes: 18 additions & 0 deletions packages/neon-dappkit/data/deployReturnMapTest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "Neo.Network.P2P.Payloads.Transaction",
"network": 42,
"hash": "0xd1e694bf2198ecccafa2abc09149394c0f523e5e70e8fdd5566f57ddc1c9588e",
"data": "AN4giAUq+ao7AAAAABA1GgAAAAAAIQEAAAENqWekAEMr8n+OjrRv6KxlnszeBAEA/T4CDbQBew0KICAgICJuYW1lIjogInRlc3RtYXAiLA0KICAgICJncm91cHMiOiBbXSwNCiAgICAiZmVhdHVyZXMiOiB7fSwNCiAgICAic3VwcG9ydGVkc3RhbmRhcmRzIjogW10sDQogICAgImFiaSI6IHsNCiAgICAgICAgIm1ldGhvZHMiOiBbDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAibWFpbiIsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbXSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJNYXAiLA0KICAgICAgICAgICAgICAgICJvZmZzZXQiOiAwLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0NCiAgICAgICAgXSwNCiAgICAgICAgImV2ZW50cyI6IFtdDQogICAgfSwNCiAgICAicGVybWlzc2lvbnMiOiBbXSwNCiAgICAidHJ1c3RzIjogW10sDQogICAgImV4dHJhIjogbnVsbA0KfQxfTkVGM25lbzMtYm9hIGJ5IENPWi0xLjIuMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFXAQDIcGgMAWEU0GgdE9BoQOnpMLUSwB8MBmRlcGxveQwU/aP6Q0bqUyolj8SX3a3bZDfJ/f9BYn1bUg==",
"items": {
"0x04decc9e65ace86fb48e8e7ff22b4300a467a90d": {
"script": "DCEDWpKPIBY5IE4GtDaLGpM2VGKo67/wuIGBUbdPqrOithpBVuezJw==",
"parameters": [
{
"type": "Signature",
"value": "sD38tAvGimlPGKrRqhXXLDiReAldfZeCdMlCjvWzhL4r0yN4fKi7NLZYBQI2PktWiujk6rsWq+jc4bK7lZbEjQ=="
}
],
"signatures": {}
}
}
}
18 changes: 18 additions & 0 deletions packages/neon-dappkit/data/deployReturnTest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "Neo.Network.P2P.Payloads.Transaction",
"network": 42,
"hash": "0x84683441127be6b55c6a368194a0cd6fa2d5537d157defc205cc7d9dcbb7a206",
"data": "AKRfOoQq+ao7AAAAAChkUAAAAAAAIQEAAAENqWekAEMr8n+OjrRv6KxlnszeBAEA/R0QDTsPew0KICAgICJuYW1lIjogInJldHVybl9zYW1lX3ZhbHVlcyIsDQogICAgImdyb3VwcyI6IFtdLA0KICAgICJmZWF0dXJlcyI6IHt9LA0KICAgICJzdXBwb3J0ZWRzdGFuZGFyZHMiOiBbXSwNCiAgICAiYWJpIjogew0KICAgICAgICAibWV0aG9kcyI6IFsNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJuZWdhdGl2ZV9udW1iZXJzIiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFtdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIkFycmF5IiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMCwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICJuYW1lIjogIm5lZ2F0aXZlX251bWJlciIsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbXSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJJbnRlZ2VyIiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMTAsDQogICAgICAgICAgICAgICAgInNhZmUiOiBmYWxzZQ0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJwb3NpdGl2ZV9udW1iZXJzIiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFtdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIkFycmF5IiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMTMsDQogICAgICAgICAgICAgICAgInNhZmUiOiBmYWxzZQ0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJib29sX3RydWUiLA0KICAgICAgICAgICAgICAgICJwYXJhbWV0ZXJzIjogW10sDQogICAgICAgICAgICAgICAgInJldHVybnR5cGUiOiAiQm9vbGVhbiIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDIzLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAiYm9vbF9mYWxzZSIsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbXSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJCb29sZWFuIiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMjUsDQogICAgICAgICAgICAgICAgInNhZmUiOiBmYWxzZQ0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJyZXR1cm5fc3RyIiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFtdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIlN0cmluZyIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDI3LA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAicmV0dXJuX2J5dGVzIiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFtdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIkJ5dGVBcnJheSIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDUxLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAicmV0dXJuX3NhbWVfaW50IiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFsNCiAgICAgICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAgICAgIm5hbWUiOiAiaW50XyIsDQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJJbnRlZ2VyIg0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgXSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJJbnRlZ2VyIiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogNzUsDQogICAgICAgICAgICAgICAgInNhZmUiOiBmYWxzZQ0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJyZXR1cm5fc2FtZV9ib29sIiwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFsNCiAgICAgICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAgICAgIm5hbWUiOiAiYm9vbF8iLA0KICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAiQm9vbGVhbiINCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIF0sDQogICAgICAgICAgICAgICAgInJldHVybnR5cGUiOiAiQm9vbGVhbiIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDgwLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAicmV0dXJuX3NhbWVfYnl0ZXMiLA0KICAgICAgICAgICAgICAgICJwYXJhbWV0ZXJzIjogWw0KICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJieXRlc18iLA0KICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAiQnl0ZUFycmF5Ig0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgXSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJCeXRlQXJyYXkiLA0KICAgICAgICAgICAgICAgICJvZmZzZXQiOiA4NSwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICJuYW1lIjogInJldHVybl9zYW1lX3N0ciIsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbDQogICAgICAgICAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICJuYW1lIjogInN0cmluZyIsDQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJTdHJpbmciDQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIlN0cmluZyIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDkwLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAicmV0dXJuX3NhbWVfYXJyYXkiLA0KICAgICAgICAgICAgICAgICJwYXJhbWV0ZXJzIjogWw0KICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJhcnJheSIsDQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJBcnJheSINCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIF0sDQogICAgICAgICAgICAgICAgInJldHVybnR5cGUiOiAiQXJyYXkiLA0KICAgICAgICAgICAgICAgICJvZmZzZXQiOiA5NSwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICJuYW1lIjogInJldHVybl9zYW1lX21hcCIsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbDQogICAgICAgICAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICJuYW1lIjogIm1hcCIsDQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJNYXAiDQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBdLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIk1hcCIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDEwMCwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlDQogICAgICAgICAgICB9DQogICAgICAgIF0sDQogICAgICAgICJldmVudHMiOiBbXQ0KICAgIH0sDQogICAgInBlcm1pc3Npb25zIjogW10sDQogICAgInRydXN0cyI6IFtdLA0KICAgICJleHRyYSI6IG51bGwNCn0Mt05FRjNuZW8zLWJvYSBieSBDT1otMS4yLjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABpAIUAnADsDxTAQACcQAB7AGQAFBEUwEAIQAlADBV0ZXN0aW5nIHN0cmluZyByZXR1cm5ADBV0ZXN0aW5nIHN0cmluZyByZXR1cm5AVwABeEBXAAF4QFcAAXhAVwABeEBXAAF4QFcAAXhA4p3GDRLAHwwGZGVwbG95DBT9o/pDRupTKiWPxJfdrdtkN8n9/0FifVtS",
"items": {
"0x04decc9e65ace86fb48e8e7ff22b4300a467a90d": {
"script": "DCEDWpKPIBY5IE4GtDaLGpM2VGKo67/wuIGBUbdPqrOithpBVuezJw==",
"parameters": [
{
"type": "Signature",
"value": "NRVqK57ierLyrtBq+7pjWJc1VJu58+ca8lwpTzUNtab8aUYA58p0gAqssGzLOGn6EThehbNqln3KcweNt9z+UQ=="
}
],
"signatures": {}
}
}
}
18 changes: 18 additions & 0 deletions packages/neon-dappkit/data/deployVerifiable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "Neo.Network.P2P.Payloads.Transaction",
"network": 42,
"hash": "0xb3a65bd0a4e00dfe8461c7253d39630492fbdad3c1c325021b8dc484f5766f4f",
"data": "AGM8ucUgbuA7AAAAACBDMwAAAAAAQQsAAAENqWekAEMr8n+OjrRv6KxlnszeBAEA/agIDXoHew0KICAgICJuYW1lIjogInZlcmlmaWFibGUiLA0KICAgICJncm91cHMiOiBbXSwNCiAgICAiYWJpIjogew0KICAgICAgICAibWV0aG9kcyI6IFsNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJoZWxsb193b3JsZCIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDAsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbXSwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIlN0cmluZyINCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgIm5hbWUiOiAidmVyaWZ5IiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMTYsDQogICAgICAgICAgICAgICAgInBhcmFtZXRlcnMiOiBbXSwNCiAgICAgICAgICAgICAgICAic2FmZSI6IGZhbHNlLA0KICAgICAgICAgICAgICAgICJyZXR1cm50eXBlIjogIkJvb2xlYW4iDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICJuYW1lIjogInVwZGF0ZSIsDQogICAgICAgICAgICAgICAgIm9mZnNldCI6IDEwMSwNCiAgICAgICAgICAgICAgICAicGFyYW1ldGVycyI6IFsNCiAgICAgICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAiQnl0ZUFycmF5IiwNCiAgICAgICAgICAgICAgICAgICAgICAgICJuYW1lIjogIm5lZiINCiAgICAgICAgICAgICAgICAgICAgfSwNCiAgICAgICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAiU3RyaW5nIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICJuYW1lIjogIm1hbmlmZXN0Ig0KICAgICAgICAgICAgICAgICAgICB9LA0KICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJBbnkiLA0KICAgICAgICAgICAgICAgICAgICAgICAgIm5hbWUiOiAiZGF0YSINCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIF0sDQogICAgICAgICAgICAgICAgInNhZmUiOiBmYWxzZSwNCiAgICAgICAgICAgICAgICAicmV0dXJudHlwZSI6ICJWb2lkIg0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAibmFtZSI6ICJfZGVwbG95IiwNCiAgICAgICAgICAgICAgICAib2Zmc2V0IjogMTE1LA0KICAgICAgICAgICAgICAgICJwYXJhbWV0ZXJzIjogWw0KICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJBbnkiLA0KICAgICAgICAgICAgICAgICAgICAgICAgIm5hbWUiOiAiZGF0YSINCiAgICAgICAgICAgICAgICAgICAgfSwNCiAgICAgICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAiQm9vbGVhbiIsDQogICAgICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJ1cGRhdGUiDQogICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBdLA0KICAgICAgICAgICAgICAgICJzYWZlIjogZmFsc2UsDQogICAgICAgICAgICAgICAgInJldHVybnR5cGUiOiAiVm9pZCINCiAgICAgICAgICAgIH0NCiAgICAgICAgXSwNCiAgICAgICAgImV2ZW50cyI6IFtdDQogICAgfSwNCiAgICAicGVybWlzc2lvbnMiOiBbDQogICAgICAgIHsNCiAgICAgICAgICAgICJjb250cmFjdCI6ICIweGZmZmRjOTM3NjRkYmFkZGQ5N2M0OGYyNTJhNTNlYTQ2NDNmYWEzZmQiLA0KICAgICAgICAgICAgIm1ldGhvZHMiOiBbDQogICAgICAgICAgICAgICAgInVwZGF0ZSINCiAgICAgICAgICAgIF0NCiAgICAgICAgfQ0KICAgIF0sDQogICAgInRydXN0cyI6IFtdLA0KICAgICJmZWF0dXJlcyI6IHt9LA0KICAgICJzdXBwb3J0ZWRzdGFuZGFyZHMiOiBbXSwNCiAgICAiZXh0cmEiOiBudWxsDQp9DQIBTkVGM25lbzMtYm9hIGJ5IENPWi0xLjEuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH9o/pDRupTKiWPxJfdrdtkN8n9/wZ1cGRhdGUDAAAPAACVDA1IZWxsbywgV29ybGQhQAwFb3duZXJBm/ZnzkGSXegxStgmBUUMAErZISYsShC4OUrKABRLSy4eDBQAAAAAAAAAAAAAAAAAAAAAAAAAAFOfjYsiBEVF2yhKygAUszlB+CfsjEBXAAM0qCYIenl4NwAAQFcBAnmqJhxBLVEIMHBoE84MBW93bmVyQZv2Z85B5j8YhECyAglcEsAfDAZkZXBsb3kMFP2j+kNG6lMqJY/El92t22Q3yf3/QWJ9W1I=",
"items": {
"0x04decc9e65ace86fb48e8e7ff22b4300a467a90d": {
"script": "DCEDWpKPIBY5IE4GtDaLGpM2VGKo67/wuIGBUbdPqrOithpBVuezJw==",
"parameters": [
{
"type": "Signature",
"value": "A7mWiXtx3pHRrhbdJmZewDvoos4O11H+Xf2gMEYcj9wZTq7BhGsXD3qmj010cAQFNPfYwF0BLEwiWy+LykTfeg=="
}
],
"signatures": {}
}
}
}
20 changes: 20 additions & 0 deletions packages/neon-dappkit/data/givewallet1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "Neo.Network.P2P.Payloads.Transaction",
"network": 42,
"hash": "0x073b10d38c7746dbc49ac68111620de07aefc90fb9099ff2127b49dad5078132",
"data": "AMMv98G0P5gAAAAAADTmEgAAAAAAQQsAAAHYzFqQTVJvyabKtVugLJpv54nJVgEAXwsDAOQLVAIAAAAMFA2pZ6QAQyvyf46OtG/orGWezN4EDBTYzFqQTVJvyabKtVugLJpv54nJVhTAHwwIdHJhbnNmZXIMFM924ovQBixKR47jVWEBExnzz6TSQWJ9W1I5",
"items": {
"0x56c989e76f9a2ca05bb5caa6c96f524d905accd8": {
"script": "EQwhArNiK/QBe9/jF8WK7V9MdT8ga324lgRvp9d0u8S/f43CEUGe0Nw6",
"parameters": [
{
"type": "Signature",
"value": "FXFv4y0kiyi5UuQqEahGLqGkgaUj3ocz0VNr9ftSuBijHQQvGegcIgLisOPtVuEserMr4hTsOsbjXrMVsa9tDA=="
}
],
"signatures": {
"02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2": "FXFv4y0kiyi5UuQqEahGLqGkgaUj3ocz0VNr9ftSuBijHQQvGegcIgLisOPtVuEserMr4hTsOsbjXrMVsa9tDA=="
}
}
}
}
20 changes: 20 additions & 0 deletions packages/neon-dappkit/data/givewallet2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "Neo.Network.P2P.Payloads.Transaction",
"network": 42,
"hash": "0x28e2233a460fcb5a1a62e008b8fe59102f68348f3b0b51394f60d9ef4d41d58c",
"data": "AKEnb/y0P5gAAAAAADTmEgAAAAAAQQsAAAHYzFqQTVJvyabKtVugLJpv54nJVgEAXwsDAOQLVAIAAAAMFG39lqnMYENP1ggtinWrW58yP1f0DBTYzFqQTVJvyabKtVugLJpv54nJVhTAHwwIdHJhbnNmZXIMFM924ovQBixKR47jVWEBExnzz6TSQWJ9W1I5",
"items": {
"0x56c989e76f9a2ca05bb5caa6c96f524d905accd8": {
"script": "EQwhArNiK/QBe9/jF8WK7V9MdT8ga324lgRvp9d0u8S/f43CEUGe0Nw6",
"parameters": [
{
"type": "Signature",
"value": "tpPHZyEHhoOq7g2LC9C5udqP4wyG2QUmOxmphkjgbZ5sX2Wv0ggY86O3XyO13D8TSl9ZQHXhbnu39YNbmb4AJw=="
}
],
"signatures": {
"02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2": "tpPHZyEHhoOq7g2LC9C5udqP4wyG2QUmOxmphkjgbZ5sX2Wv0ggY86O3XyO13D8TSl9ZQHXhbnu39YNbmb4AJw=="
}
}
}
}
8 changes: 4 additions & 4 deletions packages/neon-dappkit/data/protocol.unit_testnet.single.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
ProtocolConfiguration:
Magic: 42
MaxTraceableBlocks: 200000
TimePerBlock: 300ms
InitialGASSupply: 5200000000
TimePerBlock: 500ms
MemPoolSize: 100
StandbyCommittee:
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
ValidatorsCount: 1
VerifyTransactions: true
P2PSigExtensions: true
P2PSigExtensions: false
Hardforks:
Aspidochelone: 25

ApplicationConfiguration:
SkipBlockVerification: false
# LogPath could be set up in case you need stdout logs to some proper file.
# LogPath: "./log/neogo.log"
DBConfiguration:
Type: 'inmemory' #other options: 'inmemory','boltdb'
# DB type options. Uncomment those you need in case you want to switch DB type.
Expand Down Expand Up @@ -42,7 +42,7 @@ ApplicationConfiguration:
MaxGasInvoke: 15
Enabled: true
Addresses:
- '127.0.0.1:50012'
- '127.0.0.1:30222'
EnableCORSWorkaround: false
Prometheus:
Enabled: false #since it's not useful for unit tests.
Expand Down
27 changes: 18 additions & 9 deletions packages/neon-dappkit/data/wallet1_solo.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,34 @@
"deployed": false
},
"lock": false,
"isDefault": false
"isDefault": true
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
"address": "NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP",
"key": "6PYM8VdX3hY4B51UJxmm8D41RQMbpJT8aYHibyQ67gjkUPmvQgu51Y5UQR",
"label": "",
"contract": {
"script": "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6",
"script": "EQwhArNiK/QBe9/jF8WK7V9MdT8ga324lgRvp9d0u8S/f43CEUGe0Nw6",
"parameters": [
{
"name": "parameter0",
"type": "Signature"
},
{
"name": "parameter1",
"type": "Signature"
},
}
],
"deployed": false
},
"lock": false,
"isDefault": false
},
{
"address": "NMACuhqEaNAeDSQVipcUPYiJ9TVgVyUxGV",
"key": "6PYLyTFiWAHEivtab5dMWorwiNaczcbFRbxcqAuBWVyGLtFSsbFZycEZVu",
"label": "account1",
"contract": {
"script": "DCEDWpKPIBY5IE4GtDaLGpM2VGKo67/wuIGBUbdPqrOithpBVuezJw==",
"parameters": [
{
"name": "parameter2",
"name": "parameter0",
"type": "Signature"
}
],
Expand Down
6 changes: 3 additions & 3 deletions packages/neon-dappkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"/dist"
],
"scripts": {
"build": "tsc",
"build": "tsc -p tsconfig.build.json",
"lint": "eslint .",
"format": "eslint --fix",
"test": "ts-node test/setup-neo-go.ts && ts-mocha --reporter json > ../../mocha-results.json src/**/*.spec.ts",
"test-print": "ts-node test/setup-neo-go.ts && ts-mocha src/**/*.spec.ts",
"test": "ts-node test/setup-neo-go.ts && ts-mocha --reporter json > ../../mocha-results.json test/**/*.spec.ts",
"test-print": "ts-node test/setup-neo-go.ts && ts-mocha test/**/*.spec.ts",
"coverage": "nyc pnpm test"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 16a2459

Please sign in to comment.