Skip to content

Commit

Permalink
Update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kaufman committed Jul 7, 2020
1 parent 8744fd3 commit b30248d
Show file tree
Hide file tree
Showing 11 changed files with 636 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ services:
environment:
POSTGRES_PASSWORD: letmein
ganache:
image: 'daostack/migration-experimental:0.1.2-rc.0-v0'
image: 'daostack/migration-experimental:0.1.2-rc.2-v0'
ports:
- '8545:8545'
6 changes: 4 additions & 2 deletions ops/generate-abis.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ async function generateAbis () {
files.forEach(file => {
const { abi } = JSON.parse(fs.readFileSync(path.join('./node_modules/@daostack/migration-experimental/contracts/' + arcVersion, file), 'utf-8'))
// Temporary walk-around needed because of a GraphNode issue. https://github.com/graphprotocol/ethabi/pull/12
if (file === 'Avatar.json' || file === 'Vault.json') {
abi.pop()
for (let i in abi) {
if (abi[i].type === "receive") {
abi.splice(i, 1)
}
}
fs.writeFileSync(
path.join(`${__dirname}/../abis/` + arcVersion, file),
Expand Down
Loading

0 comments on commit b30248d

Please sign in to comment.