hiero-ledger / hiero-ledger/hiero-consensus-node

address book (file 0.0.101) has incorrect endpoints and certHash registered in Solo environment

Open
#16,968 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
407
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

Description

v0.57.? - recently published as v0.57.0 in our performance testing environment by Alex.

docker run -it -v $(pwd):/launch gcr.io/hedera-registry/yahcli:0.4.1 -v TRACE -n localhost -p 2 -f 100000000 sysfiles download address-book 

output

...
{
  "entries" : [ {
    "nodeId" : 0,
    "certHash" : "<N/A>",
    "rsaPubKey" : "308201a2300d06092a864886f70d01010105000382018f003082018a0282018100c1a0ff5d2372b53d12d12bb87dd03f5e3427e0cee1d3c898bbd320c4b3dd17257944ea39a07f5344d9abfcdd50214072f1bbc12173fe7933d032c7d210734cc92d24be22b44cf50c2aa06f19bcd75180dc3e8dedd5ffcac02bf98721df9c3e79f20e9942cac9328b99160afea44d42c87b0147f3f29567085ed3f841dbe37aba35a2c5446bc638c62c703a6f680fa0601bfe7c6254e9fe2f471670ecdcca26128716a08f4141595ec0c4ac7ae589f37deede17480ecc1500f88335d0e33929725e8e4e775f3e4aa44c867bc86d3bf6d7165a4b766dd4ceb622221634a0a3d82840800b5b3e540640ea2f8c5749c3a6a0e0c474515c3f0ed9aadab8f84423a8954fd7f4e40b73125aeced4f791dba5052e3f5b3191a430f9b2dd30e4071cc54280c830da0d1e0dd54300c243ef08d9f81b3a90373f10910b6f4975bb2d861273993221e42b82b5af823267f79de90a7221129f0423724f9208a4ca15a73458c555e08e015db9d77c884acacaf4971d3854ea7bbdd9cfaf49df852c11473e96fa10203010001",
    "nodeAccount" : "0.0.3",
    "endpoints" : [ {
      "ipAddressV4" : "1.0.0.0",
      "port" : 1
    } ]
...
Steps to reproduce
╰─ docker run -it -v $(pwd):/launch gcr.io/hedera-registry/yahcli:0.4.1 -v TRACE -n localhost -p 2 -f 100000000 sysfiles download address-book                                                                   ─╯
Log level is TRACE
Targeting localhost, paying with 0.0.2
2024-12-06 15:49:52.219 INFO   226  SysFileDownloadSuite - -------------- STARTING SysFileDownload SUITE --------------
2024-12-06 15:49:52.246 INFO   48   MapPropertySource - Initializing a MapPropertySource from {fees.fixedOffer=100000000, fees.useFixedOffer=true, nodes=35.239.226.140:0.0.3, default.payer.pemKeyLoc=localhost/keys/account2.pem, default.node=0.0.3, default.payer=0.0.2}
2024-12-06 15:49:52.393 INFO   196  HapiApiClients - Constructed 20 new stubs building clients for HapiApiClients{node0=NodeConnectInfo{host=35.239.226.140, port=50211, tlsPort=50212, workflowPort=60211, workflowTlsPort=60212, account=0.0.3}, default=0.0.3}
2024-12-06 15:49:52.520 INFO   251  HapiQueryOp - 'downloadSysFiles' - Paying for COST_ANSWER of HapiGetFileContents{node=0.0.3, file=0.0.101, fileId=null} with body=transactionID { transactionValidStart { seconds: 1733500132 nanos: 261 } accountID { accountNum: 2 } } nodeAccountID { accountNum: 3 } transactionFee: 100000000 transactionValidDuration { seconds: 120 } memo: "\303\203\302\256\303\202\302\267\303\203\302\271tF8\303\202\302\256J\303\203\302\213\303\203\302\220\303\203\302\216" cryptoTransfer { transfers { accountAmounts { accountID { accountNum: 2 } } accountAmounts { accountID { accountNum: 3 } } } }; sigs=sigPair { pubKeyPrefix: "\n" ed25519: "[\357\365\2426\302.\033\276RK\271\233\223\240\220\214\336DN\211\346\345|=\274\327\320\314\322\231\033t\274\213\302\023\037)\374\033Qh\2478\336\300\005\333z\213u\245\351\350\367\031\366l\241\213v$\f" }
2024-12-06 15:49:52.740 INFO   273  HapiQueryOp - 'downloadSysFiles' - --> Node payment for HapiGetFileContents{sigs=1, node=0.0.3, file=0.0.101, fileId=fileNum: 101
} is 3 tinyBars.
2024-12-06 15:49:52.742 INFO   166  HapiQueryOp - 'downloadSysFiles' - Paying for HapiGetFileContents{sigs=1, node=0.0.3, file=0.0.101, fileId=fileNum: 101
} with body=transactionID { transactionValidStart { seconds: 1733500132 nanos: 263 } accountID { accountNum: 2 } } nodeAccountID { accountNum: 3 } transactionFee: 100000000 transactionValidDuration { seconds: 120 } memo: "\303\203\302\256\303\202\302\267\303\203\302\271tF8\303\202\302\256J\303\203\302\213\303\203\302\220\303\203\302\216" cryptoTransfer { transfers { accountAmounts { accountID { accountNum: 2 } amount: -3 } accountAmounts { accountID { accountNum: 3 } amount: 3 } } }; sigs=sigPair { pubKeyPrefix: "\n" ed25519: "*\302\306\365hy\372\327\225\264\330+\024\244\242v\324`\344\316\345\017I\027H\226\365\326I\240@H\345\246\216\243\362Qr\317\333\224\a@\374g\335\235\220(d\212\275\355\203m\245B$\004D\b\031\003" }
Downloading the address-book...OK
2024-12-06 15:49:53.867 INFO   236  HapiGetFileContents - Saved parsed contents of '0.0.101' to /launch/localhost/sysfiles/addressBook.json
2024-12-06 15:49:53.868 INFO   451  HapiSpec - 'downloadSysFiles' finished initial execution of HapiGetFileContents{sigs=1, node=0.0.3, file=0.0.101, fileId=fileNum: 101
}
2024-12-06 15:49:53.937 INFO   481  HapiSpec - 'downloadSysFiles' - final status: PASSED!
2024-12-06 15:49:53.939 INFO   276  SysFileDownloadSuite - -------------- STARTING SysFileDownload SUITE --------------
2024-12-06 15:49:53.939 INFO   277  SysFileDownloadSuite - -------------- RESULTS OF SysFileDownload SUITE --------------
2024-12-06 15:49:53.940 INFO   279  SysFileDownloadSuite - Spec{name=downloadSysFiles, status=PASSED}
.i. SUCCESS - downloaded all requested system files
Additional context

addressBook.json

Hedera network

other

Version

v0.57.0

Operating system

Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduced download of system file 0.0.101 and inspect the attached addressBook.json output for the Solo environment. Use the yahcli command in the issue to verify the address book; done means the registered endpoints and certHash are correct rather than 1.0.0.0, port 1, and <N/A>.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.