Olanetsoft/web3terms

Refactor: Remove duplicated web3 terms

frankiefab100 opened this issue · 3 comments

I noticed some web3 terms were repeated.
Eliminating the first instance should fix this.

See Screenshot:

L2
web3terms-terms-json-GAS FEES

node
web3terms-terms-json-NODE

gas fees
web3terms-terms-json-at-develop-·-frankiefab100-web3terms

In the case of sha256 and sha-256. This could be a variance.

web3terms-terms-json-SHA256

Thanks for spotting this @frankiefab100 can we work on something to automate this fix?

@Qudusayo can this be validated with a test case?

Thanks for spotting this @frankiefab100 can we work on something to automate this fix?

@Qudusayo can this be validated with a test case?

Yeah, that's a better solution. But I don't have any idea about it.

Thanks for spotting this @frankiefab100 can we work on something to automate this fix?

@Qudusayo can this be validated with a test case?

Yes sure, it can. It will check for repetition according to the term name and prompt the user for a fix if any name is duplicated.