Skip to content

Conversation

@KillariDev
Copy link
Contributor

No description provided.

Base automatically changed from cleanup-type to main December 29, 2025 10:57
},
serialize: value => {
if (typeof value !== 'bigint') return { success: false, message: `${typeof value} is not a bigint.`}
if (value < 0n) return { success: false, message: `${typeof value} is not a non negative bigint.`}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that in the primary consensus protocol there are no negative numbers, but are there really no negative numbers anywhere in the Ethereum JSON-RPC?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not ones that are hex encoded, if there are, there's no standard to encode negative hex numbers I think

@KillariDev KillariDev merged commit 1d813d6 into main Dec 30, 2025
1 check passed
@KillariDev KillariDev deleted the checkups branch December 30, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants