Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

(Fix) - #1154 Add more owners on safe creation#1583

Merged
Agupane merged 26 commits intodevelopmentfrom
feature/#1154-add-more-owners-safe-creation
Nov 17, 2020
Merged

(Fix) - #1154 Add more owners on safe creation#1583
Agupane merged 26 commits intodevelopmentfrom
feature/#1154-add-more-owners-safe-creation

Conversation

@Agupane
Copy link
Contributor

@Agupane Agupane commented Nov 10, 2020

Closes #1154 by:

  • Fixing the uniqueAddress function that was checking if there are repeated values within an array
  • Also refactored the accepted type of that function from addresses: string[] | List<string> to addresses: string[]
  • Added some missing types and removed unused props on the SafeOwnersPage component
  • Also added types in OwnerForm component

@Agupane Agupane self-assigned this Nov 10, 2020
@github-actions
Copy link

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link

github-actions bot commented Nov 10, 2020

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 17 0
Ignored 2 N/A
  • Result: ✅ success

  • Annotations: 17 total


[warning] @typescript-eslint/explicit-module-boundary-types

Require explicit return and argument types on exported functions' and classes' public class methods


Report generated by eslint-plus-action

…to feature/#1154-add-more-owners-safe-creation

# Conflicts:
#	src/components/forms/validator.ts
@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 11, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 12, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@francovenica
Copy link
Contributor

https://pr1583--safereact.review.gnosisdev.com/rinkeby/app/#/open

Issue:
More than 10 owner still show the message "Address already introduced" in almost all of the new fields except for the first two and the last one
Also When having all those address filled, when one is deleted with the trashcan icon all the fields show the "Already introduced" error
image.png

Copy link
Contributor

@francovenica francovenica left a comment

Choose a reason for hiding this comment

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

See Previous comment

@ghost
Copy link

ghost commented Nov 13, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@ghost
Copy link

ghost commented Nov 13, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@Agupane
Copy link
Contributor Author

Agupane commented Nov 13, 2020

Seems that the build was out of date, I ran the build again and seems working, please check it out @francovenica

@Agupane Agupane requested a review from francovenica November 16, 2020 13:21
@francovenica
Copy link
Contributor

I was able to create a safe with 11 owners with no problem

https://pr1583--safereact.review.gnosisdev.com/rinkeby/app/#/safes/0x55632A8d8448AA617Bf24508a7CC5708b73C878d/settings

Note: I found other weird behaviors as you paste/duplicate addresses or delete rows, but those are issues that outside of what this ticket was about. I'll report those separately

@ghost
Copy link

ghost commented Nov 16, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

@ghost
Copy link

ghost commented Nov 16, 2020

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

@Agupane Agupane merged commit 3875195 into development Nov 17, 2020
@Agupane Agupane deleted the feature/#1154-add-more-owners-safe-creation branch November 17, 2020 12:34
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not possible to add >10 Owners during safe creation

5 participants