Common functionality used by smart contracts and the host environment on the Concordium blockchain.
Mozilla Public License 2.0
10
stars
10
forks
source link
Fix schema JSON deserialization of signed integers #77
Closed
olexander-movchan closed 1 year ago
Purpose
This PR fixes schema JSON deserealization of signed numbers.
Changes
.as_u64()
was used to parse signed numbers, which caused a failure when supplied with a negative value. This was replaced by.as_i64()
.Checklist
CLA acceptance
By submitting the contribution I accept the terms and conditions of the Contributor License Agreement v1.0
link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf
[x] I accept the above linked CLA.