-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
9234fdf
to
d63f594
Compare
5ad71e0
to
e80f7d2
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as @alfetopito |
Changes LGTM!
Thanks! |
50064c1
to
76b36ea
Compare
34977ff
to
d2a8e4f
Compare
It can happen, this comes from the fact we have two different datasources for these two things. It's possible the Safe API has some delay sometimes. I wrote it in #1305 so we can iterate and see if we can do something to improve it. One solution is to hide the signatures information if the tx is executed. |
It's a fair request, but I would not do it only because we will remove very soon the clear activity button. @alfetopito killed that in his "load orders from API" PRs
I think is related to leandro's comment. There might be a delay. We depend on Gnosis Safe reporting the signature. Eventually it should appear. Probably we could remove also the signer information if it's canceled...
good catch. Will address this.
Also good catch. Will also review this one. |
Hey @anxolin , But still I see changing number of safe owners for the past/opened transactions and still see 0 of 1 signers for the case when there is only 1 signer in the safe Could we show '1 of 1 signers' (or 2 of 2) message (as you implemented for the case when transaction is waiting for the execution) when an order is signed and is being executed at the moment? |
It shouldn't be the case. Those changes were done in this other one: #1694 All the other comments, looks like all my latest changes were not applied. I will try to reproduce... |
In local, I see it works, but the demo URL doesn't have the latest changes |
Yes, I like that idea. Nonce and link to the safe should be enough once tx is executed. |
Hey @anxolin , thank you! I have been able to retest the recent changes.
As for cases when there is only 1 signer in the Safe, I see a message that there is no signatures yet, but I have signed and executed the order And, this flow seems to be a bit complicated:
I'd suggest to make it a bit easier:
|
Okay, yes not from this PR. Taking note, will handle that, although we don't have capacity for that one right now. Thanks for bringing it up anyways.
This was handled in that PR
Same case I believe
Agree, similar to what was implemented in the other PR. |
[Safe] Handle the case: Enough signatures, but not transaction
@anxolin could @alfetopito 's reported issue be similar to the one I had? In my case it seemed to not update the signatures/execution because of having a backlog of pending orders on my Rinkeby Safe. |
Transaction/Orders styles update.
hey @anxolin , I have just retested all the changes. and they look good to me! |
@michelbio , by seeing his screenshot, i feel he was using an outdated UI, cause his order is FILLED and still shows the orders signature information, but it should look like my screenshot. |
@elena-zh , @biocom did some fix to the styles and should be in this branch... however I see the changes were not applied. there must be an issue with the auto-deployment. I will see if spot the issue, this is very inconvenient |
I will merge to develop this one, to not waterfall changes. @biocom will review why the merge of his PR didn't apply all the changes and address any possible issue in develop directly If anyone has new concerns, I will address in a new PR to not complicate further this one |
Might be, but I can't reproduce anymore in this PR because of the 24h history limitation 😅 |
* handle insufficient input amount error in mint/hooks * use error.isInsufficientInputAmountError * fixed typo
Summary
Edited 26/10/2021
I added a more fine grained message now.
It will show different messages depending on the state of the transaction, and the number of signers.
Checkout the messages here:
https://github.com/gnosis/cowswap/pull/1652/files#diff-f591f447e126d570bf5ffdc1f646a7826958496985659162101b05fe999b1f53R69
Original
Continue with #1651 to show a Gnosis Safe context also for Swaps
This PR displays the Gnosis Safe tx context for a swap (note that before this PR only approve/wrap/unwrap transactions would have this)
Also, it strikes through the label that informs about the missing signatures in the case of orders that are canceled/expired.

Scope
Doesn't include all the fixes for bugs reported in other PRs. We will address them independently. The scope of this PR is to display the current context on the swap for Gnosis Safe transactions.
To Test