Skip to content

Commit 898c84a

Browse files
Merge branch 'develop' into feat/deploy_v1.3.0
2 parents a050738 + 6bc68ec commit 898c84a

File tree

394 files changed

+6663
-5623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+6663
-5623
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ about: Create a bug report to help us
44
title: 'Bug: <add-text-here>'
55
labels: bug
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
1110
A short summary of what the bug is. Please be clear and concise.
1211

1312
**To Reproduce (please complete the following information)**
13+
1414
- Config and flags: [e.g. variable="xyz"]
1515
- Steps to reproduce the behavior:
16-
1. node '...'
17-
2. make request with '....'
18-
3. '...'
19-
4. See error
16+
1. node '...'
17+
2. make request with '....'
18+
3. '...'
19+
4. See error
2020

2121
**Current behavior**
2222
In depth explanation, if required, or a clear and concise description of what actually happens.
@@ -25,9 +25,10 @@ In depth explanation, if required, or a clear and concise description of what ac
2525
A clear and concise description of what you expected to happen.
2626

2727
**System (please complete the following information):**
28-
- OS: [e.g. Fedora 35]
29-
- Software version [e.g. Docker 8, Node 14.19.1]
30-
- Commit hash [e.g. e84617d]
28+
29+
- OS: [e.g. Fedora 35]
30+
- Software version [e.g. Docker 8, Node 14.19.1]
31+
- Commit hash [e.g. e84617d]
3132

3233
**Additional context**
3334
Add any other context about the problem here.

.github/helpers/contracts/register-ens-subdomain.js

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function main() {
4545
resolver,
4646
0
4747
);
48-
console.log(`Creation tx hash ${creationTx.hash}`)
48+
console.log(`Creation tx hash ${creationTx.hash}`);
4949
await creationTx.wait();
5050
console.log('Created');
5151
} else {
@@ -58,7 +58,7 @@ async function main() {
5858
labelHash,
5959
wallet.address
6060
);
61-
console.log(`Ownership transfer tx hash ${ownerTx.hash}`)
61+
console.log(`Ownership transfer tx hash ${ownerTx.hash}`);
6262
await ownerTx.wait();
6363
} else {
6464
console.log('Already owner.');
@@ -76,7 +76,7 @@ const RegistryAbi = [
7676
inputs: [{internalType: 'contract ENS', name: '_old', type: 'address'}],
7777
payable: false,
7878
stateMutability: 'nonpayable',
79-
type: 'constructor'
79+
type: 'constructor',
8080
},
8181
{
8282
anonymous: false,
@@ -86,22 +86,22 @@ const RegistryAbi = [
8686
indexed: true,
8787
internalType: 'address',
8888
name: 'operator',
89-
type: 'address'
89+
type: 'address',
9090
},
91-
{indexed: false, internalType: 'bool', name: 'approved', type: 'bool'}
91+
{indexed: false, internalType: 'bool', name: 'approved', type: 'bool'},
9292
],
9393
name: 'ApprovalForAll',
94-
type: 'event'
94+
type: 'event',
9595
},
9696
{
9797
anonymous: false,
9898
inputs: [
9999
{indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32'},
100100
{indexed: true, internalType: 'bytes32', name: 'label', type: 'bytes32'},
101-
{indexed: false, internalType: 'address', name: 'owner', type: 'address'}
101+
{indexed: false, internalType: 'address', name: 'owner', type: 'address'},
102102
],
103103
name: 'NewOwner',
104-
type: 'event'
104+
type: 'event',
105105
},
106106
{
107107
anonymous: false,
@@ -111,41 +111,41 @@ const RegistryAbi = [
111111
indexed: false,
112112
internalType: 'address',
113113
name: 'resolver',
114-
type: 'address'
115-
}
114+
type: 'address',
115+
},
116116
],
117117
name: 'NewResolver',
118-
type: 'event'
118+
type: 'event',
119119
},
120120
{
121121
anonymous: false,
122122
inputs: [
123123
{indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32'},
124-
{indexed: false, internalType: 'uint64', name: 'ttl', type: 'uint64'}
124+
{indexed: false, internalType: 'uint64', name: 'ttl', type: 'uint64'},
125125
],
126126
name: 'NewTTL',
127-
type: 'event'
127+
type: 'event',
128128
},
129129
{
130130
anonymous: false,
131131
inputs: [
132132
{indexed: true, internalType: 'bytes32', name: 'node', type: 'bytes32'},
133-
{indexed: false, internalType: 'address', name: 'owner', type: 'address'}
133+
{indexed: false, internalType: 'address', name: 'owner', type: 'address'},
134134
],
135135
name: 'Transfer',
136-
type: 'event'
136+
type: 'event',
137137
},
138138
{
139139
constant: true,
140140
inputs: [
141141
{internalType: 'address', name: 'owner', type: 'address'},
142-
{internalType: 'address', name: 'operator', type: 'address'}
142+
{internalType: 'address', name: 'operator', type: 'address'},
143143
],
144144
name: 'isApprovedForAll',
145145
outputs: [{internalType: 'bool', name: '', type: 'bool'}],
146146
payable: false,
147147
stateMutability: 'view',
148-
type: 'function'
148+
type: 'function',
149149
},
150150
{
151151
constant: true,
@@ -154,7 +154,7 @@ const RegistryAbi = [
154154
outputs: [{internalType: 'contract ENS', name: '', type: 'address'}],
155155
payable: false,
156156
stateMutability: 'view',
157-
type: 'function'
157+
type: 'function',
158158
},
159159
{
160160
constant: true,
@@ -163,7 +163,7 @@ const RegistryAbi = [
163163
outputs: [{internalType: 'address', name: '', type: 'address'}],
164164
payable: false,
165165
stateMutability: 'view',
166-
type: 'function'
166+
type: 'function',
167167
},
168168
{
169169
constant: true,
@@ -172,7 +172,7 @@ const RegistryAbi = [
172172
outputs: [{internalType: 'bool', name: '', type: 'bool'}],
173173
payable: false,
174174
stateMutability: 'view',
175-
type: 'function'
175+
type: 'function',
176176
},
177177
{
178178
constant: true,
@@ -181,70 +181,70 @@ const RegistryAbi = [
181181
outputs: [{internalType: 'address', name: '', type: 'address'}],
182182
payable: false,
183183
stateMutability: 'view',
184-
type: 'function'
184+
type: 'function',
185185
},
186186
{
187187
constant: false,
188188
inputs: [
189189
{internalType: 'address', name: 'operator', type: 'address'},
190-
{internalType: 'bool', name: 'approved', type: 'bool'}
190+
{internalType: 'bool', name: 'approved', type: 'bool'},
191191
],
192192
name: 'setApprovalForAll',
193193
outputs: [],
194194
payable: false,
195195
stateMutability: 'nonpayable',
196-
type: 'function'
196+
type: 'function',
197197
},
198198
{
199199
constant: false,
200200
inputs: [
201201
{internalType: 'bytes32', name: 'node', type: 'bytes32'},
202-
{internalType: 'address', name: 'owner', type: 'address'}
202+
{internalType: 'address', name: 'owner', type: 'address'},
203203
],
204204
name: 'setOwner',
205205
outputs: [],
206206
payable: false,
207207
stateMutability: 'nonpayable',
208-
type: 'function'
208+
type: 'function',
209209
},
210210
{
211211
constant: false,
212212
inputs: [
213213
{internalType: 'bytes32', name: 'node', type: 'bytes32'},
214214
{internalType: 'address', name: 'owner', type: 'address'},
215215
{internalType: 'address', name: 'resolver', type: 'address'},
216-
{internalType: 'uint64', name: 'ttl', type: 'uint64'}
216+
{internalType: 'uint64', name: 'ttl', type: 'uint64'},
217217
],
218218
name: 'setRecord',
219219
outputs: [],
220220
payable: false,
221221
stateMutability: 'nonpayable',
222-
type: 'function'
222+
type: 'function',
223223
},
224224
{
225225
constant: false,
226226
inputs: [
227227
{internalType: 'bytes32', name: 'node', type: 'bytes32'},
228-
{internalType: 'address', name: 'resolver', type: 'address'}
228+
{internalType: 'address', name: 'resolver', type: 'address'},
229229
],
230230
name: 'setResolver',
231231
outputs: [],
232232
payable: false,
233233
stateMutability: 'nonpayable',
234-
type: 'function'
234+
type: 'function',
235235
},
236236
{
237237
constant: false,
238238
inputs: [
239239
{internalType: 'bytes32', name: 'node', type: 'bytes32'},
240240
{internalType: 'bytes32', name: 'label', type: 'bytes32'},
241-
{internalType: 'address', name: 'owner', type: 'address'}
241+
{internalType: 'address', name: 'owner', type: 'address'},
242242
],
243243
name: 'setSubnodeOwner',
244244
outputs: [{internalType: 'bytes32', name: '', type: 'bytes32'}],
245245
payable: false,
246246
stateMutability: 'nonpayable',
247-
type: 'function'
247+
type: 'function',
248248
},
249249
{
250250
constant: false,
@@ -253,25 +253,25 @@ const RegistryAbi = [
253253
{internalType: 'bytes32', name: 'label', type: 'bytes32'},
254254
{internalType: 'address', name: 'owner', type: 'address'},
255255
{internalType: 'address', name: 'resolver', type: 'address'},
256-
{internalType: 'uint64', name: 'ttl', type: 'uint64'}
256+
{internalType: 'uint64', name: 'ttl', type: 'uint64'},
257257
],
258258
name: 'setSubnodeRecord',
259259
outputs: [],
260260
payable: false,
261261
stateMutability: 'nonpayable',
262-
type: 'function'
262+
type: 'function',
263263
},
264264
{
265265
constant: false,
266266
inputs: [
267267
{internalType: 'bytes32', name: 'node', type: 'bytes32'},
268-
{internalType: 'uint64', name: 'ttl', type: 'uint64'}
268+
{internalType: 'uint64', name: 'ttl', type: 'uint64'},
269269
],
270270
name: 'setTTL',
271271
outputs: [],
272272
payable: false,
273273
stateMutability: 'nonpayable',
274-
type: 'function'
274+
type: 'function',
275275
},
276276
{
277277
constant: true,
@@ -280,6 +280,6 @@ const RegistryAbi = [
280280
outputs: [{internalType: 'uint64', name: '', type: 'uint64'}],
281281
payable: false,
282282
stateMutability: 'view',
283-
type: 'function'
284-
}
283+
type: 'function',
284+
},
285285
];

.github/labeler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
contracts:
2-
- packages/contracts/**/*
3-
- packages/contracts/*
2+
- packages/contracts/**/*
3+
- packages/contracts/*
44

55
subgraph:
6-
- packages/subgraph/**/*
7-
- packages/subgraph/*
6+
- packages/subgraph/**/*
7+
- packages/subgraph/*

.github/pull_request_template.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
Please include a summary of the change and be sure you follow the contributions rules we do provide [here](./CONTRIBUTIONS.md)
44

5-
Task: [ID]()
5+
Task ID: [OS-?](https://aragonassociation.atlassian.net/browse/OS-?)
66

77
## Type of change
88

9+
See the framework lifecylce in `packages/contracts/docs/framework-lifecycle` to decide what kind of change this pull request is.
10+
911
<!--- Please delete options that are not relevant. -->
1012

1113
- [ ] Bug fix (non-breaking change which fixes an issue)
@@ -17,7 +19,6 @@ Task: [ID]()
1719
- [ ] I have selected the correct base branch.
1820
- [ ] I have performed a self-review of my own code.
1921
- [ ] I have commented my code, particularly in hard-to-understand areas.
20-
- [ ] I have made corresponding changes to the documentation.
2122
- [ ] My changes generate no new warnings.
2223
- [ ] Any dependent changes have been merged and published in downstream modules.
2324
- [ ] I ran all tests with success and extended them if necessary.

.github/workflows/comment-triggers.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
issue_comment:
66
types: [created]
77

8-
jobs:
8+
jobs:
99
check_user_permission:
1010
runs-on: ubuntu-latest
1111
name: A job to check user's permission level
@@ -82,8 +82,6 @@ jobs:
8282
mode: ${{ needs.mythx_full.outputs.mode }}
8383
secrets: inherit
8484

85-
86-
8785
release_label:
8886
needs: [check_user_permission]
8987
runs-on: ubuntu-latest
@@ -134,4 +132,4 @@ jobs:
134132
if: steps.check.outputs.triggered == 'true'
135133
uses: actions-ecosystem/action-add-labels@v1
136134
with:
137-
labels: subgraph:${{ steps.type.outputs.type }}
135+
labels: subgraph:${{ steps.type.outputs.type }}

.github/workflows/contract-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ jobs:
2828
node-version: 16
2929
- name: Install dependencies
3030
run: cd ../../ && yarn install --pure-lockfile
31-
- name: Check formatting
32-
run: yarn run formatting:check
3331
- name: Compile contracts
3432
run: yarn run build && yarn run build:npm
3533
- name: Run Hardhat Tests
3634
env:
3735
REPORT_GAS: true
38-
ETH_KEY: ''
3936
HARDHAT_DAO_ENS_DOMAIN: 'dao.eth'
4037
HARDHAT_PLUGIN_ENS_DOMAIN: 'plugin.dao.eth'
41-
MANAGINGDAO_SUBDOMAIN: 'aragon-management'
38+
MANAGINGDAO_SUBDOMAIN: 'management'
39+
MANAGINGDAO_MULTISIG_LISTEDONLY: ${{ vars.MANAGINGDAO_MULTISIG_LISTEDONLY }}
40+
MANAGINGDAO_MULTISIG_APPROVERS: ${{ vars.MANAGINGDAO_MULTISIG_APPROVERS }}
41+
MANAGINGDAO_MULTISIG_MINAPPROVALS: ${{ vars.MANAGINGDAO_MULTISIG_MINAPPROVALS }}
4242
run: yarn run test
4343
- name: Run solidity-docgen
4444
run: yarn run docgen

.github/workflows/contracts-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install node
2121
uses: actions/setup-node@v3
2222
with:
23-
cache: "yarn"
23+
cache: 'yarn'
2424
node-version: 16
2525
- name: Install dependencies
2626
run: yarn install --pure-lockfile
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install node
5454
uses: actions/setup-node@v3
5555
with:
56-
cache: "yarn"
56+
cache: 'yarn'
5757
node-version: 16
5858
- name: Install dependencies
5959
run: yarn install --pure-lockfile

0 commit comments

Comments
 (0)