Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Port aragonPM from aragonOS#1

Merged
facuspagnuolo merged 4 commits intomasterfrom
port_apm_from_aragon_os
Aug 2, 2020
Merged

Port aragonPM from aragonOS#1
facuspagnuolo merged 4 commits intomasterfrom
port_apm_from_aragon_os

Conversation

@facuspagnuolo
Copy link
Contributor

@facuspagnuolo facuspagnuolo commented Jul 23, 2020

I recommend reviewing per commit

@sohkai it would be nice to add this repo to Travis

@facuspagnuolo facuspagnuolo requested a review from sohkai July 23, 2020 15:53
@facuspagnuolo facuspagnuolo self-assigned this Jul 23, 2020
@sohkai sohkai changed the title Port APM from aragonOS Port aragonPM from aragonOS Jul 24, 2020
Copy link

@sohkai sohkai left a comment

Choose a reason for hiding this comment

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

LGTM!

I was debating about moving everything over exactly as it were when we deployed aragonPM last (so on aragonOS v4.0.0), so we could create a tag and deployment log, and then apply the rest of the updates here.

I think this would just involve splitting up this PR into two parts, which may not be so difficult, but if it turns out to be, let's skip it.

const ens = await ENS.new()
const newRegProxy = await AppProxyUpgradeable.new(dao.address, hash('apm-enssub.aragonpm.eth'), EMPTY_BYTES)
const newReg = ENSSubdomainRegistrar.at(newRegProxy.address)
const newRegProxy = await AppProxyUpgradeable.new(dao.address, hash('apm-enssub.aragonpm.eth'), '0x')
Copy link

Choose a reason for hiding this comment

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

Interesting, we may want to play with remix or debug this a bit more.

Theoretically 0x00 should be a bytes array of length 0, but it looks like it may not be interpreted correctly in AppProxyBase.

@facuspagnuolo facuspagnuolo force-pushed the port_apm_from_aragon_os branch from c04dcf4 to ef1ba63 Compare July 24, 2020 12:34
@facuspagnuolo facuspagnuolo mentioned this pull request Jul 24, 2020
Copy link

@sohkai sohkai left a comment

Choose a reason for hiding this comment

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

LGTM!

Last thing: let's also copy the LICENSE.md from aragonOS!

@facuspagnuolo facuspagnuolo merged commit cab8fca into master Aug 2, 2020
@facuspagnuolo facuspagnuolo deleted the port_apm_from_aragon_os branch August 2, 2020 18:04
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.

2 participants