nspcc-dev / nspcc-dev/neofs-node
Clearly write endianness of contract/transaction hashes in the user-facing output (log)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38
- Forks
- 51
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 38
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when user sees contract/transaction hash in the log and can only ask "what the endianness?". And even more frustrated when actual endianness differs from other Neo-based software like https://github.com/nspcc-dev/neo-go/.
Describe the solution you'd like
- decide what E to use. Neo Go uses LE, so it's worth to do the same
- write all user facing prints in this E, don't diverge formats
- clearly write what is printed to be completely sure (e.g.
"contract/transaction (LE)": "...")
with this, observer will definitely know what he sees. Even if he need an opposite E, there is neo-go util convert utility to help
Describe alternatives you've considered
i dont see ones
Additional context
take contract/transaction from NeoFS chain auto-deployment log and go neo-go query tx it 🏁
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the user-facing contract and transaction hash output, then compare it with the NeoFS chain auto-deployment log and neo-go query tx. Decide and document the endianness, update the relevant prints consistently, and verify that each displayed hash clearly labels its endianness.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100