smartcontractkit / smartcontractkit/chainlink-starknet
Prefix all on-chain error messages with contract/namespace
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 60
- Forks
- 31
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 2
Description
We should prefix all error messages with contract/namespace like so:
with_attr error_message("Aggregator: Total amount due exceeds the balance"):
Originally posted by @krebernisak in https://github.com/smartcontractkit/chainlink-starknet/pull/146#discussion_r989988962
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
Search the on-chain error messages for the error_message pattern shown in the issue and identify the contract or namespace associated with each one. Update the messages to use the requested prefix, then verify that all on-chain errors follow the same format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100