Skip to content
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

Remove account deletion completely in state staking #55

Merged
merged 2 commits into from
Apr 2, 2020

Conversation

ilblackdragon
Copy link
Member

As per discussion here https://github.com/nearprotocol/nearcore/pull/2272/files#r400395129, there is no way to create account without enough funds. Hence, the only other reason is slashing and we are ok with slashed accounts be hanging there (this user paid to the system really).

@ilblackdragon ilblackdragon merged commit a38e187 into master Apr 2, 2020
@ilblackdragon ilblackdragon deleted the fix-state-staking branch April 2, 2020 21:19
evgenykuzyakov pushed a commit that referenced this pull request Jun 5, 2020
Fixes: near/core-contracts#47
Fixes: near/core-contracts#49

### Changelog `0.2.0`

- Introduce storage deposits. Make every method payable. Require caller to attach enough deposit to cover potential storage increase. See [core-contracts/#47](near/core-contracts#47)
- Replace `set_allowance` with `inc_allowance` and `dec_allowance` to address the issue of allowance front-running. See [core-contracts/#49](near/core-contracts#49)
- Validate `owner_id` account ID. See [core-contracts/#54](near/core-contracts#54)
- Enforce that the `new_owner_id` is different from the current `owner_id` for transfer. See [core-contracts/#55](near/core-contracts#55)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants