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

Re-routing user after a contract self destruct #10

Open
Amit-Weiss opened this issue Oct 31, 2018 · 1 comment
Open

Re-routing user after a contract self destruct #10

Amit-Weiss opened this issue Oct 31, 2018 · 1 comment
Labels
bug Something isn't working difficulty: medium

Comments

@Amit-Weiss
Copy link
Collaborator

After a channel is closed, we perform a self destruct to its contract. Due to that, we cannot re-route to the "show" page, since the contract no longer exists and it will show nothing.
This issue needs to be addressed, because we still want the user to view data for at least a little after.

@Amit-Weiss Amit-Weiss added bug Something isn't working difficulty: medium labels Oct 31, 2018
@Amit-Weiss
Copy link
Collaborator Author

Using the new template for bugs

Describe the bug
After a channel is closed, we perform a self destruct to its contract. Due to that, we cannot re-route to the "show" page, since the contract no longer exists and it will show nothing.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Deposit contract, follow all the stages up to (and including) closing the channel.
  2. Through the manage as initiator/counterpart page try to draw the remaining balance.
  3. Observe you stay on the same page.
  4. When you try to enter the URL to the show page of the contract you will not be able to do so.

Expected behavior
We expect to see the contract as closed and funds withdrawn, to know that everything went as expected.

Desktop (please complete the following information):

  • Browser: Firefox, Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working difficulty: medium
Projects
None yet
Development

No branches or pull requests

1 participant