Skip to content

Commit

Permalink
fix destination address in DharmaAccountRecoveryMultisig.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Nov 6, 2019
1 parent 9e640c0 commit 26a8a72
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/multisigs/DharmaAccountRecoveryMultisig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract DharmaAccountRecoveryMultisig {

// The Account Recovery Manager is the only account the multisig can call.
address private constant _DESTINATION = address(
0x00000000003709EDEA9182789f1153E59CFe849e
0x00000000004cDa75701EeA02D1F2F9BDcE54C10D
);

// The threshold is an exact number of valid signatures that must be supplied.
Expand Down
4 changes: 2 additions & 2 deletions contracts/registries/DharmaKeyRegistryV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import "../../interfaces/DharmaKeyRegistryInterface.sol";
* Otherwise, it will return the specific signing key. Additional view functions
* are also provided for retrieving public keys directly. Only the owner may
* update these keys. Also, note that the V2 key registry includes an additional
* mapping to track all global keys that have been used, and only allows a given
* global key to be set one time.
* mapping to track all keys that have been used, and only allows a given key to
* be set one time.
*/
contract DharmaKeyRegistryV2 is TwoStepOwnable, DharmaKeyRegistryInterface {
using ECDSA for bytes32;
Expand Down
9 changes: 9 additions & 0 deletions scripts/test/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ let DharmaKeyRingFactoryV2Artifact;
const DharmaUpgradeMultisigArtifact = require('../../build/contracts/DharmaUpgradeMultisig.json')
const DharmaAccountRecoveryMultisigArtifact = require('../../build/contracts/DharmaAccountRecoveryMultisig.json')
const DharmaKeyRegistryMultisigArtifact = require('../../build/contracts/DharmaKeyRegistryMultisig.json')
const DharmaTestingMultisigArtifact = require('../../build/contracts/DharmaTestingMultisig.json')


const DharmaSmartWalletImplementationV0Artifact = require('../../build/contracts/DharmaSmartWalletImplementationV0.json')
const DharmaSmartWalletImplementationV1Artifact = require('../../build/contracts/DharmaSmartWalletImplementationV1.json')
Expand Down Expand Up @@ -213,6 +215,13 @@ module.exports = {test: async function (provider, testingContext) {
DharmaKeyRegistryMultisigArtifact.bytecode
)

const DharmaTestingMultisigDeployer = new web3.eth.Contract(
DharmaTestingMultisigArtifact.abi
)
DharmaTestingMultisigDeployer.options.data = (
DharmaTestingMultisigArtifact.bytecode
)

const DharmaUpgradeBeaconControllerDeployer = new web3.eth.Contract(
DharmaUpgradeBeaconControllerArtifact.abi
)
Expand Down

0 comments on commit 26a8a72

Please sign in to comment.