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

Adding errors for state rent change #270

Merged
merged 3 commits into from
Mar 27, 2020

Conversation

ilblackdragon
Copy link
Member

At this point, keep old errors and just add new ones.
Note that our generation pipeline doesn't really support this, so no old classes anymore :(

Added README that actually explains how to re-generate error classes.

Copy link
Contributor

@lexfrl lexfrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ilblackdragon ilblackdragon merged commit 931f82a into near:master Mar 27, 2020
@ilblackdragon ilblackdragon deleted the state-rent-errors branch March 27, 2020 18:21
nearprotocol-bulldozer bot pushed a commit to near/nearcore that referenced this pull request Mar 30, 2020
Addresses spec change near/NEPs#41

Associated PR to change nearlib errors - near/near-api-js#270

Test plan
---------
All runtime tests pass (removing ones that don't make sense)
Tests that remove account when it's under funded still work as expected.
TODO: add test for creation w/o funds + transfer and deletion of under funded account.
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