archethic-foundation / archethic-foundation/archethic-node

Improve logging

Open
#1,000 3 comments 0 reactions 0 assignees View on GitHub
feature quality
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem?

Actually there is a lot of logs and some are not really readable or not relevant like this
![image](https://user-images.githubusercontent.com/26260538/234594953-3a4576e3-b79b-4c1f-be74-5e530d3a38b1.png)

### Describe the solution you'd like

We should first encode in hex the values that can be (address, signature ...) and remove the not relevant values like proof of election or proof of work etc..
We can create a function `Transaction.to_log()`

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing where transaction values are currently logged and inspect the proposed Transaction.to_log() entry point. Compare the existing output with the reported example; done means relevant values such as addresses and signatures are encoded in hex and unrelated proof values are omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
blockchain
Issue type
Feature
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.