-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core-magistrate-crypto): add ports to bridgechain registration/update #3255
feat(core-magistrate-crypto): add ports to bridgechain registration/update #3255
Conversation
This pull request introduces 1 alert when merging d22db35 into 0663b0f - view on LGTM.com new alerts:
|
35366ed
to
5993880
Compare
c849390
to
4cbcb56
Compare
1c65914
to
71ee195
Compare
c681117
to
c7c237f
Compare
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.
We need a devnet-only milestone to not need to rollback again. Can you add one like we already did for invalid timestamps?
In other words we need to skip the new serde when on devnet and some milestone constant (e.g. skipBridgechainPortSerialization
) is set. Like here:
https://github.com/ArkEcosystem/core/blob/develop/packages/crypto/src/blocks/block.ts#L230
And to get around the new schema we can simply use the exceptions.json where most bridgechain transactions already got added.
Sure, I'll have a look as soon as possible. |
#3258 might require a rollback - is that up for discussion at the moment after all? |
A collaborator has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution! |
A collaborator has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution! |
Your pull request has been merged and marked as tier 2. It will earn you $100 USD. |
Summary
Adds a
ports
property to the bridgechain transaction types. This property holds an object with plugin names as keys, and port numbers as values like theports
property on peers. For the time being the only allowed plugin to be included is@arkecosystem/core-api
.Checklist