forked from aragon/aragon-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade aragonOS dependency For Vault, Agent and Finance. To fix Istanbul related issues. See https://github.com/aragon/aragonOS/releases/tag/v4.3.0 for more context. * payroll: fix gas values in tests * agent: fix tests `isValidSignature` was calling the `bytes` version due to overloading issue with Truffle. * Fix CI, address PR aragon#1172 comments
- Loading branch information
ßingen
authored
Jun 17, 2020
1 parent
9a1a45d
commit 593549a
Showing
7 changed files
with
46 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pragma solidity ^0.4.24; | ||
|
||
import "../../Agent.sol"; | ||
|
||
|
||
contract AgentMock is Agent { | ||
// truffle doesn’t work well with Solidity function overloading, so we create this wrapper to make sure | ||
// the function in Agent is called, instead of the one in ERC1271Bytes | ||
function isValidSignatureBytes32(bytes32 _hash, bytes memory _signature) public view returns (bytes4) { | ||
return isValidSignature(_hash, _signature); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,6 @@ | |
}, | ||
"dependencies": { | ||
"@aragon/apps-vault": "4.1.0", | ||
"@aragon/os": "4.2.0" | ||
"@aragon/os": "4.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const runSharedAgentTests = require('./agent_shared.js') | ||
|
||
contract('Agent', (accounts) => { | ||
runSharedAgentTests('Agent', { accounts, artifacts, web3 }) | ||
runSharedAgentTests('AgentMock', { accounts, artifacts, web3 }) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,6 @@ | |
}, | ||
"dependencies": { | ||
"@aragon/apps-vault": "^4.0.0", | ||
"@aragon/os": "4.2.0" | ||
"@aragon/os": "4.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,6 @@ | |
"truffle-extract": "^1.2.1" | ||
}, | ||
"dependencies": { | ||
"@aragon/os": "4.2.0" | ||
"@aragon/os": "4.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters