Fix metadata JSON "version" field being a string

Should be a number
This commit is contained in:
Kaan Uzdoğan 2023-04-26 17:38:13 +02:00 committed by GitHub
parent 302d46c1e6
commit 816f6ec175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ explanatory purposes.
}
},
// Required: The version of the metadata format
"version": "1"
"version": 1
}
.. warning::
@ -289,4 +289,4 @@ or settings would result in a different metadata hash. The metadata here serves
as a fingerprint of the whole compilation.
`Sourcify <https://sourcify.dev>`_ makes use of this feature for "full/perfect verification",
as well as pinning the files publicly on IPFS to be accessed with the metadata hash.
as well as pinning the files publicly on IPFS to be accessed with the metadata hash.