We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given I (the end user) have a fresh mixnode and I bond such mixnode with the relevant information
Then after successfully bonding the node. I attempt to bond another node with the same identity, I can overwrite the keys when using the nymd client.
Then, in the same fashion as using the Nym Wallet, I should be prevented from attempting to bond another mixnode until I unbond the existing one.
An example of a result from bonding another mixnode whilst supplying the same identity_keys.
ExecuteResult { logs: [Log { msg_index: 0, events: [Event { kind: "message", attributes: [Attribute { key: "action", value: "execute" }, Attribute { key: "module", value: "wasm" }, Attribute { key: "signer", value: "punk..." }, Attribute { key: "contract_address", value: "punk..." }] }, Event { kind: "transfer", attributes: [Attribute { key: "recipient", value: "punk..." }, Attribute { key: "sender", value: "punk..." }, Attribute { key: "amount", value: "1500000000upunk" }] }, Event { kind: "wasm", attributes: [Attribute { key: "contract_address", value: "punkaddress" }, Attribute { key: "overwritten", value: "true" }] }] }], transaction_hash: transaction::Hash(HASH) }
We should prevent this from happening because it may have the ability to lose bonding amounts.
The text was updated successfully, but these errors were encountered:
Steps to test:
The contract fails, and the user is not allowed to bond another node.
Attempting then to bond a gateway also fails in the contract execution:
Sorry, something went wrong.
jstuczyn
Successfully merging a pull request may close this issue.
Given I (the end user) have a fresh mixnode and I bond such mixnode with the relevant information
Then after successfully bonding the node. I attempt to bond another node with the same identity, I can overwrite the keys when using the nymd client.
Then, in the same fashion as using the Nym Wallet, I should be prevented from attempting to bond another mixnode until I unbond the existing one.
An example of a result from bonding another mixnode whilst supplying the same identity_keys.
We should prevent this from happening because it may have the ability to lose bonding amounts.
The text was updated successfully, but these errors were encountered: