Comments (8)
Config is correct, and just for future, it's better to take the same version of NeoGo that runs in NeoFS. But for 0.106.3-pre-16-gda40f2de it doesn't matter because there were no breaking changes.
So the reason is in NeoFS RPC node, it has an outdated config, should be fixed by @532910 and then we need to re-check states. Likely, everything should be OK with 5760.
from neo-go.
testnet MaxTraceableBlocks: 5760
(base) ekaterinapavlova@MacBook-Air-4 neo-go % go run scripts/compare-states/compare-states.go --ignore-height http://localhost:50332 https://rpc1.morph.t5.fs.neo.org:51331
at 0: a0be47491a114eb0cb8684dd5d17ee79e1c6ab2dc10ff73de33ff3c385512288 vs a0be47491a114eb0cb8684dd5d17ee79e1c6ab2dc10ff73de33ff3c385512288
at 3871793: 8ee940bc3ec09951e30beed1bb09082a2481ae62eb67ef723a48d257d334f7b0 vs 8ee940bc3ec09951e30beed1bb09082a2481ae62eb67ef723a48d257d334f7b0
from neo-go.
MaxTraceableBlocks: 5760
(base) ekaterinapavlova@MacBook-Air-4 neo-go % go run scripts/compare-states/compare-states.go --ignore-height http://localhost:40332 https://rpc1.morph.fs.neo.org:40341
at 0: 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed vs 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed
at 5984866: 35f3b3a329f08fdb357cee447a575c65e868dcfd35bc8591b69bb6643b9b183d vs 445eb1efcdb5a71f986a07fec37b62bd0ee837aee4f41ef567b8728a09a17290
at 2992433: a5bf969ab1d59952106f43bf55cb5ea23fb99c6af095fb0c7497b8b724ac09b9 vs a5bf969ab1d59952106f43bf55cb5ea23fb99c6af095fb0c7497b8b724ac09b9
at 4488649: bcf687990294eae87baf541836e8e77c4a4cdeebeda2b4f0f20619e99db78ebf vs bcf687990294eae87baf541836e8e77c4a4cdeebeda2b4f0f20619e99db78ebf
at 5236757: 4fcd8b21c1da45a0366da1a0dd24a40d4921e4c00b6a1e6ba04339988cde2cad vs 4fcd8b21c1da45a0366da1a0dd24a40d4921e4c00b6a1e6ba04339988cde2cad
at 5610811: d76068592ef4c56823d17914d84608620054f11f81bc1b07ab04c09e42bc9d1e vs d76068592ef4c56823d17914d84608620054f11f81bc1b07ab04c09e42bc9d1e
at 5797838: 7952e1a8706c3f24827be1019b354b743fefe20cc97ae5bfa8ad9c83d04fd31b vs 7952e1a8706c3f24827be1019b354b743fefe20cc97ae5bfa8ad9c83d04fd31b
at 5891352: 02207d6722fcf9f294b26b4d1097e2f630c047e651c66787496dd6efc0ad2105 vs 08216b562f537cf9436b79be587ad5afe66dab24cd339bf2752152898fa524ee
at 5844595: c596585eaf50d76ccd441d43716e145dcbedf8ac8661ae4f8423cb39903f48ef vs cb265e5349156ff7705e9db1fd78db2485bed28e1aa301335980732e3ae8258c
at 5821216: 67120ea25afc22394475eb4c435a1e607852c7686baf3736a738ab2d1b2f423b vs 4dbe67d0f0dc0ad34ad6c309eb68b67d2ace02fb9380bba5b0632f64d3355d9e
at 5809527: dc6db6c35222cc5e18455af92d64b90941918a798342ab93d785a33da18d6e07 vs ca5eef69189b5fa7ce80e2f569e359ddb5466215005fdf4e1609025350a1f2c9
at 5803682: bdae4aefb53aca639719fd7bf73c53f6b554c0076bde26b0d2dae7f364ad18bf vs 584b92f3f8dcee55e417cf640df7b56dc54a5687768b5d7853b38e2514c341c7
at 5800760: f6a150049910d7c51b133eba0bde433f738b82f3e0f189af8243ff1a84a65102 vs c0c386a9d8488cfbe944c11750f703042430507c4f53a8f2e0ddc4c8aaf3d38c
at 5799299: 1c39fae723fddb1d03afefa27243103127b879c02cd813f7db2f8948237cf363 vs 1c39fae723fddb1d03afefa27243103127b879c02cd813f7db2f8948237cf363
at 5800029: 62ca0d8d599dd98e5d0d9a86360cadfd8f2de2a90ce8bf717e1ab6728e1ae84f vs feec1fb01ce85fe8a875c0c617e68c818a0cfbe8cd28f4c538e001ca93714a5c
at 5799664: 7832ab43226340f535474e19ec8677e1af7213218bef4a21d20cec6e43aea035 vs 7832ab43226340f535474e19ec8677e1af7213218bef4a21d20cec6e43aea035
at 5799846: c3a73b99b0ec739efae2432f0ddad4b08c827d5654e9be7b87a2d63192595fbd vs c3a73b99b0ec739efae2432f0ddad4b08c827d5654e9be7b87a2d63192595fbd
at 5799937: 320229dde7ba94c069a3e7e5a2cd44f3e4a9eeaf1e4f435066103c29fc041d0e vs 320229dde7ba94c069a3e7e5a2cd44f3e4a9eeaf1e4f435066103c29fc041d0e
at 5799983: 1d0b195022b73ae40cfc18f2222f27d1575acfead67460a4b9216726bdb7816e vs 1d0b195022b73ae40cfc18f2222f27d1575acfead67460a4b9216726bdb7816e
at 5800006: b79179f49725981cf5700e42537da32ae434b1eb4e2f5714eb3ddf9948c220b4 vs f382ba7e606e190da03d524425f138faf747fcecd547d5c6a2f3c3cb735b3da0
at 5799994: 223358b1715c796ff90a64214607a182fa98f5d8f7c2a2da0183abf5e8cf9621 vs 223358b1715c796ff90a64214607a182fa98f5d8f7c2a2da0183abf5e8cf9621
at 5800000: 7b98a69a8941f32c2214da2759de0691067e9b68ca83b696ef98293912757367 vs 811c1e6936507dedc8964aa81888b7cb08acb681c08b29fb10568a38c0034b16
at 5799997: e4762a8065ba4057d6d3b4ed68068c7d307255d88a7a9bffcda605d8a3e47c43 vs e4762a8065ba4057d6d3b4ed68068c7d307255d88a7a9bffcda605d8a3e47c43
at 5799998: f1487de7beab841d85da49a40ccd98c455815bb4472f7da66e3111a416b63125 vs f1487de7beab841d85da49a40ccd98c455815bb4472f7da66e3111a416b63125
at 5799999: ceab104a9cac83db1e56cccc5bcdc0a735d605782664149661135479edb8853c vs ceab104a9cac83db1e56cccc5bcdc0a735d605782664149661135479edb8853c
state differs at 5800000, block fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065
block fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065:
--- http://localhost:40332
+++ https://rpc1.morph.fs.neo.org:40341
@@ -1,2 +1,2 @@
-(*result.ApplicationLog)(0x14000221600)({
+(*result.ApplicationLog)(0x1400040d4c0)({
Container: (util.Uint256) (len=32 cap=32) 654023a8098775efec9e497ca6563c81e511c540edc2a2848372ce6dcd7852fe,
@@ -10,13 +10,3 @@
},
- Events: ([]state.NotificationEvent) (len=2 cap=2) {
- (state.NotificationEvent) {
- ScriptHash: (util.Uint160) (len=20 cap=20) fda3fa4346ea532a258fc497ddaddb6437c9fdff,
- Name: (string) (len=6) "Update",
- Item: (*stackitem.Array)(0x14000424990)(Array)
- },
- (state.NotificationEvent) {
- ScriptHash: (util.Uint160) (len=20 cap=20) fda3fa4346ea532a258fc497ddaddb6437c9fdff,
- Name: (string) (len=6) "Update",
- Item: (*stackitem.Array)(0x14000424ab0)(Array)
- }
+ Events: ([]state.NotificationEvent) {
},
@@ -34,3 +24,3 @@
Name: (string) (len=8) "Transfer",
- Item: (*stackitem.Array)(0x14000424d50)(Array)
+ Item: (*stackitem.Array)(0x14000425260)(Array)
}
different state found
exit status 1
(base) ekaterinapavlova@MacBook-Air-4 neo-go % curl -X POST http://localhost:40332 -H 'Content-Type: application/json' -d '{
"jsonrpc": "2.0",
"method": "getblock",
"params": ["fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065", 1],
"id": 1
}'| json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1519 100 1377 100 142 376k 39731 --:--:-- --:--:-- --:--:-- 741k
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"confirmations" : 185474,
"hash" : "0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065",
"index" : 5800000,
"merkleroot" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nextblockhash" : "0xe72d9b47c79d9fd3c0c1f7fa9582865a9b423a14965c98470901837cfa6599b6",
"nextconsensus" : "NN5r7AC1TQEuoKXyurXedNa1o5PawUtqkr",
"nonce" : "98F3A4B00CBD0C4D",
"previousblockhash" : "0xd6a2ab5966f464cecbf186169411509ca99fa95c9afb2234d279d70886e627fb",
"primary" : 3,
"size" : 697,
"time" : 1717519541428,
"tx" : [],
"version" : 0,
"witnesses" : [
{
"invocation" : "DEDwPCUy92VbKHURiTcyNG8mPheLLQUNQVM/kp73QfX31L7gbfrqgJNjr5BVZOKVekKjK3BFmbcSf6rjHq3ddY0NDECjzZzggwr30pdKkGfFzO80RYOw5D9smgSWgOHKQaVtFhRMAsqDzQGPfPEJ18oyWH6xAwayivSjCwdZrz0vc47rDEA3RpxIVVsBmiz2B7UkU0t0JtBkr+ONTp9jlgSrWHk3SYF4uvsLAoSBrSKovDYdg345hxOdlLhoeA0WwKT+No8UDEBL8EpCsIGpIbUi0Bx6A0cpdScgv9OVnDxifihCgdj+HFXPqyqNXmR49ODzpsWOC3iTryVDZNt3lPIYnuiKaE9eDECwJd8KvtsTGq9Qa89FhqW4RPWL0j9tnAsC6c0OIygTbxiU3WxO8QPlzifePkCDUzalAHo2KI2cOi4TqfjFoQUc",
"verification" : "FQwhAx9NnGby7DSIMsSP06Ft+utZ6F9VeuHgf2aW0DdcZPl7DCECP5y3u+FU1SnVxxn9w5/qqDGkOuA9KkKAV1tg9S+nvFIMIQNaKhjN2volrTU96l5nMKG5/LS5GMSgMDxDh7ucO4Fq3wwhA2bSVefOI+pvfx5L7fXLr+WYcFtH5uwhPvE7LwgZ6KszDCECb6NOwFfXTC/fGhjjNtC9WX6kAaCyrVc0DVwiDQn0QIYMIQOanbKjCUKxhD22c66w1P1kM/dM7B2HneY0PLn892KPpAwhA5upWeCrbcYW34uANpLxwwupBxt2sFU165lL9bvEAq1fF0Ge0Nw6"
}
]
}
}
from neo-go.
state differs at 5800000, block fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065
OK, it's just came to my mind that it's a hardfork height. @AliceInHunterland, what is your node configuration? Does it have Domovoi enabled? Which version of NeoGo do you use?
from neo-go.
MaxTraceableBlocks: 40320
(base) ekaterinapavlova@MacBook-Air-4 neo-go % go run scripts/compare-states/compare-states.go --ignore-height http://localhost:40332 https://rpc1.morph.fs.neo.org:40341
at 0: 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed vs 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed
at 5986178: f17ce90bf1068b466a8531cc44982faeff4bb982154e85f18d60ef8beafb0020 vs 7538bef334d486c1854bfb010d85eab1a52fa2791f60137d709312098d47d38a
at 2993089: 34d34f7ca47514f296464d7344e8b66af24326cac98300c64ab363f7def712e3 vs 34d34f7ca47514f296464d7344e8b66af24326cac98300c64ab363f7def712e3
at 4489633: 6869a6373c127352a8476d0e80e0c8da6307579fae8540f8b3c781e1316262a0 vs 6869a6373c127352a8476d0e80e0c8da6307579fae8540f8b3c781e1316262a0
at 5237905: 5a493dd3c7c031ab8893aa96d5145086474f544ae9609768f3930bbbb544eb50 vs 5a493dd3c7c031ab8893aa96d5145086474f544ae9609768f3930bbbb544eb50
at 5612041: 4d44d1f9581c060102c4923873e7e4cfe0d18fb72027b73843c27cfae6e954a3 vs 4d44d1f9581c060102c4923873e7e4cfe0d18fb72027b73843c27cfae6e954a3
at 5799109: ed9a6bed42da09826418e95a5da9348caa3d567102e636027a654efc9c64bbdd vs ed9a6bed42da09826418e95a5da9348caa3d567102e636027a654efc9c64bbdd
at 5892643: bdba1ad296c01db38e68005c68e11abb0ca982aab186ffac984970e9f46daa4b vs 2c141d58c4aa88feea80bfb5964d1708fc0c993a5a61589faa03fcefae004450
at 5845876: 5ca6145cf757bba9acc5ccbad03464b03feda1fb723d1b6114278a0b24f05490 vs 3083f99449e4009746c6d34bb40ff605ce955ba75b457c7804c25d45a0b1d287
at 5822492: a6dc5d1fe2b54eec8ddac1002f88062e8044b3652f9893caa403c505f7876c9e vs 507ddbc609532c6dc10ec5105c1f05fccdb03b2545783bd5f02a00f70dae0430
at 5810800: 9ba614518407bf6defb79a3d2de48509d25c35488b01663fd6ff634b6d30b754 vs 568d3914ca4251af35f296980c105452023002fe9b19c68204d9d4eff2bd6ce5
at 5804954: 7cd8ff27fcacc412395c1ec12f2e1ffeb4b3f9f87676c7f8763b792556432f07 vs d3d8c56b29ad4dfababa780c98f4a3eb850e391661d8a3650ec36084d97b886c
at 5802031: 5be537b1abbef21b7724f507d2dbf5438dc1493c3b2fd41b48cfedd319fad9a0 vs 74bf23e104b17601d380131e1bdfb3c6b168fed3a3dea2f7e62ce7fa8cb62d70
at 5800570: b8c2ba655419149329b0fb9d58aef785476834e5d4a5862282a76f3a934bdfb9 vs 1c6ab63f00de08f0ba1d4fad0b68e6231a672dda1bed192d348f709a49de29a6
at 5799839: 05c46c0a90b7fb53d646c5ada326c616abc074b74094a3adc25dbbeb687cd03e vs 05c46c0a90b7fb53d646c5ada326c616abc074b74094a3adc25dbbeb687cd03e
at 5800204: 4306c403a19c9e3d654f33d73c818460f0c12fef5265e44dac78da55751e7f69 vs 272ddbd84f59ca2129e4fa611e0bc0e0a94143cfbd4d4cb0a4b1a7042b8044e8
at 5800021: b51b9ce423e37e77d365a4103fbf464eb26889a5fabd79a91ddf13a88bebe821 vs 405ac96ae58149b196e8327ad6c1065b45277dfd0a148bb91bcd8117ab0922c6
at 5799930: 5fb5848951efdb0d45ff7f16e9bc5480c1b9e79b12081b1cd4a31f2c6f8691c3 vs 5fb5848951efdb0d45ff7f16e9bc5480c1b9e79b12081b1cd4a31f2c6f8691c3
at 5799975: 295b0e46f7459ad784792675011f73b90cc9aa819fd718bd53fbf428388ff0e6 vs 295b0e46f7459ad784792675011f73b90cc9aa819fd718bd53fbf428388ff0e6
at 5799998: f1487de7beab841d85da49a40ccd98c455815bb4472f7da66e3111a416b63125 vs f1487de7beab841d85da49a40ccd98c455815bb4472f7da66e3111a416b63125
at 5800009: 34eabecd11de72d7ca058d06f175d77c7782a63be6e794b2cd68853cf8381058 vs 06efa6753e9ebc75d1ce9eb008f2374bb46c6b9ae52e37cc6c3c457ca9268068
at 5800003: fd02eb0979b4b0053c40d7895e9b23d6958cdf21f10a6bf3f5a331b04e2de73e vs d96a9b8375444c7a6e255f34ff0bfea34bd5201cb9ae5e4a3aedfc095327dd89
at 5800000: 7b98a69a8941f32c2214da2759de0691067e9b68ca83b696ef98293912757367 vs 811c1e6936507dedc8964aa81888b7cb08acb681c08b29fb10568a38c0034b16
at 5799999: ceab104a9cac83db1e56cccc5bcdc0a735d605782664149661135479edb8853c vs ceab104a9cac83db1e56cccc5bcdc0a735d605782664149661135479edb8853c
state differs at 5800000, block fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065
block fe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065:
--- http://localhost:40332
+++ https://rpc1.morph.fs.neo.org:40341
@@ -1,2 +1,2 @@
-(*result.ApplicationLog)(0x1400033ce40)({
+(*result.ApplicationLog)(0x1400041c240)({
Container: (util.Uint256) (len=32 cap=32) 654023a8098775efec9e497ca6563c81e511c540edc2a2848372ce6dcd7852fe,
@@ -10,13 +10,3 @@
},
- Events: ([]state.NotificationEvent) (len=2 cap=2) {
- (state.NotificationEvent) {
- ScriptHash: (util.Uint160) (len=20 cap=20) fda3fa4346ea532a258fc497ddaddb6437c9fdff,
- Name: (string) (len=6) "Update",
- Item: (*stackitem.Array)(0x140004282a0)(Array)
- },
- (state.NotificationEvent) {
- ScriptHash: (util.Uint160) (len=20 cap=20) fda3fa4346ea532a258fc497ddaddb6437c9fdff,
- Name: (string) (len=6) "Update",
- Item: (*stackitem.Array)(0x140004283c0)(Array)
- }
+ Events: ([]state.NotificationEvent) {
},
@@ -34,3 +24,3 @@
Name: (string) (len=8) "Transfer",
- Item: (*stackitem.Array)(0x14000428660)(Array)
+ Item: (*stackitem.Array)(0x14000352330)(Array)
}
different state found
exit status 1
(base) ekaterinapavlova@MacBook-Air-4 neo-go % curl -X POST http://localhost:40332 -H 'Content-Type: application/json' -d '{
"jsonrpc": "2.0",
"method": "getblock",
"params": ["0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065", 1],
"id": 1
}'| json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1521 100 1377 100 144 154k 16496 --:--:-- --:--:-- --:--:-- 212k
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"confirmations" : 186273,
"hash" : "0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065",
"index" : 5800000,
"merkleroot" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nextblockhash" : "0xe72d9b47c79d9fd3c0c1f7fa9582865a9b423a14965c98470901837cfa6599b6",
"nextconsensus" : "NN5r7AC1TQEuoKXyurXedNa1o5PawUtqkr",
"nonce" : "98F3A4B00CBD0C4D",
"previousblockhash" : "0xd6a2ab5966f464cecbf186169411509ca99fa95c9afb2234d279d70886e627fb",
"primary" : 3,
"size" : 697,
"time" : 1717519541428,
"tx" : [],
"version" : 0,
"witnesses" : [
{
"invocation" : "DEDwPCUy92VbKHURiTcyNG8mPheLLQUNQVM/kp73QfX31L7gbfrqgJNjr5BVZOKVekKjK3BFmbcSf6rjHq3ddY0NDECjzZzggwr30pdKkGfFzO80RYOw5D9smgSWgOHKQaVtFhRMAsqDzQGPfPEJ18oyWH6xAwayivSjCwdZrz0vc47rDEA3RpxIVVsBmiz2B7UkU0t0JtBkr+ONTp9jlgSrWHk3SYF4uvsLAoSBrSKovDYdg345hxOdlLhoeA0WwKT+No8UDEBL8EpCsIGpIbUi0Bx6A0cpdScgv9OVnDxifihCgdj+HFXPqyqNXmR49ODzpsWOC3iTryVDZNt3lPIYnuiKaE9eDECwJd8KvtsTGq9Qa89FhqW4RPWL0j9tnAsC6c0OIygTbxiU3WxO8QPlzifePkCDUzalAHo2KI2cOi4TqfjFoQUc",
"verification" : "FQwhAx9NnGby7DSIMsSP06Ft+utZ6F9VeuHgf2aW0DdcZPl7DCECP5y3u+FU1SnVxxn9w5/qqDGkOuA9KkKAV1tg9S+nvFIMIQNaKhjN2volrTU96l5nMKG5/LS5GMSgMDxDh7ucO4Fq3wwhA2bSVefOI+pvfx5L7fXLr+WYcFtH5uwhPvE7LwgZ6KszDCECb6NOwFfXTC/fGhjjNtC9WX6kAaCyrVc0DVwiDQn0QIYMIQOanbKjCUKxhD22c66w1P1kM/dM7B2HneY0PLn892KPpAwhA5upWeCrbcYW34uANpLxwwupBxt2sFU165lL9bvEAq1fF0Ge0Nw6"
}
]
}
}
curl -X POST http://localhost:40332 -H 'Content-Type: application/json' -d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getapplicationlog",
"params": ["0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065"]
}' | json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1074 100 924 100 150 98k 16373 --:--:-- --:--:-- --:--:-- 131k
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"blockhash" : "0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065",
"executions" : [
{
"exception" : null,
"gasconsumed" : "0",
"notifications" : [
{
"contract" : "0xfffdc93764dbaddd97c48f252a53ea4643faa3fd",
"eventname" : "Update",
"state" : {
"type" : "Array",
"value" : [
{
"type" : "ByteString",
"value" : "G/V1qxGJaIQTYQo1oSiGzeC2bHI="
}
]
}
},
{
"contract" : "0xfffdc93764dbaddd97c48f252a53ea4643faa3fd",
"eventname" : "Update",
"state" : {
"type" : "Array",
"value" : [
{
"type" : "ByteString",
"value" : "9WPqQLwoPU0OBcSOowWz8qBzQO8="
}
]
}
}
],
"stack" : [],
"trigger" : "OnPersist",
"vmstate" : "HALT"
},
{
"exception" : null,
"gasconsumed" : "0",
"notifications" : [
{
"contract" : "0xd2a4cff31913016155e38e474a2c06d08be276cf",
"eventname" : "Transfer",
"state" : {
"type" : "Array",
"value" : [
{
"type" : "Any"
},
{
"type" : "ByteString",
"value" : "ADlC9CBAxnReI+C0UIICfvo1d6I="
},
{
"type" : "Integer",
"value" : "50000000"
}
]
}
}
],
"stack" : [],
"trigger" : "PostPersist",
"vmstate" : "HALT"
}
]
}
}
(base) ekaterinapavlova@MacBook-Air-4 neo-go % curl -X POST https://rpc1.morph.fs.neo.org:40341 -H 'Content-Type: application/json' -d '{
"jsonrpc": "2.0",
"method": "getapplicationlog",
"params": ["0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065"],
"id": 1
}'| json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 725 100 575 100 150 1303 340 --:--:-- --:--:-- --:--:-- 1647
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"blockhash" : "0xfe5278cd6dce728384a2c2ed40c511e5813c56a67c499eecef758709a8234065",
"executions" : [
{
"exception" : null,
"gasconsumed" : "0",
"notifications" : [],
"stack" : [],
"trigger" : "OnPersist",
"vmstate" : "HALT"
},
{
"exception" : null,
"gasconsumed" : "0",
"notifications" : [
{
"contract" : "0xd2a4cff31913016155e38e474a2c06d08be276cf",
"eventname" : "Transfer",
"state" : {
"type" : "Array",
"value" : [
{
"type" : "Any"
},
{
"type" : "ByteString",
"value" : "ADlC9CBAxnReI+C0UIICfvo1d6I="
},
{
"type" : "Integer",
"value" : "50000000"
}
]
}
}
],
"stack" : [],
"trigger" : "PostPersist",
"vmstate" : "HALT"
}
]
}
}
from neo-go.
my config is:
ProtocolConfiguration:
Magic: 91414437
MaxTraceableBlocks: 40320
InitialGASSupply: 52000000
TimePerBlock: 15s
MemPoolSize: 50000
StandbyCommittee:
- 026fa34ec057d74c2fdf1a18e336d0bd597ea401a0b2ad57340d5c220d09f44086
- 039a9db2a30942b1843db673aeb0d4fd6433f74cec1d879de6343cb9fcf7628fa4
- 0366d255e7ce23ea6f7f1e4bedf5cbafe598705b47e6ec213ef13b2f0819e8ab33
- 023f9cb7bbe154d529d5c719fdc39feaa831a43ae03d2a4280575b60f52fa7bc52
- 039ba959e0ab6dc616df8b803692f1c30ba9071b76b05535eb994bf5bbc402ad5f
- 035a2a18cddafa25ad353dea5e6730a1b9fcb4b918c4a0303c4387bb9c3b816adf
- 031f4d9c66f2ec348832c48fd3a16dfaeb59e85f557ae1e07f6696d0375c64f97b
ValidatorsCount: 7
SeedList:
- morph1.fs.neo.org:40333
- morph2.fs.neo.org:40333
- morph3.fs.neo.org:40333
- morph4.fs.neo.org:40333
- morph5.fs.neo.org:40333
- morph6.fs.neo.org:40333
- morph7.fs.neo.org:40333
VerifyTransactions: true
P2PSigExtensions: true
Hardforks:
Aspidochelone: 3000000
Basilisk: 4500000
Cockatrice: 5800000
Domovoi: 5800000
ApplicationConfiguration:
SkipBlockVerification: false
# LogPath could be set up in case you need stdout logs to some proper file.
# LogPath: "./log/neogo.log"
DBConfiguration:
Type: "leveldb" #other options: 'inmemory','boltdb'
# DB type options. Uncomment those you need in case you want to switch DB type.
LevelDBOptions:
DataDirectoryPath: "./chains/mainnet.neofs"
# BoltDBOptions:
# FilePath: "./chains/mainnet.bolt"
P2P:
Addresses:
- ":40333" # in form of "[host]:[port][:announcedPort]"
DialTimeout: 3s
ProtoTickInterval: 2s
PingInterval: 30s
PingTimeout: 90s
MaxPeers: 100
AttemptConnPeers: 20
MinPeers: 5
Relay: true
Consensus:
Enabled: false
UnlockWallet:
Path: "/cn_wallet.json"
Password: "pass"
Oracle:
Enabled: false
AllowedContentTypes:
- application/json
RPC:
Enabled: true
Addresses:
- ":40332"
MaxGasInvoke: 15
EnableCORSWorkaround: false
TLSConfig:
Enabled: false
Addresses:
- ":40331"
CertFile: serv.crt
KeyFile: serv.key
Prometheus:
Enabled: false
Addresses:
- ":2112"
Pprof:
Enabled: false
Addresses:
- ":2113"
and:
./bin/neo-go -v
NeoGo
Version: 0.106.3-pre-16-gda40f2de
GoVersion: go1.21.3
from neo-go.
I just leave it here so that it's possible to reference this comment, an outdated config is used for NeoFS mainnet nodes.
anna@kiwi:~$ curl -d '{ "jsonrpc": "2.0", "id": 5, "method": "getversion", "params": [] }' https://rpc1.morph.fs.neo.org:40341 | json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 617 100 550 100 67 950 115 --:--:-- --:--:-- --:--:-- 1067
{
"id" : 5,
"jsonrpc" : "2.0",
"result" : {
"nonce" : 1030051362,
"protocol" : {
"addressversion" : 53,
"hardforks" : [
{
"blockheight" : 3000000,
"name" : "Aspidochelone"
},
{
"blockheight" : 4500000,
"name" : "Basilisk"
}
],
"initialgasdistribution" : 5200000000000000,
"maxtraceableblocks" : 2102400,
"maxtransactionsperblock" : 512,
"maxvaliduntilblockincrement" : 5760,
"memorypoolmaxtransactions" : 50000,
"msperblock" : 15000,
"network" : 91414437,
"p2psigextensions" : true,
"validatorscount" : 7
},
"rpc" : {
"maxiteratorresultitems" : 100,
"sessionenabled" : false
},
"tcpport" : 40343,
"useragent" : "/NEO-GO:0.106.2/"
}
}
from neo-go.
/config/protocol.mainnet.neofs.yml
MaxTraceableBlocks: 5760
(base) ekaterinapavlova@MacBook-Air-4 neo-go % go run ./scripts/compare-states/compare-states.go -g http://localhost:40332 https://rpc1.morph.fs.neo.org:40341
at 0: 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed vs 437e6b95ac529ede8685071a29471f096ea8d6824b916c0e7ca6d8017b2a23ed
at 6029213: 70ddd4796023a16280395070c5997f596b9e78d37dd76373d875e38ca690f2ba vs 70ddd4796023a16280395070c5997f596b9e78d37dd76373d875e38ca690f2ba
from neo-go.
Related Issues (20)
- Ensure `System.Runtime.GetNotifications` handler operates with a deep copy of notifications HOT 3
- Fees of unlucky mempool tx are not properly cleared from the pool
- Investigate System.Runtime.Notify refcounting
- Implement experimental Depends attribute
- Implement experimental fetching of blocks from NeoFS container
- TLS handshake error
- inconsistent cli help information for db dump HOT 1
- improve feedback when using wrong file to restore db from HOT 2
- WS Client support for CLI
- Extend netmode package with NeoFSMainNet and NeoFSTestNet HOT 3
- Neo-go (master branch) not starting ("Hardforks configuration section contains unexpected hardfork: Domovoi") HOT 5
- CLI usage text unification HOT 2
- Default session expiration may be unexpected to a regular user HOT 5
- default timeouts are extremely aggressive
- Support modifying unsigned transaction by `actor.Actor` HOT 10
- aggressive memory usage HOT 1
- Panic in WS client in subscription mechanism HOT 1
- CLI mistake in aliases for compare-states
- Check state dump time for mainnet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo-go.