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

feat: add restore-account-contract command #2561

Merged
merged 4 commits into from
Jun 27, 2022

Conversation

esaminu
Copy link
Contributor

@esaminu esaminu commented Mar 30, 2022

Adds a command to utilities package to restore an account's code to a given blockHash.

Together with the disable-2fa command added in #2533 , this closes #2496

@Eki08
Copy link

Eki08 commented Apr 18, 2022

Recovery wallet sultan.08 to 634357ff1aef531e64ba63774dac27e01656c8fe5e19814a92306053d65eec3c

@esaminu esaminu force-pushed the WAL-111-test-the-unblock-script-on-an-intentionally-bricked-account branch from 978a412 to 11d3b4d Compare June 27, 2022 20:00
@esaminu esaminu force-pushed the WAL-165-2-fa-recovery-script branch from e209817 to 57cc2fd Compare June 27, 2022 20:08
@esaminu
Copy link
Contributor Author

esaminu commented Jun 27, 2022

This PR only implements code restoration to a given blockHash. Full code and state restoration is only possible once near/core-contracts#208 is merged

@esaminu esaminu marked this pull request as ready for review June 27, 2022 20:26
@esaminu esaminu force-pushed the WAL-165-2-fa-recovery-script branch from f51da36 to 4d61b08 Compare June 27, 2022 20:33
Copy link
Contributor

@MaximusHaximus MaximusHaximus left a comment

Choose a reason for hiding this comment

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

👍 The end of an era! ;)

Base automatically changed from WAL-111-test-the-unblock-script-on-an-intentionally-bricked-account to master June 27, 2022 21:27
@esaminu esaminu merged commit a8974d0 into master Jun 27, 2022
@esaminu esaminu deleted the WAL-165-2-fa-recovery-script branch June 27, 2022 21:29
@andy-haynes andy-haynes mentioned this pull request Jun 28, 2022
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.

Disable 2FA script question
3 participants