T2972
Parse XEC send txs and include a summary of them in tg msgs
Differential D13782
[herald] Parse XEC send txs bytesofman on Apr 25 2023, 23:02. Authored by
Details
T2972 Parse XEC send txs and include a summary of them in tg msgs npm test
Diff Detail
Event TimelineComment Actions There is no test for the new parsing feature
Comment Actions responding to feedback
Comment Actions The JSON.stringify(blocksMock, null, 2) does not preserve Map or Set types and requires modification Comment Actions Build Bitcoin ABC Diffs / Diff Testing (ecash-herald-tests) failed.
Tail of the build log: /work/apps/ecash-herald /work/abc-ci-builds/ecash-herald-tests npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 435 packages, and audited 436 packages in 3s 86 packages are looking for funding run `npm fund` for details 4 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. > ecash-herald@1.0.0 test > mocha --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/ecash-herald-junit.xml --reporter-options testsuitesTitle=Ecash Herald Unit Tests --reporter-options rootSuiteTitle=Ecash Herald ----------------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------- All files | 96.13 | 85.32 | 93.75 | 96 | ecash-herald | 100 | 100 | 100 | 100 | config.js | 100 | 100 | 100 | 100 | ecash-herald/src | 96.12 | 85.32 | 93.75 | 95.98 | chronikWsHandler.js | 93.75 | 100 | 66.66 | 93.75 | 19 events.js | 82.6 | 80 | 100 | 82.6 | 29,50-54,71 main.js | 81.81 | 80 | 100 | 81.81 | 43-49 parse.js | 98.12 | 82.5 | 100 | 98.03 | 152,193-196 telegram.js | 100 | 100 | 100 | 100 | utils.js | 100 | 100 | 100 | 100 | ----------------------|---------|----------|---------|---------|------------------- ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='249'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='259'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='93'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='109'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='15'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='16'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='240'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='250'] ##teamcity[blockClosed name='Code Coverage Summary'] Build ecash-herald-tests failed with exit code 1 Comment Actions Update mocks. Looked at dropping unused key param from replace, revive functions, can't do it
Comment Actions remove extra lookup in maps
|