Skip to content

Conversation

@Doryu001
Copy link
Contributor

@Doryu001 Doryu001 commented Nov 17, 2025

drop the trailing comma after the "outputs": [] array so the snippet becomes valid JSON

@Doryu001 Doryu001 requested a review from eth-bot as a code owner November 17, 2025 21:30
@github-actions github-actions bot added c-update Modifies an existing proposal s-stagnant This EIP is Stagnant t-interface labels Nov 17, 2025
@eth-bot
Copy link
Collaborator

eth-bot commented Nov 17, 2025

File EIPS/eip-7896.md

Requires 1 more reviewers from @frangio

@eth-bot eth-bot added the a-review Waiting on author to review label Nov 17, 2025
@eth-bot eth-bot changed the title Fix JSON syntax in EIP-7896 ABI example Update EIP-7896: Fix JSON syntax in EIP-7896 ABI example Nov 17, 2025
"version": "abi-v1",
"spec": [
{
"type": "function"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this redundant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The type field defaults to "function" per the ABI spec, so it's redundant when the item is a function. I removed it to simplify the example, but happy to restore it if you think explicit is better here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please add it back for clarity.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Restored "type": "function" in the example.

@g11tech
Copy link
Contributor

g11tech commented Nov 20, 2025

will let the author take a call on this first

Copy link
Contributor

@g11tech g11tech left a comment

Choose a reason for hiding this comment

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

lgtm for just dropping the trailing , to make it a valid json

@frangio
Copy link
Contributor

frangio commented Dec 4, 2025

Superceded by #10871 as there was another error in JSON that wasn't fixed in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a-review Waiting on author to review c-update Modifies an existing proposal s-stagnant This EIP is Stagnant t-interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants