-
Notifications
You must be signed in to change notification settings - Fork 182
Conversation
@sirano11 Could you explain what you've changed in addition to bringing the original Ethereum code? |
@kjhman21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@aidan-kwon Please take a look.
I tested encoding/decoding |
Co-authored-by: Jang Hyung Kyu <pepper.jang@krustuniverse.com>
Based on this big change, could you describe how you tested compatibility tests? For example:
As you know better than I, the RLP is widely used in the existing functionalities (e.g., network, DB, etc.). The facts seem to be required that this new change perfectly works in all the places used if the fundamental rules of RLP are still preserved (The rules seem preserved in my view) . |
Could you take a look again entirely the imported license? (some of the files seems not updated and even not imported) |
Because it already exists a test about rlp encoding / decoding, i think it is enough to check compatiblility with testing existed test case.
These changes will be contained hardfork update, it means that all node must update new klaytn version which contains these changes.
Only files that I have modified (eg, change of import path) have modified the license, and files that have not been modified do not change the license part. |
Okay. Then please describe this change is for the hardfork update so that similar questions would not be popped.
All the current test units call the newly replaced RLP encoding/decoding methods. I was concerned the surprising difference in encoding and decoding between the old one and your change may lead to wrong encoding/decoding result.
Even if its change is for the hardfork, EN/PN binaries must be updated since its change is not bounded to consensus/governance.
Hope to hear your comment again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sirano11, Could you post an issue and address the unexpected cases such as https://github.com/klaytn/klaytn/pull/1385/files#diff-0307e7f9d52cb5d1be9e58e3ed38f13060d2b28e85617df74aed30b08a720445L239-R353? |
Proposed changes
For using "optional" struct tag, ported latest go-ethereum/rlp package.
Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)Related issues
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...