-
Notifications
You must be signed in to change notification settings - Fork 50
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
[DKG whiteboard] Restriction on broadcast #283
Comments
AFAIK, we won't be able to change the name of the contract because that is an incompatible upgrade
This should be fine to upgrade
This'll be difficult because it would require adding a new field to the contract, which is an incompatible upgrade. There is a workaround for this, but it is pretty awkward. What is limit were you thinking about setting? And is there another way to enforce it? (Transaction fees would prevent a node sending too many, but I don't know what your limit would be) |
I only meant the name of the
It's not sure we would like to implement this, as our code may send some transactions twice to the whiteboard and we don't want to censor the last messages. Let's wait for Jordan and I to confirm the need for this first before thinking further. |
I don't like having contract file names that are different than the contract names themselves, so I would prefer to avoid this. I don't think it'll make much of a difference |
Fair enough. I'll make a PR to add clarifying comments about the contract is used for in DKG. Issue description updated. |
@jordanschalm The changes in #441 didn't address any of the points in here, right? It doesn't look like it did, but I just want to make sure I'm understanding it right. Not a problem if not. |
No it didn't - this should still be open. |
Context
The contract allows participating nodes to broadcast as many and as long data as they want. This issue is about adding restrictions to the messages sent on the whiteboard to avoid malicious behaviour:
Definition of Done:
@tarakby
@joshuahannan
rename the contract file to FlowDKGWhiteboard to avoid the confusion of thinking we're implementing DKG logic on chain.Renaming is not possible, a clarifying comment will be added instead.The text was updated successfully, but these errors were encountered: