nspcc-dev / neofs-contract

NeoFS smart-contract
GNU General Public License v3.0
10 stars 17 forks source link

scripts: add script for containers and netmap entries comparison #399

Closed AnnaShaleva closed 3 months ago

AnnaShaleva commented 4 months ago

May be used to check data consistency between different chain versions.

AnnaShaleva commented 4 months ago

Here's an updated example of the resulting behaviour:

anna@kiwi:~/Documents/GitProjects/nspcc-dev/neofs-contract$ go run scripts/compare-fscontent/compare-fscontent.go --ignore-height https://rpc1.morph.fs.neo.org:40341 https://rpc1.morph.t5.fs.neo.org:51331
RPC https://rpc1.morph.fs.neo.org:40341 height: 5793115
RPC https://rpc1.morph.t5.fs.neo.org:51331 height: 3674001
number of containers mismatch: 175 vs 208; number of netmap entries mismatch: 5 vs 4
exit status 1
AnnaShaleva commented 3 months ago

Can we merge it? It's ready and no more issues left.