Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

IS-1120: prevalidate a tx more strictly 2 #525

Merged
merged 11 commits into from
Oct 27, 2020

Conversation

endlessgate
Copy link
Contributor

@endlessgate endlessgate commented Oct 13, 2020

Pre-validation with strict for entered transaction request

Update

  • Version check
    • Support v3 protocol only
    • Field check
  • Int-type check
    • Not allow uppercase character in hex string
    • Malformed number string: "0x03", "0x0003", "3"
  • Address-type check
    • Malformed address format: "hx1234", "0xqw1234", "cxFEAC"
    • Invalid format check
  • Required parameters check
  • Pre-validate processing in icon-service

* Malformed number string
* Not allow uppercase character
* Malformed address
* v3 protocol only
* Required fields check
@endlessgate endlessgate requested a review from a team October 13, 2020 03:02
@endlessgate endlessgate self-assigned this Oct 13, 2020
@endlessgate endlessgate merged commit 749c2d2 into develop Oct 27, 2020
@endlessgate endlessgate deleted the IS-1120-prevalidate-a-tx-more-strictly-2 branch October 27, 2020 06:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants