klaytn / rosetta-klaytn

Apache License 2.0
4 stars 6 forks source link

Added configurations for Klaytn #35

Closed aeharvlee closed 2 years ago

aeharvlee commented 2 years ago

.run directory contains cofigurations for GoLand. That files will be placed in Run/Debug configurations.

Update cli configurations for testing Cypress, Baobab, and Local testnet.

FYI.

I ran rosetta-klaytn server based on this PR and tested it with rosetta-cli, but there are some issues while testing it.

Failed testing log:

2022/04/07 11:16:25 Finished syncing 1-50
2022/04/07 11:16:25 check:data status server shutting down
[MEMORY] Heap: 4001.762856MB Stack: 1.218750MB System: 4150.249016MB GCs: 3
draining reconciler backlog (you can disable this in your configuration file)
[PROGRESS] remaining reconciliations: 6
Reconciliation failed for 0x0000000000000000000000000000000000000000 at 3 computed: 6912000000000000000KLAY live: 0KLAY
Reconciliation failed for 0x4B2c736fd05C2e2da3CcBD001a395a444F16A861 at 3 computed: 9792000000000000000KLAY live: 28800000000000000000KLAY
Reconciliation failed for 0x4B2c736fd05C2e2da3CcBD001a395a444F16A861 at 4 computed: 13056000000000000000KLAY live: 38400000000000000000KLAY

Error: reconciliation failure: active reconciliation error for 0x0000000000000000000000000000000000000000 at 3 (computed: 6912000000000000000KLAY, live: 0KLAY)

I guess that issue may come from "rewarding distribution" logic or something.

related to https://github.com/klaytn/rosetta-klaytn/issues/18

jimni1222 commented 2 years ago

I can run test code to figure out errors. Thank you for configuration :)