rippled
rippled copied to clipboard
Simplify processing and verifying signer lists:
I am trying this PR again.
The commit reduces the scope of the signer list parsing code to the Transactor and simplifies the SetSignerList transactor. It introduces an amendment because it requries the signer list to be ordered when submitting transactions that modify the list.
High Level Overview of Change
Context of Change
Type of Change
- [X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [X] Tests (You added tests for code that already exists, or your new feature included in this PR)
Thanks for resubmitting the PR. I'll try to get to this later this week.
Edit: Sorry, I don't have time to get to this right now. But rather than let it wait another developer offered to review it in my place.
I don't think it makes sense to require the signer list to be ordered when submitting transactions that modify the list.
As @thejohnfreeman suggested, each new amendment carries some cost. Additionally, this change could cause some previously-valid transactions to become invalid. So it also affects external tooling that manages Signers, likely requiring updates to other projects outside of rippled.
Next steps:
- If there is a benefit to simplifying the code in this way, what exactly is that benefit?
- Consider modifying the proposed change such that no amendment is required, and no previously-valid transactions would become invalid.
We welcome your contributions. Thanks again for opening this PR.
I think that the requirement of sorting the list helps ensure a canonical repreesntation of the transaction but it would require the change in all librries so yes you are right not a good idea to do it. I can change that but many of my changes get stuck and nothing happens with them which is annoying thing.
I had reviewed this 4 days after it was submitted, and none of the questions were addressed in over a year. Why is it stuck?
(notes: not ready to merge; waiting for response from author)
If we don't hear from @a-noni-mousse in 1 month, we'll close this.
Closing due to inactivity. @a-noni-mousse if you'd like to return to this PR, feel free to re-open or open a new PR.