Skip to content

Conversation

microbecode
Copy link
Contributor

Suggestion for a new standard.

This standard proposes a way to encode the combination of a chain ID and a transaction hash into one string.

P.S. Resubmitting as a new PR (old closed PR at #1035) to try if the automatic file check passes this time.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented May 11, 2025

File ERCS/erc-7950.md

Requires 1 more reviewers from @g11tech, @SamWilsn, @xinbenlv

@eip-review-bot eip-review-bot changed the title Erc encode idhash Add ERC: Encode chain id with transaction hash May 11, 2025
@microbecode
Copy link
Contributor Author

The automatic file name check keeps failing, but I don't understand why. My file is not named like the error claims and the format should be ok (the name is "erc-encode-idhash.md").

@github-actions github-actions bot added the w-ci label May 11, 2025

An example for a transaction with hash `0xc55e2b90168af6972193c1f86fa4d7d7b31a29c156665d15b9cd48618b5177ef` that was issued on chain ID `1` is: `1:0xc55e2b90168af6972193c1f86fa4d7d7b31a29c156665d15b9cd48618b5177ef:tx`.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 and RFC 8174.

Choose a reason for hiding this comment

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

You can take this out

Copy link
Contributor Author

@microbecode microbecode May 13, 2025

Choose a reason for hiding this comment

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

You mean the second part about MUST etc? I don't think I should remove the example.

@github-actions github-actions bot added w-ci and removed w-ci labels May 21, 2025
microbecode and others added 2 commits May 22, 2025 15:45
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
@github-actions github-actions bot removed the w-ci label May 22, 2025
@microbecode microbecode changed the title Add ERC: Encode chain id with transaction hash Add ERC-7950: Encode chain id with transaction hash May 22, 2025
@eip-review-bot eip-review-bot changed the title Add ERC-7950: Encode chain id with transaction hash Add ERC: Encode chain id with transaction hash May 22, 2025
@microbecode
Copy link
Contributor Author

It was suggested to switch this to the EIP side. Added a new PR here. will close this once that PR gets processed.

Copy link

The commit 669d585 (as a parent of a60c144) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label May 22, 2025
@microbecode
Copy link
Contributor Author

Replaced by ethereum/EIPs#9804

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants