Closed grouville closed 4 years ago
I'm having exactly same issue with babylonnet-12002a35-20191115
tezos-node
build.
tezos-node
has been started in archive
history mode.
I just start tzindexer
built from latest master
with default config.json
from docker/config.json
:
$ ./tzindex -c config.json run
2019/12/18 21:50:12.599697 INFO MAIN Blockwatch tzindex dev -- 2d496b9
2019/12/18 21:50:12.599704 INFO MAIN (c) Copyright 2018-2019 -- KIDTSUNAMI UG
2019/12/18 21:50:12.599725 INFO MAIN Starting Blockwatch-tzindex/dev.2d496b9 on 16 cores
2019/12/18 21:50:12.699823 INFO MAIN Profiling mutex/blocking at 1.00% sample rate.
2019/12/18 21:50:12.699849 INFO MAIN Using bolt database ./db/xtz
2019/12/18 21:50:12.702237 INFO BLOC Initializing blockchain crawler in sync mode.
2019/12/18 21:50:12.702526 INFO BLOC Initializing account index.
2019/12/18 21:50:12.713936 INFO BLOC Initializing contract index.
2019/12/18 21:50:12.718951 INFO BLOC Initializing block index.
2019/12/18 21:50:12.722565 INFO BLOC Initializing op index.
2019/12/18 21:50:12.727980 INFO BLOC Initializing flow index.
2019/12/18 21:50:12.734309 INFO BLOC Initializing chain index.
2019/12/18 21:50:12.738547 INFO BLOC Initializing supply index.
2019/12/18 21:50:12.744154 INFO BLOC Initializing rights index.
2019/12/18 21:50:12.748465 INFO BLOC Initializing snapshot index.
2019/12/18 21:50:12.752914 INFO BLOC Initializing income index.
2019/12/18 21:50:12.756218 INFO BLOC Initializing gov index.
2019/12/18 21:50:12.761569 INFO BLOC Initializing report manager.
2019/12/18 21:50:12.786254 INFO BLOC Connecting to RPC server.
2019/12/18 21:50:12.787586 INFO BLOC Crawling Tezos Babylonnet.
2019/12/18 21:50:13.526580 INFO BLOC Starting blockchain crawler.
2019/12/18 21:50:13.526630 WARN SRVR HTTP Server reachable on all interfaces (0.0.0.0)
2019/12/18 21:50:13.526751 INFO BLOC Starting blockchain sync from height 2.
2019/12/18 21:50:13.526761 INFO BLOC Starting blockchain ingest.
2019/12/18 21:50:13.526818 INFO BLOC Starting blockchain monitor.
2019/12/18 21:50:13.527274 DEBG SRVR Registering debug routes
2019/12/18 21:50:13.527396 INFO SRVR Starting HTTP server at 0.0.0.0:8000
2019/12/18 21:50:13.879407 INFO BLOC New protocol PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS detected at 2
2019/12/18 21:50:13.886612 ERRO BLOC Unrecoverable error: runtime error: index out of range [0] with length 0
2019/12/18 21:50:13.886664 ERRO BLOC {"stack":["goroutine 65 [running]:","runtime/debug.Stack(0xc00019ff20, 0xc077ef, 0x17)","\t/home/build/.gvm/gos/go1.13/src/runtime/debug/stack.go:24 +0x9d","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain.func1(0xc00012e008, 0xc000194620, 0xd1e940, 0xc0000c8000)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:736 +0xe5","panic(0xb9a5a0, 0xc0022a2160)","\t/home/build/.gvm/gos/go1.13/src/runtime/panic.go:679 +0x1b2","blockwatch.cc/tzindex/etl.(*Builder).Decorate(0xc000162a10, 0xd1e940, 0xc0000c8000, 0x0, 0x0, 0x78ffae)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:838 +0x1a00","blockwatch.cc/tzindex/etl.(*Builder).Build(0xc000162a10, 0xd1e940, 0xc0000c8000, 0xc000140280, 0xc0000a6f00, 0x33, 0x0)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:219 +0x1cb","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain(0xc000194620)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:875 +0x44e","created by blockwatch.cc/tzindex/etl.(*Crawler).Start","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:360 +0x9c"]}
2019/12/18 21:50:13.886672 INFO BLOC Stopping blockchain sync at height 1.
2019/12/18 21:50:14.010876 ERRO BLOC Exiting monitor loop on cancelled context
2019/12/18 21:50:14.010938 INFO BLOC Context cancelled. Stopping blockchain ingest.
Any ideas @echa ?
Thanks.
Got them over email, they need to merge some fixes that they had uploaded on the live version; Should be done by next week. Thank you for your addition @gituser
There are some issues with handling protocol constants in the current version which makes it unusable with networks other than mainnet. An update is in progress and should be ready by early next week.
Oh, wait a minute. I'm referring to another error that I observed and fixed on our cloud deployment earlier, but this bug seems to have a different reason. TzIndex actually works with our Babylonnet nodes, so this has to do with a change in RPC responses.
Which version of the Babylonnet binaries are you running?
It seems something is broken in the current master
branch, I've just tried https://github.com/blockwatch-cc/tzindex/tree/f12498327b8e4875b5e8f3aac20f033308001c6b and it works just fine and also it matches the current latest docker built image.
The version of the babylonnet :
./babylonnet-current/tezos-node --version
12002a35 (2019-11-15 18:06:43 +0100)
This bug has definitely something to do with recent updates from f12498327b8e4875b5e8f3aac20f033308001c6b to the current master
.
Thanks.
The stack trace in your log suggests the out-of-bounds slice access happens at https://github.com/blockwatch-cc/tzindex/blob/master/etl/builder.go#L838. It seems the list of baking rights for this block is empty which should not happen. I don't see the error on a fresh sync running the same Babylon version (same day, but self-compiled) on a local version of the repo. That rules out the theory of a broken commit.
It may, however, be due to an already fixed or new and undiscovered database issue. I just pushed an update to use the most recent version of the database. Can you please pull and try again?
On the other hand, do you actually see the indexer pulling the rights for cycle 0 (the bootstrap rights lines in the output below)?
$ tezos-node --version
12002a35 (2019-11-15 18:06:43 +0100)
$ go version
go version go1.13.4 darwin/amd64
2019/12/18 22:07:10.839321 INFO MAIN Blockwatch tzindex v1.0.0 -- dev
2019/12/18 22:07:10.839339 INFO MAIN (c) Copyright 2018-2019 -- KIDTSUNAMI UG
2019/12/18 22:07:10.839343 INFO MAIN Starting Blockwatch-tzindex/v1.0.0.dev on 8 cores
2019/12/18 22:07:10.943444 INFO MAIN Profiling mutex/blocking at 1.00% sample rate.
2019/12/18 22:07:10.943508 INFO MAIN Using bolt database db/xtz-babylonnet/
2019/12/18 22:07:10.979962 INFO BLOC Initializing blockchain crawler in sync mode.
2019/12/18 22:07:10.980059 INFO BLOC Creating blockchain storage.
2019/12/18 22:07:11.008519 INFO BLOC Creating account index.
2019/12/18 22:07:11.150642 INFO BLOC Creating contract index.
2019/12/18 22:07:11.308493 INFO BLOC Creating block index.
2019/12/18 22:07:11.568325 INFO BLOC Creating op index.
2019/12/18 22:07:11.729938 INFO BLOC Creating flow index.
2019/12/18 22:07:11.892136 INFO BLOC Creating chain index.
2019/12/18 22:07:12.010133 INFO BLOC Creating supply index.
2019/12/18 22:07:12.130068 INFO BLOC Creating rights index.
2019/12/18 22:07:12.244545 INFO BLOC Creating snapshot index.
2019/12/18 22:07:12.349022 INFO BLOC Creating income index.
2019/12/18 22:07:12.541998 INFO BLOC Creating gov index.
2019/12/18 22:07:12.780680 INFO BLOC Initializing account index.
2019/12/18 22:07:12.806715 INFO BLOC Initializing contract index.
2019/12/18 22:07:12.827420 INFO BLOC Initializing block index.
2019/12/18 22:07:12.847236 INFO BLOC Initializing op index.
2019/12/18 22:07:12.869969 INFO BLOC Initializing flow index.
2019/12/18 22:07:12.901734 INFO BLOC Initializing chain index.
2019/12/18 22:07:12.923862 INFO BLOC Initializing supply index.
2019/12/18 22:07:12.946643 INFO BLOC Initializing rights index.
2019/12/18 22:07:12.966893 INFO BLOC Initializing snapshot index.
2019/12/18 22:07:12.996250 INFO BLOC Initializing income index.
2019/12/18 22:07:13.015769 INFO BLOC Initializing gov index.
2019/12/18 22:07:13.039057 INFO BLOC Initializing report manager.
2019/12/18 22:07:13.296232 INFO BLOC Connecting to RPC server.
2019/12/18 22:07:13.348149 INFO BLOC Fetching genesis block.
2019/12/18 22:07:13.396579 INFO BLOC Crawling Tezos Babylonnet.
2019/12/18 22:07:13.418174 INFO BLOC Starting blockchain crawler.
2019/12/18 22:07:13.418239 WARN SRVR HTTP Server reachable on all interfaces (0.0.0.0)
2019/12/18 22:07:13.418253 INFO BLOC Starting blockchain sync from height 1.
2019/12/18 22:07:13.418280 INFO BLOC Starting blockchain ingest.
2019/12/18 22:07:13.418292 INFO BLOC Starting blockchain monitor.
2019/12/18 22:07:13.419635 DEBG SRVR Registering debug routes
2019/12/18 22:07:13.420045 INFO SRVR Starting HTTP server at 0.0.0.0:8000
2019/12/18 22:07:24.447691 INFO BLOC Fetching bootstrap rights for cycle 0
2019/12/18 22:08:03.510254 INFO BLOC Fetching bootstrap rights for cycle 1
2019/12/18 22:08:39.585083 INFO BLOC Fetching bootstrap rights for cycle 2
2019/12/18 22:09:08.591523 INFO BLOC Fetching bootstrap rights for cycle 3
2019/12/18 22:09:30.809252 INFO BLOC Fetching bootstrap rights for cycle 4
2019/12/18 22:10:06.340527 INFO BLOC Building genesis dataset.
2019/12/18 22:10:07.790278 INFO BLOC Processed 1 block in 2m56.81s (0 transactions, height 1, 2019-09-27 16:03:12 +0000 UTC, q=13, t=1.449812715s, s=syncing)
2019/12/18 22:10:07.950021 INFO BLOC New protocol PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS detected at 2
2019/12/18 22:10:17.799810 INFO BLOC Processed 199 blocks in 10s (772 transactions, height 200, 2019-09-27 21:14:58 +0000 UTC, q=0, t=705.867µs, s=syncing)
2019/12/18 22:10:27.832175 INFO BLOC Processed 185 blocks in 10.03s (983 transactions, height 385, 2019-09-28 00:06:06 +0000 UTC, q=0, t=779.709µs, s=syncing)
@echa just tried latest master
- works fine!
So I guess it's something to do with the database version in go dependencies.
Still weird. I know I changed the bootstrap rights fetching mechanics to work on chains shorter than a cycle when Carthagenet started because the indexer used to fail there. This is one of the upcoming changes that are not yet in this repo.
The successful sync above was without the database changes, so it's likely the root cause still exists, but the error does not reproduce easily. I'll keep an eye on it.
I was too quick to judge, after running some time latest master
I got this error:
2019/12/19 01:25:14.375118 ERRO BLOC Unrecoverable error: runtime error: invalid memory address or nil pointer dereference
2019/12/19 01:25:14.375229 ERRO BLOC {"stack":["goroutine 66 [running]:","runtime/debug.Stack(0xc00018ff80, 0xc08a2f, 0x17)","\t/home/build/.gvm/gos/go1.13/src/runtime/debug/stack.go:24 +0x9d","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain.func1(0xc000126030, 0xc000184540, 0xd1ffc0, 0xc000118140)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:736 +0xe5","panic(0xb30300, 0x1185890)","\t/home/build/.gvm/gos/go1.13/src/runtime/panic.go:679 +0x1b2","math/big.(*Int).Set(...)","\t/home/build/.gvm/gos/go1.13/src/math/big/int.go:75","blockwatch.cc/tzindex/micheline.(*Z).Set(...)","\t/home/build/tezos/indexers/tzindex/micheline/zarith.go:37","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:120 +0xac","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc002bf93f0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc002bf93e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0","blockwatch.cc/tzindex/micheline.BigMapDiff.MarshalBinary(0xc003bb4700, 0x2, 0x4, 0x0, 0x0, 0x0, 0x0, 0xc001169ae0)","\t/home/build/tezos/indexers/tzindex/micheline/bigmap.go:187 +0x444","blockwatch.cc/tzindex/etl.(*Builder).NewTransactionOp(0xc00015a9a0, 0xc0031b2630, 0xd, 0x0, 0x0, 0x0, 0x0)","\t/home/build/tezos/indexers/tzindex/etl/op.go:596 +0xe37","blockwatch.cc/tzindex/etl.(*Builder).Decorate(0xc00015a9a0, 0xd1ffc0, 0xc000118140, 0x0, 0x0, 0x79000e)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:930 +0x488","blockwatch.cc/tzindex/etl.(*Builder).Build(0xc00015a9a0, 0xd1ffc0, 0xc000118140, 0xc00013a280, 0xc0011d0640, 0x33, 0x0)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:219 +0x1cb","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain(0xc000184540)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:875 +0x44e","created by blockwatch.cc/tzindex/etl.(*Crawler).Start","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:360 +0x9c"]}
2019/12/19 01:25:14.375237 INFO BLOC Stopping blockchain sync at height 83567.
2019/12/19 01:25:14.841287 INFO BLOC Context cancelled. Stopping blockchain ingest.
2019/12/19 01:25:14.841303 ERRO BLOC Exiting monitor loop on cancelled context
On https://github.com/blockwatch-cc/tzindex/commit/f12498327b8e4875b5e8f3aac20f033308001c6b (as well as on the docker build) I have this error after catching up to certain block:
2019/12/19 10:08:22.506178 INFO BLOC Processed 1524 blocks in 10s (12809 transactions, height 46430, 2019-10-20 19:59:38 +0000 UTC, q=0, t=1.41101ms, s=syncing)
2019/12/19 10:08:32.509169 INFO BLOC Processed 1562 blocks in 10s (13335 transactions, height 47992, 2019-10-21 15:26:10 +0000 UTC, q=0, t=1.337934ms, s=syncing)
2019/12/19 10:08:42.937852 INFO BLOC Processed 1161 blocks in 10.42s (8405 transactions, height 49153, 2019-10-22 16:32:20 +0000 UTC, q=56, t=227.725504ms, s=syncing)
2019/12/19 10:08:50.487062 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:08:55.493058 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:00.499592 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:05.505462 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:10.511144 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:15.516655 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:20.522788 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:09:25.529626 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
Maybe you could take a look @echa.
Thanks!
Here is some more debug regarding that last error on https://github.com/blockwatch-cc/tzindex/commit/f12498327b8e4875b5e8f3aac20f033308001c6b:
2019/12/19 10:30:03.772198 DEBG BLOC Block 50729 download failed: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:30:03.772204 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:30:08.772567 TRCE BLOC Fetching next block 50729
2019/12/19 10:30:08.772655 DEBG JRPC GET /chains/main/blocks/50729 HTTP/1.1
Host: 127.0.0.1:8732
Accept: application/json
Content-Type: application/json
User-Agent: Blockwatch-tzindex/v005-7-gf124983.f124983
2019/12/19 10:30:08.777190 DEBG JRPC HTTP/1.1 200 OK
Content-Length: 17742
Content-Type: application/json
{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"BLwoEqEYsSGH1ncBNEvmoaZFQmAGSSVgh56ECMZHQMkmthDDFUh","header":{"level":50729,"proto":1,"predecessor":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","timestamp":"2019-10-23T22:48:44Z","validation_pass":4,"operations_hash":"LLoaaznNHfGiz2GBDDtpvdVSqr2CwnsUt1bua1uMvDZA3HfsKepHJ","fitness":["01","000000000000c628"],"context":"CoUqntgD3hTGhHbmtJ6ZtkwG6yexyPVaJKrgug51ZJSeKXGd4tX6","priority":0,"proof_of_work_nonce":"1db34e40ae148f63","signature":"sigiZgUpqmmDWsvRsy2ESqKzkokHfGLNf2ohUGYWioEpX9fkUVKmk1MsxscCWWs18a6hBDQ1EiN41M4bBivx3xSrZeLkWr8F"},"metadata":{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","next_protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","test_chain_status":{"status":"not_running"},"max_operations_ttl":60,"max_operation_data_length":16384,"max_block_header_length":238,"max_operation_list_length":[{"max_size":32768,"max_op":32},{"max_size":32768},{"max_size":135168,"max_op":132},{"max_size":524288}],"baker":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","level":{"level":50729,"level_position":50728,"cycle":24,"cycle_position":1576,"voting_period":6,"voting_period_position":1576,"expected_commitment":false},"voting_period_kind":"proposal","nonce_hash":null,"consumed_gas":"217443","deactivated":[],"balance_updates":[{"kind":"contract","contract":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","change":"-192000000"},{"kind":"freezer","category":"deposits","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"192000000"},{"kind":"freezer","category":"rewards","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"14400000"}]},"operations":[[{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"oowWbqwPEQXjauMnySRJwdR4u3b1DBoJz2BGRZKfnt6fQosy12n","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1eY5Aqa1kXDFoiebL28emyXFoneAoVg1zh","change":"-96000000"},{"kind":"freezer","category":"deposits","delegate":"tz1eY5Aqa1kXDFoiebL28emyXFoneAoVg1zh","cycle":24,"change":"96000000"},{"kind":"freezer","category":"rewards","delegate":"tz1eY5Aqa1kXDFoiebL28emyXFoneAoVg1zh","cycle":24,"change":"8000000"}],"delegate":"tz1eY5Aqa1kXDFoiebL28emyXFoneAoVg1zh","slots":[28,17,13,8]}}],"signature":"sighA7HurxdwWxXVevFR8V973ep1VVYfw2g5NiSNoZMBn3fzGtWVNNRwcTTTqzZxxSKpakeMS7NbVaWSr4q1G6weiWW2m7eF"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"oo8a8P4guQTqmk7dNpRfNwp7bG9WvZ22SBcYCDmeW1SRtZUdw2p","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","change":"-72000000"},{"kind":"freezer","category":"deposits","delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","cycle":24,"change":"72000000"},{"kind":"freezer","category":"rewards","delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","cycle":24,"change":"6000000"}],"delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","slots":[30,26,19]}}],"signature":"sigXp7D2EZnPw7eWiZ5myfYrGnSCFGAsQpd5MXt9FoNmcdKiDaG9inXXBeK41nMuoeYhieXG5MrG7uyj6YGte8Rm5RVFzRh9"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"opMaNTfkqwxwNhudMyBC14TjBZ1ydwgZJLfcKSvfSipmsjfJF37","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","change":"-24000000"},{"kind":"freezer","category":"deposits","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":24,"change":"24000000"},{"kind":"freezer","category":"rewards","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":24,"change":"2000000"}],"delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","slots":[15]}}],"signature":"sigjKD4oPopAnEPzM1uFvEFiiojwLdqHs3S2mtgF3ttZM7cdVkkZcboPvhNG4dDMAckHZ1poGBWA2YEmzoVorWTjU47piBmY"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooPUJ7Hv1gQeoU3MrNjTyVbzvvudqifRN2WEgWAkmeDsuReqqx1","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","change":"-120000000"},{"kind":"freezer","category":"deposits","delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","cycle":24,"change":"120000000"},{"kind":"freezer","category":"rewards","delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","cycle":24,"change":"10000000"}],"delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","slots":[20,18,7,6,0]}}],"signature":"sigcmEAirMzcbdoLPFeev7pPxF9n36RBwyRC5SAWxZEadmi8Le1sotAtwxSmfwFUfcbhpxdUTYXYmfsuYTvc7yfA2fMxu2KN"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"op8ttxA3HrPZWyvGsSfHmU2JxisjLiEeJ2dQFRGpzHLQhfBcssZ","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","change":"-72000000"},{"kind":"freezer","category":"deposits","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"72000000"},{"kind":"freezer","category":"rewards","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"6000000"}],"delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","slots":[29,27,24]}}],"signature":"sigmUTCNeZs5mzmGWHJfzh4x3jHBu5xLJdMzsffzkd14fBaYkVRYUhFXz7Q6w2s8gP9ktLyeSUZr6tz25fCnQEDA1GBrBmrG"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"op396fy47VsDBQA6HQGSS5Dbg3CTo3BpcWZEv8Tb5K3yTWbaLmH","branch":"BMTqUGFNEbSzA5fUq9Krj5YedN6S5yKY3CeraEJZQbXqqWDdKQf","contents":[{"kind":"endorsement","level":50728,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","change":"-72000000"},{"kind":"freezer","category":"deposits","delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","cycle":24,"change":"72000000"},{"kind":"freezer","category":"rewards","delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","cycle":24,"change":"6000000"}],"delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","slots":[23,16,1]}}],"signature":"siguX64ZPg8a4ujtnf5sPa82dsauJ7vie5AznhaLdVegXTARGZERev7U4Dd164tHppnLKVka96oCV7gKgnLRX4qDYK4yatFF"}],[],[],[{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooQdp6f7WTZmd9qhoQ3LCJ54U6HFYrCeiFknhoxuSBRtsmZUWgf","branch":"BMKzyEhvrbo4t4o4KEkZYifFwRni7BNYcE7dam9G8jZcGYR8soX","contents":[{"kind":"reveal","source":"tz1Xe2vW7uGs4V25yLansYMMVeLz4Nke7jWn","fee":"1258","counter":"11106","gas_limit":"10000","storage_limit":"0","public_key":"edpkuME6EkshfFVCE7kqiGyF31UZ2FB5T1KXQem513W2dCUtQxLv2f","metadata":{"balance_updates":[{"kind":"contract","contract":"tz1Xe2vW7uGs4V25yLansYMMVeLz4Nke7jWn","change":"-1258"},{"kind":"freezer","category":"fees","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"1258"}],"operation_result":{"status":"applied","consumed_gas":"10000"}}},{"kind":"transaction","source":"tz1Xe2vW7uGs4V25yLansYMMVeLz4Nke7jWn","fee":"22263","counter":"11107","gas_limit":"206118","storage_limit":"2286","amount":"0","destination":"KT1XhVV6pQNS1h2qPYkBYPN9o8ApGNGKUbUf","parameters":{"entrypoint":"default","value":{"prim":"Left","args":[[{"prim":"Pair","args":[{"string":"tz1Xa79ExBpU9KP84SCCzyrN1emi5cYcraTT"},{"int":"8414000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1XmU6o3vR4ohCew9AFHYcBomyeGi4hHZcH"},{"int":"386000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1iM8uxjEmVACfUXYwGwB4AqrJVZvKtuGSZ"},{"int":"1924000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1MqYDQgQcBoKJoQeHS6Ye4MyJKS16vfZEY"},{"int":"8680000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1Ted443iZXPcgbLjGySbi7jAv4SeLuvsRX"},{"int":"1132000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1ZD417v2tykKa54Wh37cYyk92GJyegAr6z"},{"int":"9212000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1YGi6yyinEsGMSCrHmppgVPovNSJzHdEUr"},{"int":"5360000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1hZ1chhg95uCtmA2ioP5feaSEqJ1UbYShX"},{"int":"5659000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1hvjroWWbzup8Rp3HM2uhhzDq2gQ2d1XDR"},{"int":"1662000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1cLZ99gnnQfuhuRDCRdEWP3XhGv4q1jF9f"},{"int":"6052000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1RH7P8FzmjNW6PdtKLAkGpw2AZvm5w2TFy"},{"int":"4782000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1c3K9uVvJwGDXJb5QGV2NhSxLhZZyB82P9"},{"int":"3481000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1PfmnnmpZxCM8yoTYV136wwcLcUqfWN3Xb"},{"int":"539000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1UKJDkARNkRa3cF11V2ZsD5XzFt8JmjN8E"},{"int":"1319000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1VePMtjYzhDtEgxWCSRTXnMR5K7C66v76h"},{"int":"2117000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1U4YfAhkka4kBqpR4AvMXmZ4FLGBM3pVKJ"},{"int":"5651000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1bKPR1TQYjfckRXJMxnwqrefEwwpEpfo9u"},{"int":"2961000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1NYsBb4D7nxpt6ufLyayzdY8biMqdyj6fg"},{"int":"4646000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1P38Em9vzTfNfJsNV4NEyquevrJBZNUZKB"},{"int":"5144000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1bsTFwijYKs5KtoL4yd5AQMUffVwpRijGB"},{"int":"1562000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1egbBHqFGJ6euGfRQGycVx45B5UFiCrqX2"},{"int":"6666000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1MtW5eQ95HffegEAnz3wVThTC8WyuowXkk"},{"int":"6948000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1iajMgi6P6ycirhBHYBeVNEFmZpbhn5mgx"},{"int":"4872000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1NnRbiXpsiqrHorhWM59AntuhWoVX6VgD3"},{"int":"7119000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1SUH9ZkDvCAxz6guYkG8Q8PADfg8JszByP"},{"int":"6714000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1bgdSxE2n4HbcMQHsXKp68k3bZWNiev1Xu"},{"int":"2291000000000000000000"}]},{"prim":"Pair","args":[{"string":"tz1SryQcxiWLba8HkhBUnYgY6GU15mBbx76F"},{"int":"9470000000000000000000"}]}]]}},"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1Xe2vW7uGs4V25yLansYMMVeLz4Nke7jWn","change":"-22263"},{"kind":"freezer","category":"fees","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":24,"change":"22263"}],"operation_result":{"status":"applied","storage":{"prim":"Pair","args":[{"int":"82"},{"prim":"Pair","args":[{"int":"18"},{"prim":"Pair","args":[{"string":"Seed"},{"prim":"Pair","args":[{"string":"NON"},{"bytes":"000083a1b3b81fa461e2dd6b60b7d272c39a0d227913"}]}]}]}]},"big_map_diff":[{"action":"update","big_map":"82","key_hash":"exprtfsGwRWzzgr468JSoUS1ZaaPirXGtPugGo7CVK2eqYr4cBDYUC","key":{"bytes":"0000181d7898279416ff0fd718baba51655bffa966c4"},"value":{"prim":"Pair","args":[{"int":"8680000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprvNT3yvEwQsJs3Pgt5i6AC847Y42aXZMGDfUs5xANc3sfgY9eEN","key":{"bytes":"000018acf00d890bc55bd20ac60e579a9648511b3fc1"},"value":{"prim":"Pair","args":[{"int":"6948000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprvFG88cdRNMGn2sJek9ZL4UYwN94PPDoBXSjoPakacSLgBD4bjF","key":{"bytes":"00001fee5c150e6cc5fb6adf260c92c4593dc1a441aa"},"value":{"prim":"Pair","args":[{"int":"4646000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprusUvGwomqAEEAxhQfT4LmiiJVdt1DAnaMoLJCLEXM5hrHjYLMu","key":{"bytes":"0000227ed3a45a86c120f5e8f315a5f2af4019e44c0e"},"value":{"prim":"Pair","args":[{"int":"7119000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruET2mAxrbGNbaXkw54uHRwYusX4qVG8L9dnDnoiXHEKX58NEwd","key":{"bytes":"0000254692dc9e8a0de238175de9912e31b30ba314d0"},"value":{"prim":"Pair","args":[{"int":"5144000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruXGss7egiSkqMpa6QfzYUvA3eqGutmzTdE8vDJ6GHXsuwuZucM","key":{"bytes":"00002c34e532c107d60c80c30462287fb57f5d47814b"},"value":{"prim":"Pair","args":[{"int":"539000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtqNFSf2yKrQpaBHX32KFYLCwrmyw67HBrLhx22tmLfHV264sF9","key":{"bytes":"00003ddbef30387a80002764817bf998145946a98348"},"value":{"prim":"Pair","args":[{"int":"4782000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtqyExK9bZ66bhA9Kn5F6ztHn9Lkmkc9bsjdhAFBHqa8veQbYYr","key":{"bytes":"00004af0c9c129d8fdec22c3fc94d2f5e60205c60636"},"value":{"prim":"Pair","args":[{"int":"6714000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprupELuxkr1kbWSyfn5XfBsr5uRLS2LR8BsToXnwWvgwcvnuWmvy","key":{"bytes":"00004f3b8bd80771a695a8c21b4e92aa0089cea1569c"},"value":{"prim":"Pair","args":[{"int":"9470000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expru7Hr8Vgm1VUAoU3xRcu35URCpdt7xxpAbkT8wJicihPD5DuJPY","key":{"bytes":"000057ddb07824449a326996fe32740d8c4337dabcff"},"value":{"prim":"Pair","args":[{"int":"1132000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruWt6nDqTH72NpB5NgiBuPeUdyNo2671vwSR2fbKtJxCNHPmApP","key":{"bytes":"00005c640106e0e77bdfbf3988cdf44ebdbb66fdb75c"},"value":{"prim":"Pair","args":[{"int":"5651000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruWL8gr1Kp7h3vQWm5Ph92KjdNycqZbubzi11pGazaHxYSXDaKU","key":{"bytes":"00005f2e30e0a16758aac54c65928be9b0a952368783"},"value":{"prim":"Pair","args":[{"int":"1319000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtoi2KavjQZUBywVXXxS3p3xHGySeUFz1t885v3wMLsGYvP5UJr","key":{"bytes":"00006dc282d3970090fb7f1b10226ca79a882ff47c6d"},"value":{"prim":"Pair","args":[{"int":"2117000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruzZDGw9kfgffaDU4g8HyvHbeGv4Q5qsZCREbrvc9ChUrD71NH4","key":{"bytes":"000082e38f8036b698572f2dfab9f368b84390aafd2f"},"value":{"prim":"Pair","args":[{"int":"8414000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtswsLerEYS6D9TMtpwxbrfFdMaJifZLXcXDpEhdYEhNVF8D12z","key":{"bytes":"00008509a17e67b2bf53c46df20244fdd70aa410a375"},"value":{"prim":"Pair","args":[{"int":"386000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expru6negjaFff4em5YZAL2enkXj6L8MrsgsLn8R7QYaJsp8k24gyo","key":{"bytes":"00008a91620f90c58b27ad789f07a0781f95e04b543b"},"value":{"prim":"Pair","args":[{"int":"5360000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprv8EmnnXmMiR3rbzWpp81sFtynFi2QHJ4V33782kwgcgU3dVoM3","key":{"bytes":"000094d874acc055dca5a42c4f2fbc5d0a77562fe710"},"value":{"prim":"Pair","args":[{"int":"9212000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprvNW8dicbAELhfckfxU95HAkNU3wuvQLajUQAMPSfHkHTGQsBDZ","key":{"bytes":"0000abfb6845c9221f7a8a50bf7effed8ec0e56605c3"},"value":{"prim":"Pair","args":[{"int":"2961000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expru8J49MLTHcqYm8ES6rUPDZuthjeSngxzzetG7FhVYLiBBXcdiv","key":{"bytes":"0000afffdb6b5d078754447433a3eb0f09b4a7fd0b2f"},"value":{"prim":"Pair","args":[{"int":"2291000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprutAuXTKCNgJNwDJ3uopp8y5zqphpb87wAVaBUpXGTuPv3C6MpM","key":{"bytes":"0000b20bed39f3eb2a4f59f0b87e8e6317e0d28e1152"},"value":{"prim":"Pair","args":[{"int":"1562000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruWhHFbyVaYx4PiRS4VgHdsKgSWmkLsU1AUo8K7gAbUnkwknP5z","key":{"bytes":"0000b3e95241a84a9a202e7763f67585f0e1855f79af"},"value":{"prim":"Pair","args":[{"int":"3481000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtpsrwJ5Df5xTFb5MbwVfZecXrwbL28TagsWncVQKpTNxYZekSf","key":{"bytes":"0000b72c1182f32bac213f554cc7ff5939bd552c49a8"},"value":{"prim":"Pair","args":[{"int":"6052000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtdwDeFNNZ2QU5SY92g27eRD8WxqNmPrtqPbEQs1AhAkVhm2e3t","key":{"bytes":"0000d0e656eb6bdb71b961533433b971cbffcf1adbff"},"value":{"prim":"Pair","args":[{"int":"6666000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprtZSPfMnqajfWVa26CK8YT5rvTRzhNRGDXAdVi3BMwyw3ubhAxE","key":{"bytes":"0000f05fca0323745b2c34a7090ba5c3f4b89c4b7bb6"},"value":{"prim":"Pair","args":[{"int":"5659000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expru4HKrwiQM5HQrZtJPTHNzfXn6DVpSxETJNornPKnpYdrTmKPQy","key":{"bytes":"0000f47bc97ddce96fcb16890a717a6ab1af0d31f73a"},"value":{"prim":"Pair","args":[{"int":"1662000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"expruY6Xyj5snXTSQB2fB6NtZz1DsXEJtzTxboPuqiMENa5YKBYgxz","key":{"bytes":"0000f91903dad297b31920562332c6ce8a14016b6cb5"},"value":{"prim":"Pair","args":[{"int":"1924000000000000000000"},[]]}},{"action":"update","big_map":"82","key_hash":"exprv3X2EjSJsEhhmFYCiNvpJMfmbi3ydosLeRkof2svZspdQTdUK8","key":{"bytes":"0000fbab2cafdaa1c12b5e37dc6895f919c4516f5852"},"value":{"prim":"Pair","args":[{"int":"4872000000000000000000"},[]]}}],"balance_updates":[{"kind":"contract","contract":"tz1Xe2vW7uGs4V25yLansYMMVeLz4Nke7jWn","change":"-2266000"}],"consumed_gas":"206018","storage_size":"10230","paid_storage_size_diff":"2266"}}}],"signature":"sigbviTC3Rj94RJxgTQ8EZ2jTuWCyJwBTXpG7mgZ26Pgkqqk754yYaAbfzwLSsEsq93BdXsdAEG1ZSjdLNiJJuKrFa8WTbvk"}]]}
2019/12/19 10:30:08.778561 DEBG BLOC Block 50729 download failed: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:30:08.778566 WARN BLOC RPC connection error: operation kind transaction: strconv.ParseInt: parsing "8414000000000000000000": value out of range
2019/12/19 10:30:13.779132 DEBG JRPC GET /chains/main/blocks/head/header HTTP/1.1
The master
branch fails on block 83568:
2019/12/19 10:38:08.563166 DEBG BLOC Loaded 31 total delegates
2019/12/19 10:38:08.563183 INFO BLOC Starting blockchain crawler.
2019/12/19 10:38:08.563210 WARN SRVR HTTP Server reachable on all interfaces (0.0.0.0)
2019/12/19 10:38:08.563294 INFO BLOC Starting blockchain sync from height 83568.
2019/12/19 10:38:08.563303 INFO BLOC Starting blockchain ingest.
2019/12/19 10:38:08.563323 INFO BLOC Starting blockchain monitor.
2019/12/19 10:38:08.563348 DEBG JRPC GET /chains/main/blocks/83568 HTTP/1.1
Host: 127.0.0.1:8732
Accept: application/json
Content-Type: application/json
User-Agent: Blockwatch-tzindex/dev.8863f8d
2019/12/19 10:38:08.563381 DEBG JRPC GET /monitor/heads/main HTTP/1.1
Host: 127.0.0.1:8732
Accept: application/json
Content-Type: application/json
User-Agent: Blockwatch-tzindex/dev.8863f8d
2019/12/19 10:38:08.563657 DEBG SRVR Registering debug routes
2019/12/19 10:38:08.563795 INFO SRVR Starting HTTP server at 0.0.0.0:8000
2019/12/19 10:38:08.566930 DEBG JRPC HTTP/1.1 200 OK
Content-Length: 14126
Content-Type: application/json
{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"BLvsaZeH89cMy5fDZKFEy6PojuHKyfZp8Z8QVGKgUeV1PVDNry1","header":{"level":83568,"proto":1,"predecessor":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","timestamp":"2019-11-10T14:01:42Z","validation_pass":4,"operations_hash":"LLoaCRXDR7fNtWk4313fYLSWTVBqCeu4Lmz2yk5eeS3Ko3uwpYBa3","fitness":["01","000000000001466f"],"context":"CoVAy2hddsd4fnhdaFmvEDACvLJESp8WyKEZ5tiJWDsjE94F3tQ5","priority":3,"proof_of_work_nonce":"0194a3285e57e23a","signature":"sigcX6XxcPrKhufbQEWchvaxvdciyBxR6ZEUAXq9Y4jCt3Xh8XD8oL7gfwjws4VXtPg4Eu4w61SjneNHDhQQfRG1fC41EHWc"},"metadata":{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","next_protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","test_chain_status":{"status":"not_running"},"max_operations_ttl":60,"max_operation_data_length":16384,"max_block_header_length":238,"max_operation_list_length":[{"max_size":32768,"max_op":32},{"max_size":32768},{"max_size":135168,"max_op":132},{"max_size":524288}],"baker":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","level":{"level":83568,"level_position":83567,"cycle":40,"cycle_position":1647,"voting_period":10,"voting_period_position":1647,"expected_commitment":false},"voting_period_kind":"proposal","nonce_hash":null,"consumed_gas":"42353","deactivated":[],"balance_updates":[{"kind":"contract","contract":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","change":"-320000000"},{"kind":"freezer","category":"deposits","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"320000000"},{"kind":"freezer","category":"rewards","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"3600000"}]},"operations":[[{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"op8ftxMFa5bfzbFAwsSiYYCxzCEK64T3QaerH6Ug5onZGfPQJ9w","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","change":"-40000000"},{"kind":"freezer","category":"deposits","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"40000000"},{"kind":"freezer","category":"rewards","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"500000"}],"delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","slots":[0]}}],"signature":"sigV8w3KJ7mAW3foKq3FS9wYDhnfVKF9vJyQf7mzYtfd8KsPNroVf5iHf47SD7oaYFsWaQBPmQmFJhZtHM9uydPr8RkR5Dks"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"oo7GB1utwN55Bg7puii9ipQA4zxNASZsCtFfT19XLmCz17nPq3x","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz3gN8NTLNLJg5KRsUU47NHNVHbdhcFXjjaB","change":"-120000000"},{"kind":"freezer","category":"deposits","delegate":"tz3gN8NTLNLJg5KRsUU47NHNVHbdhcFXjjaB","cycle":40,"change":"120000000"},{"kind":"freezer","category":"rewards","delegate":"tz3gN8NTLNLJg5KRsUU47NHNVHbdhcFXjjaB","cycle":40,"change":"1500000"}],"delegate":"tz3gN8NTLNLJg5KRsUU47NHNVHbdhcFXjjaB","slots":[21,20,2]}}],"signature":"sigTzbUvejX8hs46JMbUJtggkkywzXSJSGx3dBFhgCFSqwvcGXuYdsKeJsNgSVKdQ4ikoibtGtzE92C8qU6aHPxqkgDXRWGZ"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"oon8gtGdTXZmGK26SP5WxnEGL5eV3hVwSLHPsiHZAPcpvDGQn61","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz3WXYtyDUNL91qfiCJtVUX746QpNv5i5ve5","change":"-40000000"},{"kind":"freezer","category":"deposits","delegate":"tz3WXYtyDUNL91qfiCJtVUX746QpNv5i5ve5","cycle":40,"change":"40000000"},{"kind":"freezer","category":"rewards","delegate":"tz3WXYtyDUNL91qfiCJtVUX746QpNv5i5ve5","cycle":40,"change":"500000"}],"delegate":"tz3WXYtyDUNL91qfiCJtVUX746QpNv5i5ve5","slots":[6]}}],"signature":"sigQy4p55T458SqQKkTFGqkG3k11g2mKqTNfWYKFJzCzcz5hXRQAtf2xscXZdX9U59akFVZZX6J19K49BsK7cRh8wsNy7QN4"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"opWtPxh3Yjw3ZDtJKzVyP9uvoS36nYDcF3cUKxYxfQLf1DvdETB","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","change":"-80000000"},{"kind":"freezer","category":"deposits","delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","cycle":40,"change":"80000000"},{"kind":"freezer","category":"rewards","delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","cycle":40,"change":"1000000"}],"delegate":"tz1NRTQeqcuwybgrZfJavBY3of83u8uLpFBj","slots":[16,12]}}],"signature":"sigVrYrPxyBqqTUvw4itnu7hMCY3fFnTTD6cyY35FffKY1DAoaWMEDVEjbgAh9S1n6U1mdmAjGgaU18uN4vVmdanb2a7YHtm"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooom2LeeNsY3gDtE2zQNQzncV2XbWwrFkJv1WLccQbULg5fuf81","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","change":"-80000000"},{"kind":"freezer","category":"deposits","delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","cycle":40,"change":"80000000"},{"kind":"freezer","category":"rewards","delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","cycle":40,"change":"1000000"}],"delegate":"tz1f8Ybid6x2pMvJGauz3Zi8enkABSSkGPn8","slots":[28,23]}}],"signature":"sigeFkPeg4usyBmHmDq4CCHQoBQzCiqPG6QbHnLwn8CfSAayWEWooQAj1rdE1JGxzQMuhbsLtotVVwQpBuik9n8pQHni57Wa"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"opXe9d4oRaARp4LYgaCp2YsLaht2EUogiwKbBhpAy5TQCsBYPKF","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","change":"-80000000"},{"kind":"freezer","category":"deposits","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":40,"change":"80000000"},{"kind":"freezer","category":"rewards","delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","cycle":40,"change":"1000000"}],"delegate":"tz1YH2LE6p7Sj16vF6irfHX92QV45XAZYHnX","slots":[25,11]}}],"signature":"sigk2DbakCexqFVn4u12TSEE8FUvfwh9eGxAGozboJExsvpRH4dSy1co5BoKEjznULy8EVGyTNytn1Yh6swHeov7zcSNXzcu"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooXWqkF3ArfDarJPN6wAfEGeLDUjhPeogDzqchyECGM2Y54FMuw","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","change":"-160000000"},{"kind":"freezer","category":"deposits","delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","cycle":40,"change":"160000000"},{"kind":"freezer","category":"rewards","delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","cycle":40,"change":"2000000"}],"delegate":"tz1PirboZKFVqkfE45hVLpkpXaZtLk3mqC17","slots":[22,18,14,10]}}],"signature":"sigTsGayasicwXCAL1XuZqaKBJ4B3uUjVp4Csj5CeGSRczvszawowCGFNczhfNKWh9CNHv4grri27hnuRCYe2T3TGb7Gg1M8"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"op16kdbrM7wZ7j2iwGGzaBeBcQgVJs4L9THP9qqEtbgym6LaKFv","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1X7fu4GXBXp9A8fchu1px3zzMDKtagDBk3","change":"-80000000"},{"kind":"freezer","category":"deposits","delegate":"tz1X7fu4GXBXp9A8fchu1px3zzMDKtagDBk3","cycle":40,"change":"80000000"},{"kind":"freezer","category":"rewards","delegate":"tz1X7fu4GXBXp9A8fchu1px3zzMDKtagDBk3","cycle":40,"change":"1000000"}],"delegate":"tz1X7fu4GXBXp9A8fchu1px3zzMDKtagDBk3","slots":[3,1]}}],"signature":"sigZeEgTL3baa58cC8LEmqRM4aPHLn96Afkwd6Q5NXCwPizbyEAMrqn59bg2WRcrYnN4K9QGqMEa1pqPguDwwbFZGeKEqTXP"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ook1TmwRD1TJySiE2VHY9abykHfaev2JC2Ge2AkvwfreP5RFXmx","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1RR6wETy9BeXG3Fjk25YmkSMGHxTtKkhpX","change":"-40000000"},{"kind":"freezer","category":"deposits","delegate":"tz1RR6wETy9BeXG3Fjk25YmkSMGHxTtKkhpX","cycle":40,"change":"40000000"},{"kind":"freezer","category":"rewards","delegate":"tz1RR6wETy9BeXG3Fjk25YmkSMGHxTtKkhpX","cycle":40,"change":"500000"}],"delegate":"tz1RR6wETy9BeXG3Fjk25YmkSMGHxTtKkhpX","slots":[30]}}],"signature":"sigZqsrPMzFNdzM82jPh1sq42p6EimNkUYKb3FPfm81ugCsHZURRbT2c51uWuuKvvQLyV1saPoBWrtTk7zzbgbeR2FVRxaGa"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"opKf5RiHH1Gb6uWJ7Lu3qvtT8QLEEbZfd4JjBYos8vfd1mpwKmU","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"endorsement","level":83567,"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1efSQdjbTut8NyqE6VEj6CcyRP5mL97SNi","change":"-40000000"},{"kind":"freezer","category":"deposits","delegate":"tz1efSQdjbTut8NyqE6VEj6CcyRP5mL97SNi","cycle":40,"change":"40000000"},{"kind":"freezer","category":"rewards","delegate":"tz1efSQdjbTut8NyqE6VEj6CcyRP5mL97SNi","cycle":40,"change":"500000"}],"delegate":"tz1efSQdjbTut8NyqE6VEj6CcyRP5mL97SNi","slots":[27]}}],"signature":"sigmvtKCwb12eKhxKUp6C8bxAS6gzGyvSnRUBSQ8wJtrBoFiDmgVs5buUyb2G4GPdW4hDjWT5C48uum2ZKy2CYcrCaFh7NWK"}],[],[],[{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooEYQqz9ayRDUCFMiWoMW3TX4umULfBuJez1kXj5E6a7Bmg7jMx","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"transaction","source":"tz1WrvKtWV15t4c3DKj3UUA9Z5NCLZp3Rrtw","fee":"1420","counter":"15225","gas_limit":"10600","storage_limit":"300","amount":"2933463","destination":"tz1STqmL6FLFkx7ARog3zhB6MYVTHPo6TYSE","metadata":{"balance_updates":[{"kind":"contract","contract":"tz1WrvKtWV15t4c3DKj3UUA9Z5NCLZp3Rrtw","change":"-1420"},{"kind":"freezer","category":"fees","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"1420"}],"operation_result":{"status":"applied","balance_updates":[{"kind":"contract","contract":"tz1WrvKtWV15t4c3DKj3UUA9Z5NCLZp3Rrtw","change":"-2933463"},{"kind":"contract","contract":"tz1STqmL6FLFkx7ARog3zhB6MYVTHPo6TYSE","change":"2933463"}],"consumed_gas":"10207"}}}],"signature":"sigtgoqaRewcGcjYVsSLhspdQ5FmZUADDJnRYSAAA2z5f1Ly6AuoAvC9BPP75AcFSq7zmpkkpUikXeC9ori13FQDFvyVzDah"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"ooedZggCEjgtUCWZunMzTxp6JXiBELGjStRG6ac3rBJxUAGBYvg","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"transaction","source":"tz1UBodXGgGLRJmQh6juKG9JfXpbW5tfCWeL","fee":"1420","counter":"15226","gas_limit":"10600","storage_limit":"300","amount":"1632398","destination":"tz1gQFexVDBmLUFmD19DybDVt5JuEUhoMXtz","metadata":{"balance_updates":[{"kind":"contract","contract":"tz1UBodXGgGLRJmQh6juKG9JfXpbW5tfCWeL","change":"-1420"},{"kind":"freezer","category":"fees","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"1420"}],"operation_result":{"status":"applied","balance_updates":[{"kind":"contract","contract":"tz1UBodXGgGLRJmQh6juKG9JfXpbW5tfCWeL","change":"-1632398"},{"kind":"contract","contract":"tz1gQFexVDBmLUFmD19DybDVt5JuEUhoMXtz","change":"1632398"}],"consumed_gas":"10207"}}}],"signature":"siguZ9GwMGUtLie7ZAJemoYDDCVet2nmdNtZB9P3MhQGMb4mwpaPocPsiSUf1v3e47DwdmJgKTsF6BEJ7BCPMwWejPyxWEcU"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"oo2NhkLfLMCnZuJToX8X7pLetjpk8mukjYQZUtb7gcBQ7yGqh8T","branch":"BMN7HmNVSaT5ddNahk3sqMEGvvkgV1ZSuhfv55Dcj9svznCGBY6","contents":[{"kind":"transaction","source":"tz1Mu9JUMJ1CJvC9s7ZM9AR3eFBCxKZ7jXbx","fee":"1420","counter":"17058","gas_limit":"10600","storage_limit":"300","amount":"1465995","destination":"tz1ZtvZDyxP5XA4pZn7Z3gqx2b1twRtUHUVb","metadata":{"balance_updates":[{"kind":"contract","contract":"tz1Mu9JUMJ1CJvC9s7ZM9AR3eFBCxKZ7jXbx","change":"-1420"},{"kind":"freezer","category":"fees","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"1420"}],"operation_result":{"status":"applied","balance_updates":[{"kind":"contract","contract":"tz1Mu9JUMJ1CJvC9s7ZM9AR3eFBCxKZ7jXbx","change":"-1465995"},{"kind":"contract","contract":"tz1ZtvZDyxP5XA4pZn7Z3gqx2b1twRtUHUVb","change":"1465995"}],"consumed_gas":"10207"}}}],"signature":"sigkcDdAos7F3UUZtZwr7QH98zJorv3qK6SGU36c4SeuKQReMGgPZ6x7WtynnHtnqzM4pp9CuFGisEBsLhU6ikm4Eq8Cqzre"},{"protocol":"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS","chain_id":"NetXUdfLh6Gm88t","hash":"opaTtJYiq8M9zwLtcTGKjesrC3ZSmCwYPHYuNEn1ehCfFnvJWtQ","branch":"BLjvFkCTLtP6Nw5ZxtbJm1KCGABWddGJFEeRRFYv33cL9cSpcpV","contents":[{"kind":"transaction","source":"tz1YdMqqDp5eZCvk6vBopCDDE5LundftfuFk","fee":"1440","counter":"51852","gas_limit":"11825","storage_limit":"0","amount":"0","destination":"KT1FpxJGJSJNav7qmM131Zo2TACgkdQ5s2ih","parameters":{"entrypoint":"default","value":{"int":"2"}},"metadata":{"balance_updates":[{"kind":"contract","contract":"tz1YdMqqDp5eZCvk6vBopCDDE5LundftfuFk","change":"-1440"},{"kind":"freezer","category":"fees","delegate":"tz1gT2uVzSqBq3ZdH6uG4uJq8bqLga9XKrrq","cycle":40,"change":"1440"}],"operation_result":{"status":"applied","storage":{"int":"429"},"big_map_diff":[{"action":"remove","big_map":"428"},{"action":"alloc","big_map":"429","key_type":{"prim":"int"},"value_type":{"prim":"int"}}],"consumed_gas":"11725","storage_size":"82"}}}],"signature":"sigUWjf25LaNJfXVPzmR62bPaxsbgad3UE1UG93bqR8mbPLs9hhbPjG3u7k56xKrDDiahfno8fAkB758Sfikv855QuZx7BQp"}]]}
2019/12/19 10:38:08.566937 DEBG BLOC Monitor skipping block 142426 BLfeg7xecVYUFbctshku3bV2jZ2eS1tLzKLg8D4nhEnB7LyF1ZS (not synchronized)
2019/12/19 10:38:08.568246 DEBG JRPC GET /chains/main/blocks/83569 HTTP/1.1
Host: 127.0.0.1:8732
Accept: application/json
Content-Type: application/json
User-Agent: Blockwatch-tzindex/dev.8863f8d
2019/12/19 10:38:08.571008 ERRO BLOC Unrecoverable error: runtime error: invalid memory address or nil pointer dereference
2019/12/19 10:38:08.571088 DEBG BLOC goroutine 65 [running]:
runtime/debug.Stack(0xc00018dee0, 0xc09c31, 0x17)
/home/build/.gvm/gos/go1.13.5/src/runtime/debug/stack.go:24 +0x9d
blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain.func1(0xc00000e020, 0xc000182620, 0xd21200, 0xc0000ca0c0)
/home/build/tezos/indexers/tzindex/etl/crawler.go:736 +0xe5
panic(0xb313a0, 0x1187890)
/home/build/.gvm/gos/go1.13.5/src/runtime/panic.go:679 +0x1b2
math/big.(*Int).Set(...)
/home/build/.gvm/gos/go1.13.5/src/math/big/int.go:75
blockwatch.cc/tzindex/micheline.(*Z).Set(...)
/home/build/tezos/indexers/tzindex/micheline/zarith.go:37
blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/build/tezos/indexers/tzindex/micheline/primitives.go:120 +0xac
blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc004f193f0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0
blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc004f193e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0
blockwatch.cc/tzindex/micheline.BigMapDiff.MarshalBinary(0xc0037c2000, 0x2, 0x4, 0x0, 0x0, 0x0, 0x0, 0xc00012e060)
/home/build/tezos/indexers/tzindex/micheline/bigmap.go:187 +0x444
blockwatch.cc/tzindex/etl.(*Builder).NewTransactionOp(0xc00015aa10, 0xc000159ce0, 0xd, 0x0, 0x0, 0x0, 0x0)
/home/build/tezos/indexers/tzindex/etl/op.go:596 +0xe37
blockwatch.cc/tzindex/etl.(*Builder).Decorate(0xc00015aa10, 0xd21200, 0xc0000ca0c0, 0x0, 0x0, 0x79042e)
/home/build/tezos/indexers/tzindex/etl/builder.go:930 +0x488
blockwatch.cc/tzindex/etl.(*Builder).Build(0xc00015aa10, 0xd21200, 0xc0000ca0c0, 0xc0000ce500, 0xc0000c2c40, 0x33, 0x0)
/home/build/tezos/indexers/tzindex/etl/builder.go:219 +0x1cb
blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain(0xc000182620)
/home/build/tezos/indexers/tzindex/etl/crawler.go:875 +0x44e
created by blockwatch.cc/tzindex/etl.(*Crawler).Start
/home/build/tezos/indexers/tzindex/etl/crawler.go:360 +0x9c
2019/12/19 10:38:08.571143 ERRO BLOC {"stack":["goroutine 65 [running]:","runtime/debug.Stack(0xc00018dee0, 0xc09c31, 0x17)","\t/home/build/.gvm/gos/go1.13.5/src/runtime/debug/stack.go:24 +0x9d","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain.func1(0xc00000e020, 0xc000182620, 0xd21200, 0xc0000ca0c0)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:736 +0xe5","panic(0xb313a0, 0x1187890)","\t/home/build/.gvm/gos/go1.13.5/src/runtime/panic.go:679 +0x1b2","math/big.(*Int).Set(...)","\t/home/build/.gvm/gos/go1.13.5/src/math/big/int.go:75","blockwatch.cc/tzindex/micheline.(*Z).Set(...)","\t/home/build/tezos/indexers/tzindex/micheline/zarith.go:37","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:120 +0xac","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc004f193f0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0","blockwatch.cc/tzindex/micheline.Prim.EncodeBuffer(0x6507, 0xc004f193e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)","\t/home/build/tezos/indexers/tzindex/micheline/primitives.go:172 +0x8d0","blockwatch.cc/tzindex/micheline.BigMapDiff.MarshalBinary(0xc0037c2000, 0x2, 0x4, 0x0, 0x0, 0x0, 0x0, 0xc00012e060)","\t/home/build/tezos/indexers/tzindex/micheline/bigmap.go:187 +0x444","blockwatch.cc/tzindex/etl.(*Builder).NewTransactionOp(0xc00015aa10, 0xc000159ce0, 0xd, 0x0, 0x0, 0x0, 0x0)","\t/home/build/tezos/indexers/tzindex/etl/op.go:596 +0xe37","blockwatch.cc/tzindex/etl.(*Builder).Decorate(0xc00015aa10, 0xd21200, 0xc0000ca0c0, 0x0, 0x0, 0x79042e)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:930 +0x488","blockwatch.cc/tzindex/etl.(*Builder).Build(0xc00015aa10, 0xd21200, 0xc0000ca0c0, 0xc0000ce500, 0xc0000c2c40, 0x33, 0x0)","\t/home/build/tezos/indexers/tzindex/etl/builder.go:219 +0x1cb","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain(0xc000182620)","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:875 +0x44e","created by blockwatch.cc/tzindex/etl.(*Crawler).Start","\t/home/build/tezos/indexers/tzindex/etl/crawler.go:360 +0x9c"]}
2019/12/19 10:38:08.571151 INFO BLOC Stopping blockchain sync at height 83567.
2019/12/19 10:38:08.571154 DEBG BLOC Flushing account.
2019/12/19 10:38:08.571452 DEBG JRPC HTTP/1.1 200 OK
Content-Length: 14244
Content-Type: application/json
Thanks! Bigmap decoding is buggy in this release due to lack of samples and a spec at the time. The next version fixes all these issues. Will be out very soon.
@echa ok, thanks for the update, will be waiting for the new release to test tzindex!
Thanks.
Thanks! Bigmap decoding is buggy in this release due to lack of samples and a spec at the time. The next version fixes all these issues. Will be out very soon.
@echa, @gituser Thank you for the updates @echa, when you say "very soon" -> are you talking about the version you were about to release early next week or it's a new one ?
@grouville Yes, maybe over the weekend.
If you need bigmap index and smart contract storage decoding, this is already available under the Pro license and will come to the OSS release in January/Februrary.
@echa do you provide source code for PRO version as well?
Would really like to test first regular version before considering to purchase PRO.
Don't really need at the moment advanced features, just stable indexer for Tezos to check transactions coming to my account.
Thanks.
Yes, PRO comes with source code. API is compatible, only difference is that new features and protocol upgrades are available earlier plus we provide support contracts.
Hello @echa,
I just tried the last master update and I still have the index out of range [0] with length 0
error in level 3, is it another problem ? I thought that yesterday's correction fixed it. If, in contrary, that was about to get fixed this weekend, then I'm sorry : I didn't understand it that way 😆
The parameters I use are the same as the one in Babylonnet, even though I activate it through my own activator account.
Trace :
➜ tzindex git:(master) ✗ ./tzindex --profile-block tmp.txt run -c docker/config.json --host 192.168.193.124 --v
2019/12/20 16:52:58.957285 INFO MAIN Using configuration file docker/config.json
2019/12/20 16:52:58.957336 INFO MAIN Blockwatch tzindex v1.0.0 -- dev
2019/12/20 16:52:58.957340 INFO MAIN (c) Copyright 2018-2019 -- KIDTSUNAMI UG
2019/12/20 16:52:58.957344 INFO MAIN Starting Blockwatch-tzindex/v1.0.0.dev on 12 cores
2019/12/20 16:52:59.059728 INFO MAIN Profiling mutex/blocking at 1.00% sample rate.
2019/12/20 16:52:59.059806 INFO MAIN Using bolt database ./db/xtz
2019/12/20 16:52:59.072297 INFO BLOC Initializing blockchain crawler in sync mode.
2019/12/20 16:52:59.072807 INFO BLOC Initializing account index.
2019/12/20 16:52:59.084376 INFO BLOC Initializing contract index.
2019/12/20 16:52:59.096028 INFO BLOC Initializing block index.
2019/12/20 16:52:59.107521 INFO BLOC Initializing op index.
2019/12/20 16:52:59.119174 INFO BLOC Initializing flow index.
2019/12/20 16:52:59.130370 INFO BLOC Initializing chain index.
2019/12/20 16:52:59.141790 INFO BLOC Initializing supply index.
2019/12/20 16:52:59.154071 INFO BLOC Initializing rights index.
2019/12/20 16:52:59.165299 INFO BLOC Initializing snapshot index.
2019/12/20 16:52:59.177962 INFO BLOC Initializing income index.
2019/12/20 16:52:59.189876 INFO BLOC Initializing gov index.
2019/12/20 16:52:59.201936 INFO BLOC Initializing report manager.
2019/12/20 16:52:59.296813 INFO BLOC Connecting to RPC server.
2019/12/20 16:52:59.302609 INFO BLOC Crawling Tezos Babylonnet.
2019/12/20 16:52:59.309981 INFO BLOC Starting blockchain crawler.
2019/12/20 16:52:59.310032 WARN SRVR HTTP Server reachable on all interfaces (0.0.0.0)
2019/12/20 16:52:59.310076 INFO BLOC Starting blockchain sync from height 1.
2019/12/20 16:52:59.310099 INFO BLOC Starting blockchain ingest.
2019/12/20 16:52:59.310110 INFO BLOC Already synchronized. Starting in monitor mode.
2019/12/20 16:52:59.310112 INFO BLOC Starting blockchain monitor.
2019/12/20 16:52:59.310835 INFO SRVR Starting HTTP server at 0.0.0.0:8000
2019/12/20 16:53:27.380591 INFO BLOC Building genesis dataset.
2019/12/20 16:53:28.211475 INFO BLOC Processed 2 blocks in 29.13s (0 transactions, height 1, 2019-12-20 16:00:39 +0000 UTC, q=0, t=830.872285ms, s=synced)
2019/12/20 16:55:35.124095 INFO BLOC New protocol PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS detected at 2
2019/12/20 16:55:35.462501 INFO BLOC Processed 1 block in 2m7.25s (0 transactions, height 2, 2019-12-20 16:01:47 +0000 UTC, q=0, t=338.438497ms, s=synced)
2019/12/20 16:57:16.738197 ERRO BLOC Unrecoverable error: runtime error: index out of range [0] with length 0
2019/12/20 16:57:16.738274 ERRO BLOC {"stack":["goroutine 14 [running]:","runtime/debug.Stack(0xc0001b7f40, 0x1811d74, 0x17)","\t/usr/local/Cellar/go/1.13.4/libexec/src/runtime/debug/stack.go:24 +0x9d","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain.func1(0xc000010038, 0xc0001a4620, 0x192ac20, 0xc000172040)","\t/Users/home/tzindex/etl/crawler.go:736 +0xe5","panic(0x17a4b20, 0xc000b86480)","\t/usr/local/Cellar/go/1.13.4/libexec/src/runtime/panic.go:679 +0x1b2","blockwatch.cc/tzindex/etl.(*Builder).Decorate(0xc000170af0, 0x192ac20, 0xc000172040, 0x0, 0x0, 0x1397eae)","\t/Users/home/tzindex/etl/builder.go:838 +0x1a00","blockwatch.cc/tzindex/etl.(*Builder).Build(0xc000170af0, 0x192ac20, 0xc000172040, 0xc00066c140, 0xc000604740, 0x33, 0x0)","\t/Users/home/tzindex/etl/builder.go:219 +0x1cb","blockwatch.cc/tzindex/etl.(*Crawler).syncBlockchain(0xc0001a4620)","\t/Users/home/tzindex/etl/crawler.go:875 +0x44e","created by blockwatch.cc/tzindex/etl.(*Crawler).Start","\t/Users/home/tzindex/etl/crawler.go:360 +0x9c"]}
2019/12/20 16:57:16.768903 INFO BLOC Stopping blockchain sync at height 3.
2019/12/20 16:57:17.165259 INFO BLOC Context cancelled. Stopping blockchain ingest.
2019/12/20 16:57:17.165277 ERRO BLOC Exiting monitor loop on cancelled context
2019/12/20 16:58:58.666470 ERRO SRVR BW-5b605a741fc55333a39d9f767112e640e7773674 404 (1000) GET /explorer/ HTTP/1.1 - NotFound failed (Unrecognized request URL (GET: /explorer/).)
2019/12/20 16:59:09.940726 ERRO SRVR BW-d25ac7c9aec822f8ab43da161ed99e37b580ab48 404 (1000) GET /explorer/block/ HTTP/1.1 - NotFound failed (Unrecognized request URL (GET: /explorer/block/).)
^[[A^[[B^C2019/12/20 17:00:11.557545 INFO SRVR Stopping HTTP server.
2019/12/20 17:00:11.557674 INFO BLOC Stopping blockchain crawler.
2019/12/20 17:00:11.557732 INFO BLOC Stopped blockchain crawler.
2019/12/20 17:00:11.557746 INFO BLOC Stopping report manager.
2019/12/20 17:00:11.654840 INFO BLOC Stopped report manager.
2019/12/20 17:00:11.654855 INFO BLOC Closing account index.
2019/12/20 17:00:11.693944 INFO BLOC Closing contract index.
2019/12/20 17:00:11.733376 INFO BLOC Closing block index.
2019/12/20 17:00:11.779878 INFO BLOC Closing op index.
2019/12/20 17:00:11.818923 INFO BLOC Closing flow index.
2019/12/20 17:00:11.857327 INFO BLOC Closing chain index.
2019/12/20 17:00:11.897884 INFO BLOC Closing supply index.
2019/12/20 17:00:11.937373 INFO BLOC Closing rights index.
2019/12/20 17:00:11.977003 INFO BLOC Closing snapshot index.
^[[A2019/12/20 17:00:12.014517 INFO BLOC Closing income index.
2019/12/20 17:00:12.052710 INFO BLOC Closing gov index.
2019/12/20 17:00:12.154641 INFO MAIN Lock blocking profile written to tmp.txt
Here is what I get when I check what was stored on http://127.0.0.1:8000/explorer/block/3
:
{
"hash": "BKtxw9iP7TUBnP14s93h1Y3Mgo3CnrwRssd5LnpzwnhVKEct9fQ",
"predecessor": "BMY2fBX9osAeeDcQHHpo8ReszdjvJVV6UQtxko1rzW3aKyx7SRj",
"baker": "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx",
"height": 3,
"cycle": 0,
"is_cycle_snapshot": false,
"time": "2019-12-20T16:02:55Z",
"solvetime": 68,
"version": 1,
"validation_pass": 4,
"fitness": 2,
"priority": 0,
"nonce": 1297083101576692480,
"voting_period_kind": "proposal",
"endorsed_slots": 0,
"n_endorsed_slots": 0,
"n_ops": 0,
"n_ops_failed": 0,
"n_ops_contract": 0,
"n_tx": 0,
"n_activation": 0,
"n_seed_nonce_revelations": 0,
"n_double_baking_evidences": 0,
"n_double_endorsement_evidences": 0,
"n_endorsement": 0,
"n_delegation": 0,
"n_reveal": 0,
"n_origination": 0,
"n_proposal": 0,
"n_ballot": 0,
"volume": 0,
"fees": 0,
"rewards": 12.8,
"deposits": 512,
"unfrozen_fees": 0,
"unfrozen_rewards": 0,
"unfrozen_deposits": 0,
"activated_supply": 0,
"burned_supply": 0,
"n_accounts": 1,
"n_new_accounts": 0,
"n_new_implicit": 0,
"n_new_managed": 0,
"n_new_contracts": 0,
"n_cleared_accounts": 0,
"n_funded_accounts": 0,
"gas_limit": 0,
"gas_used": 0,
"gas_price": 0,
"storage_size": 0,
"days_destroyed": 0,
"pct_account_reuse": 100
}
@grouville are you sure you've got tezos-node
with archive enabled operated at 127.0.0.1:8732
?
You can check by telnet 127.0.0.1 8732
.
Command to run Tezos node ./tezos-node run --no-bootstrap-peers --rpc-addr *:8732 --expected-pow 1 -v -v --peer 192.168.193.123:9732 --connection=2
I think the issue is here you need to run archive node.
remove the ~/.tezos-node already synced db, re-run with generate identity and add --history-mode=archive
to the parameters of the tezos-node and then try the indexer.
Current tzindex
master
though is stuck at block 83568
and won't advance any further because of the bug I've mentioned earlier.
Please retry with the new version. Note that only protocols up to v5 (Babylon) are supported right now. Carthage comes in 2020 before activation. If you need earlier support for Carthage, please use our public API or switch to TzIndex Pro.
Cheers @echa, it works for me now on babylonnet.
@grouville try the latest v5.2.0
version it should work.
@echa, @gituser sorry for the delay, I took some days off for Christmas.
Just tested right now, It also works perfectly for me too :-)
@echa, One of the issue was indeed the archive
mode, however, as I was working on my own protocol, I didn't have a version with a pruned genesis block, making me thinking that the full version would be okay. Apparently, it is not the case
Last question, is it possible to link our local version of Tzindex to a local Tzstat ? If yes, how can we do it (without docker if possible)
Have a good day and thanks for you awesome reactivity
About your last question, you can run a local copy of https://github.com/blockwatch-cc/tzstats and link it to your local instance of tzindexer in a few different ways. Easiest by far is using the provided Docker images.
The way tzstats and web browsers work is that you need a local webserver to serve all files. You can setup a local nginx or use my embedded webserver serve
. Key trick is that the TzStats JS file contains a template variable which gets replaced to point to the API endpoint.
development.env
with a single line TZSTATS_API_URL=http://localhost:8000
, run npm install
and then yarn start
. You need NodeJS for this to work./var/www/
out of the tzstats Docker image, compile a local version of https://github.com/echa/serve and run serve with the following env variables: TZSTATS_API_URL
(http://localhost:8000), SV_SERVER_PORT
(smth other than the default port 8000 because tzindexer already uses it), SV_SERVER_ROOT
(the directory you extracted the compiled tzstats files to).For further questions, please use the tzstats repo.
Hi,
I have been trying to sync your Blockchain indexer to my Private Tezos chain. However, I am facing a certain number of issues (tried a lot of solutions, but can't seem to make it work).
I am currently trying to tweak/test some new protocols. Using your explorer would be very helpful to see the behavior of these new protocols on smart contracts etc...
Could you please tell me the steps/modifications required to sync your explorer with any personal protocol ?
My first deployment :
A private chain built on the sandbox-parameters.json specifications with these modified parameters :
time_between_blocks : ["10", "30"]
"preserved_cycles": 2
"blocks_per_cycle": 64
*"proof_of_work_threshold": "70368744177663"
-> because the default-1
brings a conversion error when the explorer tries to synchronizeTo be more specific, here are my protocol parameters
This first trial resulted to short sync between your explorer and my node (after the genesis block) -> up to level 3/4
In order to be on the same page, and avoid wasting your time, here are the steps made :
Steps used to compile and run Tzindex
go build tzindex.go
./tzindex --profile-block tmp.txt run -c docker/config.json --host 192.168.193.124 --vvv
Command to run Tezos node
./tezos-node run --no-bootstrap-peers --rpc-addr *:8732 --expected-pow 1 -v -v --peer 192.168.193.123:9732 --connection=2
I have redirected the standard output to a file named sandbox_1_output.txt, to facilitate trace debug + enabled the
--profile-block option
, this one named tmpt.txtsandbox_1_output.txt tmp.txt
The error I get is
ERRO BLOC Unrecoverable error: runtime error: index out of range [0] with length 0
, but I can't seem to fix it. Do you have any idea ?The indexer only syncs until the third block, after, it stops because of the error (own opinion). The explorer API gives me :
http://127.0.0.1:8000/explorer/status
My second deployment
Exactly the same, but this time, I try to put the parameters of the current babylonet protocol :
The only difference resides, if I recall properly, in less errors : the indexer doesn't have this kind of errors (but I'm not sure) :
2019/12/18 13:57:36.754305 TRCE DATA query: rights table non-indexed field 't' for cond 1, fallback to table scan
Do you have any idea on how to solve this issue ?
Thanks, Guillaume