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

v1.9.4 #754

Merged
merged 13 commits into from
Apr 9, 2020
Merged

v1.9.4 #754

merged 13 commits into from
Apr 9, 2020

Conversation

mmv08
Copy link
Member

@mmv08 mmv08 commented Apr 9, 2020

Bugfixes:

mmv08 and others added 13 commits April 3, 2020 19:23
* Fix invalid V with metamask/ledger

* DONT FORGET TO REVERT BEFORE MERGING: test deployment

* DONT FORGET TO REVERT BEFORE MERGING 2: test deployment

* Revert "DONT FORGET TO REVERT BEFORE MERGING 2: test deployment"

This reverts commit 8331f2a.

* Revert "DONT FORGET TO REVERT BEFORE MERGING: test deployment"

This reverts commit 03b81e3.
* cache every used provider, not only injected one

* package json update
* refactor: Set success status to `201` (CREATED)

* refactor: return `null` when there's no latestTx
* feature: action/reducer to UPDATE_SAFE_NONCE

* refactor: when processing txs returned from backend, extract latest tx nonce value and store it in the safe's state

* chore: update `yarn.lock`

* refactor: `UPDATE_SAFE_THRESHOLD` and `UPDATE_SAFE_NONCE` discarded in favor of `UPDATE_SAFE`

* refactor: use `SAFE_REDUCER_ID` constant

* refactor: remove `updateSafeNonce` file
* fix: change the order of the upgrade methods lookup

The `isUpgradeTransaction` method was looking for the methods in an wrong order (#599).
The proper order was set in #610, but `isUpgradeTransaction` wasn't updated.

* fix: contract upgrade version lookup
…742)

* Use eth_sign for hardware wallets

* install onboard.js with fix from forked repo

* rebuild yarn.lock to fix cached onboard

* update bnc-onboard
* fix: Display new threshold value when changing its value

There was a typo for the `changeThreshold` action

fixes #746

* refactor: use a constant for safe methods names
Previously we were looking for `decimals` hash in the contract `code`.
There are some contracts like USDC who happen to be behind a FiatTokenProxy, making it upgradable.
By directly calling the `decimals()` method, we interact with the contract and can be sure that the `decimals()` method is present.

fixes #678
* don't use getLastTxNonce to fetch safe nonce

* fetch safe nonce in checkAndUpdateSafe

* checkAndUpdateSafe refactor

* remove nonce update logic from UPDATE_SAFE reducer

* handle the case when localSafe returns undefined

* handle the case when localSafe returns undefined in buildTransactionFrom

* bump package json version to 1.9.4
@ghost
Copy link

ghost commented Apr 9, 2020

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

@lukasschor lukasschor self-requested a review April 9, 2020 14:20
Copy link
Member

@lukasschor lukasschor left a comment

Choose a reason for hiding this comment

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

Smoke test:

  1. Created 2oo2 Safe
  2. Added 3rd owner
  3. Changed threshold to 1oo3
  4. Received ERC-20 (cETH)
  5. Sent ERC-20 (cETH)

no issues found

@mmv08 mmv08 merged commit 4aeb5df into master Apr 9, 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.

3 participants