Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/20231027 #550

Merged
merged 217 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
c3e40f8
update workflows
novaknole1 Mar 30, 2021
f587e96
Merge branch 'master' into development
novaknole1 Mar 30, 2021
07d528e
update workflow
novaknole1 Mar 31, 2021
e9f8339
fix hardhat-deploy (#312)
novaknole Apr 6, 2021
7fb1086
Fix Govern queue test issue (#313)
yuetloo Apr 6, 2021
f3cee06
add paths to github action workflow (#314)
yuetloo Apr 8, 2021
aa6200b
update subgraph
novaknole1 Apr 9, 2021
286186c
replace govern-console with new console
novaknole1 Apr 12, 2021
b895d35
update packages and gitignore
novaknole1 Apr 12, 2021
eed6b8c
add public in gitignore
novaknole1 Apr 12, 2021
a3db15b
remove .DS_Store
novaknole1 Apr 12, 2021
21f7674
Feature/remove govern console (#316)
novaknole Apr 12, 2021
3382282
change babel-loader version
novaknole1 Apr 12, 2021
8a1f25a
add react manifests
novaknole Apr 12, 2021
fcc7304
add storybook-static in gitignore
novaknole Apr 12, 2021
0f54916
Merge branch 'feature/update-subgraph' into develop
novaknole Apr 12, 2021
499803f
Feature/fleek (#319)
novaknole Apr 13, 2021
633d521
Feature/proposaldetails (#324)
reddyismav Apr 15, 2021
e591273
Dao queries based on new subgraph definition (#318)
yuetloo Apr 15, 2021
6358c56
Fix/gas dos (#310)
novaknole Apr 15, 2021
75b75ef
create default erc3000 config data (#326)
novaknole Apr 16, 2021
2763bea
GovernRegistry and GovernBaseFactory addresses in README.md for the R…
nivida Apr 19, 2021
147ead4
give root role to govern (#330)
novaknole Apr 19, 2021
947ad03
update fleek rinkeby for console
novaknole Apr 20, 2021
5985a28
update workflow and fleek
novaknole Apr 20, 2021
e3f8aa5
update workflow
novaknole Apr 20, 2021
1df4d9a
trigger workflow
novaknole Apr 20, 2021
bd707ee
update workflow
novaknole Apr 20, 2021
c7e6d81
update workflow
novaknole Apr 20, 2021
b86e27b
update workflow to include CI warnings
novaknole Apr 21, 2021
98c189c
trigger workflow path
novaknole Apr 21, 2021
19e14d7
Govern integration (#331)
reddyismav Apr 21, 2021
136582d
change token amount to BigNumberish (#332)
yuetloo Apr 22, 2021
018e985
build and install govern in workflow
novaknole Apr 22, 2021
8586e9e
Govern integration (#333)
reddyismav Apr 23, 2021
37592f3
Header Title Fixed and Button added for Create DAO (#334)
reddyismav Apr 23, 2021
2e94889
Feature/dao 151 integrate challenge execute and veto (#335)
novaknole Apr 23, 2021
849624d
Feature/dao 127 dao creation (#336)
novaknole Apr 23, 2021
6f977ae
limit increased for prposals (#337)
reddyismav Apr 23, 2021
ede920e
Feature/dao 184 dao setting views (#339)
novaknole Apr 27, 2021
726b80f
Feature/dao 127 dao creation (#340)
Rekard0 Apr 28, 2021
d470db2
fix test failure with big numbers (#343)
yuetloo Apr 28, 2021
3d35853
add hardhat task to set ens address (#342)
yuetloo Apr 29, 2021
dfbc458
Feature/dao 167 add links to aragon voice and proxy (#341)
Rekard0 Apr 29, 2021
33fd786
Feature/dao 135 dao configuration UI (#344)
Rekard0 Apr 29, 2021
5b757e4
fix dao settings (#345)
novaknole Apr 29, 2021
33b9bbb
New Proposal Page fixed and beautified (#346)
reddyismav Apr 30, 2021
622d91e
executor needs to be set before the effect is being returned. (#347)
reddyismav Apr 30, 2021
bb872ce
Hot fix/executor undefined (#348)
reddyismav Apr 30, 2021
5dee9c0
registerToken in vocdoni (#349)
yuetloo May 3, 2021
34bff69
Feature/dao 158 dialog for handling transactions to be (#352)
bhanusanghi May 4, 2021
2a43717
Feature/move styled components (#353)
bhanusanghi May 4, 2021
92260d5
Feature/dao 238 issue about createdao (#351)
Rekard0 May 4, 2021
05a6b4e
Feature/dao 215 integrate with blockchain (#350)
Rekard0 May 4, 2021
00aa07a
add vocdoni dvote
novaknole May 4, 2021
9f85d85
Feature/transaction queue (#357)
novaknole May 5, 2021
516b920
Added changes for making grid responsive (#355)
bhanusanghi May 5, 2021
3c41157
DAO-194 - Added Dao not found page (#356)
bhanusanghi May 5, 2021
b0356fc
Feature/dao search (#358)
bhanusanghi May 5, 2021
df6ebb3
Feature/dao search (#361)
bhanusanghi May 6, 2021
a4b2ca0
Feature/new additions (#362)
novaknole May 6, 2021
e013c13
adding fixes for the refactor (#363)
novaknole May 6, 2021
b851e6c
fix govern test failures (#360)
yuetloo May 6, 2021
6564d02
Feature/dao 248 script for mainnet ens setup (#359)
yuetloo May 6, 2021
325e14d
update favicon and header logo (#364)
yuetloo May 7, 2021
b3551ab
add human readable amount message for approvals (#365)
novaknole May 7, 2021
9453de7
fix id to lower case for daos (#369)
reddyismav May 7, 2021
2c28d5f
Feature/fallback provider (#367)
bhanusanghi May 7, 2021
d573313
Add from validation (#366)
Rekard0 May 7, 2021
81fe147
add missing favicon files (#370)
yuetloo May 7, 2021
a1ab80f
Feature/dao 252 add link to dao settings (#368)
yuetloo May 7, 2021
1ff392d
Feature/dao 190 etherscan fetch for new action page (#371)
yuetloo May 9, 2021
afaad70
handle token already registered (#372)
Rekard0 May 11, 2021
6af21f7
correcting DAO not found page (#373)
Rekard0 May 11, 2021
c4cf225
decode proposal action data (#374)
yuetloo May 11, 2021
39cbc63
Feature/dao 263 dao ready banner (#375)
Rekard0 May 11, 2021
c1f5099
Feature/widget proposals (#376)
novaknole May 11, 2021
facadbe
returns true if contract address is valid (#377)
yuetloo May 11, 2021
36d8229
fix states and colors (#379)
novaknole May 12, 2021
9c9863c
Feat/toast messages (#378)
reddyismav May 12, 2021
4f3ad43
add validation to newProposal (#380)
Rekard0 May 12, 2021
49f9236
missing dependency fix (#383)
Rekard0 May 13, 2021
3340dd9
Css fixes (#385)
bhanusanghi May 14, 2021
a0f3fbd
force refresh of proposal page (#382)
yuetloo May 14, 2021
f045d55
Feature/dao 264 execution scheduling modal (#381)
yuetloo May 14, 2021
f7e536c
Feature/prettier fix (#384)
novaknole May 17, 2021
0680ea3
do not show transaction modal if there's error (#386)
yuetloo May 17, 2021
86fc315
fix eslint error (#390)
yuetloo May 19, 2021
b7b9eac
fix css styling with proposal actions (#389)
yuetloo May 19, 2021
d5cb974
Feature/dao 278 transaction modal improvements (#388)
yuetloo May 19, 2021
2e4ddfb
Feature/ipfs handling (#391)
novaknole May 19, 2021
fa5368b
Feature/dao 290 display network status (#387)
Rekard0 May 19, 2021
f7a0428
Feature/dao 290 display network status (#392)
novaknole May 19, 2021
57c7a5d
fix govern test failures (#393)
yuetloo May 19, 2021
475af3f
Feature/new changes (#394)
novaknole May 21, 2021
b414ce5
remove search input (#397)
yuetloo May 31, 2021
7c73b07
build container right before calling proposal.schedule() (#400)
yuetloo Jun 8, 2021
717f6dd
Feature/refactoring 1 (#399)
novaknole Jun 8, 2021
7151c4d
Testing aragon UI 2 (#401)
Rekard0 Jun 8, 2021
0d8a8f6
Feature/dao 297 add polling in proposal detail (#402)
yuetloo Jun 9, 2021
6a6ad24
console environment (#404)
yuetloo Jun 11, 2021
7987b65
Feature/dao 391 proposal resolution (#403)
yuetloo Jun 14, 2021
ecb8686
Feature/dao 394 implement functionalities (#406)
novaknole Jun 16, 2021
611f511
add ipfs link to decoded action data (#405)
yuetloo Jun 16, 2021
ee35b31
Feature/dao 400 update dao setting page (#407)
Rekard0 Jun 18, 2021
9dd1900
SUBGRAPH: update ipfs cat fetching
novaknole Jun 28, 2021
d3a7bb3
fix title text (#408)
yuetloo Jun 28, 2021
a0642ee
add daofactory in environments
novaknole Jun 29, 2021
47f4336
Merge branch 'develop' of https://github.com/aragon/govern into develop
novaknole Jun 29, 2021
3547183
rename create dao
novaknole Jun 29, 2021
c79caf0
Fix/create dao (#410)
novaknole Jun 29, 2021
927c204
Feature/dao 399 new execution flow (#409)
yuetloo Jun 29, 2021
42eead3
Feature/contract changes (#396)
novaknole Jun 30, 2021
000b4eb
Feature/minter event (#412)
novaknole Jun 30, 2021
f478f9d
fix createdao path
novaknole Jun 30, 2021
82af81f
add withdraw (#413)
novaknole Jun 30, 2021
cc8fd3a
Feature/dao 401 deposit asset action flow (#414)
yuetloo Jun 30, 2021
708b0a1
Feature/dao 420 implement fileinput in console (#411)
Rekard0 Jun 30, 2021
9d9dd7a
small fixes (#415)
novaknole Jun 30, 2021
2ebe406
Feature/fixes (#417)
novaknole Jul 1, 2021
3cdabfb
Feature/ara 828 create dao issue with file component (#419)
novaknole Jul 1, 2021
80b13d7
Console deposit + withdrawal (#418)
yuetloo Jul 2, 2021
9f398d5
Feature/dao 418 create help component for console (#420)
Rekard0 Jul 2, 2021
a2b0f34
Feature/console deposit (#421)
novaknole Jul 2, 2021
6858f40
Feature/dao 419 mobile menu (#423)
Rekard0 Jul 5, 2021
a985c02
Show abi input only if contract is not verified. (#422)
yuetloo Jul 5, 2021
dfdbb66
change header icon (#424)
yuetloo Jul 5, 2021
1f31bd7
update icon (#425)
yuetloo Jul 5, 2021
92479d5
DAO-35: use aragon ui toast (#426)
yuetloo Jul 5, 2021
17552b1
Bug fixing - DAO-32 (#427)
Rekard0 Jul 6, 2021
e661f10
add beta label to header title (#428)
yuetloo Jul 7, 2021
a53bf16
Feature/ipfs loader (#429)
novaknole Jul 7, 2021
26d61bb
Feature/challenge bug (#430)
novaknole Jul 7, 2021
9bf7bcb
Minor Govern ui fixes DAO-40 (#432)
Rekard0 Jul 9, 2021
1216bb3
resolve-button (#431)
novaknole Jul 9, 2021
7741e13
DAO-52 remove story book (#434)
yuetloo Jul 13, 2021
7cdfc5f
implement file size validation (#435)
Rekard0 Jul 13, 2021
56a98b5
remove memo from execute widget (#436)
novaknole Jul 13, 2021
8d84cf4
Enable analytics on govern DAO-38 (#433)
Rekard0 Jul 13, 2021
9f27a26
Feature/dao 55 (#437)
novaknole Jul 13, 2021
376fc27
new deployments (#438)
novaknole Jul 13, 2021
7948fbd
Wallet fix (#439)
Rekard0 Jul 13, 2021
456b9ed
DAO-63 fix tests (#440)
yuetloo Jul 14, 2021
40f7c35
update resolver for staging
novaknole Jul 16, 2021
0ed0d1f
Feature/dao 66 (#441)
novaknole Jul 21, 2021
d9d23c1
Text copy DAO-64 (#442)
Rekard0 Jul 21, 2021
6812026
update dependencies (#443)
Rekard0 Jul 21, 2021
461e599
fix typo and uppercase
novaknole Jul 22, 2021
eb93f7a
implement analytics event DAO-98 (#445)
Rekard0 Jul 30, 2021
4cad8ff
DAO-64 addressing comments (#444)
Rekard0 Jul 30, 2021
60f61c6
Feature/fix createdao bug (#447)
novaknole Aug 3, 2021
94fa22b
update govern bug with subgraphs (#448)
novaknole Aug 4, 2021
8a94e1a
fix subgraph
novaknole Aug 4, 2021
19abb0b
fix subgraph error
novaknole Aug 4, 2021
3459ede
update govern executor with subgraphs
novaknole Aug 4, 2021
4343733
update contracts + Subgraph
novaknole Aug 5, 2021
4e98ea0
Bug / DAO-105 (#449)
Rekard0 Aug 9, 2021
12b2d11
back button integrated (#451)
novaknole Aug 11, 2021
d2a1a5f
DAO-77 - changing main agreement copy, helper text, and adding ReactN…
githubdoramon Aug 11, 2021
3b6d707
DAO-165 - adding aragon link to footer (#452)
githubdoramon Aug 11, 2021
bcafd2d
add govern deployments
novaknole Aug 11, 2021
846c7f0
fix eslint
novaknole Aug 11, 2021
273dde8
update resolver for mainnet
novaknole Aug 11, 2021
1ade36d
DAO-166: changing help texts and re-organising the component (#453)
githubdoramon Aug 11, 2021
9069e32
update contract addresses
novaknole Aug 12, 2021
e730801
Fixing proposal title format for longer titles (#455)
githubdoramon Aug 12, 2021
f6f52f1
Fixing DAOCard title ellipsis (#456)
githubdoramon Aug 12, 2021
8db072d
Feature/govern deployments (#454)
novaknole Aug 12, 2021
c98d89f
fleek update
novaknole Aug 12, 2021
22ea595
Merge branch 'feature/govern-deployments' into develop
novaknole Aug 12, 2021
9ff0c5c
adding helpscout (#458)
githubdoramon Aug 13, 2021
056d24a
Feature / DAO-171 (#459)
Rekard0 Aug 13, 2021
cb687a4
Feature DAO-170 (#460)
Rekard0 Aug 17, 2021
1e35119
Feature / DAO-127 (#461)
Rekard0 Aug 17, 2021
5e517e0
Feature / DAO-199 (#463)
Rekard0 Aug 19, 2021
a69c8c1
[govern-console] improve cicd (#466)
mathewmeconry Sep 1, 2021
751a604
adding govern queue address to settings (#468)
githubdoramon Sep 3, 2021
fc34a52
Bug / DAO-206 (#470)
sepehr2github Sep 7, 2021
fcacaba
Feature / DAO-130 (#467)
Rekard0 Sep 9, 2021
f75a8d7
[cicd] fixes apm sourcemaps bundle_filepath (#471)
mathewmeconry Sep 16, 2021
66bf70b
[cicd] fixes bundle_filepath again (#472)
mathewmeconry Sep 16, 2021
348010b
[cicd] final fix for sourcemap upload (#473)
mathewmeconry Sep 16, 2021
156e19a
[cicd] final fix for sourcemap upload and mapping (#475)
mathewmeconry Sep 20, 2021
5e341c7
Bug / DAO-232 Fixed
sepehr2github Sep 21, 2021
a7dfcb3
updating dvote-js (#480)
githubdoramon Oct 6, 2021
c0975f9
remove json.fromBytes() which can cause subgraph to fail to sync (#482)
Oct 13, 2021
182766d
Bug/transaction title (#484)
sepehr2github Oct 13, 2021
7ff8700
DAO-368: test PR to trigger govern ci job (#485)
Oct 13, 2021
acd26eb
use network-concurrency 1 to workaround govern build error (#486)
Oct 13, 2021
6d058b1
update readme to trigger govern ci job (#487)
Oct 13, 2021
e255505
temporary revert dvote.js changes (#488)
Oct 14, 2021
6e04a15
DAO-377 govern console ci trigger (#489)
Oct 14, 2021
eb9f738
subgraph new features (#479)
novaknole Oct 15, 2021
b169c73
feature/ DAO-366 (#483)
sepehr2github Oct 18, 2021
08dc9fe
Refactoring finance (#493)
githubdoramon Oct 22, 2021
16a7a36
Rebasing with master to get branches hopefully aligned and up to date…
githubdoramon Oct 26, 2021
eac500b
Subgraph error (#498)
Oct 28, 2021
4ad9f39
Merge branch 'master' into develop
nivida Nov 1, 2021
3f7bae9
Bug / Wrong proposal execution time (#501)
Fabricevladimir Nov 2, 2021
f82afcd
Bug/ DAO-445 (#504)
sepehr2github Nov 9, 2021
12a15e7
added comma check for value validation (#506)
Fabricevladimir Nov 11, 2021
2827e58
new Transaction Container Dropdown (#503)
mathewmeconry Nov 17, 2021
d4e80a3
change action card date from createdAt to payload.executionTime (#508)
sepehr2github Nov 26, 2021
2d6e867
remove encoding address in NewExecution.tsx (#511)
sepehr2github Dec 1, 2021
78791b6
to trigget deployment (#521)
githubdoramon Jan 7, 2022
0d2fa70
update to block 9063490 (#522)
Rekard0 Jan 7, 2022
6d988f7
fixes adding dao to the registry which causes a heap error (#523)
mathewmeconry Jan 7, 2022
bf347f2
changing placeholder (#524)
githubdoramon Jan 19, 2022
d367519
Changed the DAI address to the official Rinkeby Compound DAI address …
Barukimang Feb 15, 2022
800901c
Fixed DAO Creation issues (#535)
marcvelmer Apr 12, 2022
a20edf9
reverting develop changes (#536)
githubdoramon Apr 12, 2022
90ceccf
fix: sourcemap upload to apm (#531)
mathewmeconry Apr 13, 2022
825dc93
fix: removes fleek container to fix sourcemap upload (#537)
mathewmeconry Apr 13, 2022
25a328b
Fixed DAO Creation (#538)
marcvelmer Apr 13, 2022
886027e
fix: switchout ipfs endpoint with ours (#541)
mathewmeconry Jul 4, 2022
67c1d39
Fix/develop (#549)
Barukimang Oct 27, 2023
084c0a8
accept incoming ipfs change
Barukimang Oct 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/erc3k/test/erc3k-data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('ERC3000Data', function () {
beforeEach(async () => {
const ERC3000DataLibTest = (await ethers.getContractFactory(
'ERC3000DataLibTest'
)) as ERC3000DataLibTest__factory
)) as unknown as ERC3000DataLibTest__factory

erc3kDataLib = await ERC3000DataLibTest.deploy()
chainId = (await ethers.provider.getNetwork()).chainId
Expand Down
2 changes: 1 addition & 1 deletion packages/erc3k/test/erc3k-exec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('ERC3000 Executor', function () {
beforeEach(async () => {
const ERC3000Executor = (await ethers.getContractFactory(
'ERC3000ExecutorMock'
)) as ERC3000ExecutorMock__factory
)) as unknown as ERC3000ExecutorMock__factory
erc3kExec = await ERC3000Executor.deploy()
})
})
2 changes: 1 addition & 1 deletion packages/erc3k/test/erc3k.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('ERC3000', function () {
beforeEach(async () => {
const ERC3000 = (await ethers.getContractFactory(
'ERC3000Mock'
)) as ERC3000Mock__factory
)) as unknown as ERC3000Mock__factory
erc3k = await ERC3000.deploy()
})
})
4 changes: 2 additions & 2 deletions packages/govern-console/src/utils/ipfs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const MIME_TYPES = ['text/plain'];
function createIpfs() {
if (!ipfs) {
ipfs = create({
url: 'https://ipfs-0.aragon.network/api/v0',
url: 'https://prod.ipfs.aragon.network',
headers: {
'X-API-KEY': 'yRERPRwFAb5ZiV94XvJdgvDKoGEeFerfFsAQ65',
'X-API-KEY': 'b477RhECf8s8sdM7XrkLBs2wHc4kCMwpbcFC55Kt',
},
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/govern-contract-utils/test/acl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('ACL', function () {
})

beforeEach(async () => {
const ACL = (await ethers.getContractFactory('ACL')) as ACL__factory
const ACL = (await ethers.getContractFactory('ACL')) as unknown as ACL__factory
acl = await ACL.deploy(root)
aclNotRoot = await acl.connect(signers[1])
})
Expand Down
4 changes: 2 additions & 2 deletions packages/govern-contract-utils/test/adaptive-erc165.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ describe('AdaptiveErc165', function () {
signers = await ethers.getSigners()
const Adaptive = (await ethers.getContractFactory(
'AdaptiveERC165Mock'
)) as AdaptiveERC165Mock__factory
)) as unknown as AdaptiveERC165Mock__factory
const AdaptiveHelper = (await ethers.getContractFactory(
'AdaptiveERC165MockHelper'
)) as AdaptiveERC165MockHelper__factory
)) as unknown as AdaptiveERC165MockHelper__factory

adaptive = await Adaptive.deploy()
adaptiveHelper = await AdaptiveHelper.deploy(adaptive.address)
Expand Down
2 changes: 1 addition & 1 deletion packages/govern-contract-utils/test/address-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('AddressUtils', function () {
beforeEach(async () => {
const AddressUtilsMock = (await ethers.getContractFactory(
'AddressUtilsMock'
)) as AddressUtilsMock__factory
)) as unknown as AddressUtilsMock__factory
addressUtils = await AddressUtilsMock.deploy()
owner = await (await ethers.getSigners())[0].getAddress()
})
Expand Down
2 changes: 1 addition & 1 deletion packages/govern-contract-utils/test/bitmaplib.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Bitmap', function () {
beforeEach(async () => {
const BitmapLib = (await ethers.getContractFactory(
'BitmapLibMock'
)) as BitmapLibMock__factory
)) as unknown as BitmapLibMock__factory
lib = await BitmapLib.deploy()
})

Expand Down
6 changes: 3 additions & 3 deletions packages/govern-contract-utils/test/deposit-lib.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('DepositLib', function () {
before(async () => {
const DepositLibMockFactory = (await ethers.getContractFactory(
'DepositLibMock'
)) as DepositLibMock__factory
)) as unknown as DepositLibMock__factory
depositLibMock = await DepositLibMockFactory.deploy()

owner = await (await ethers.getSigners())[0].getAddress()
Expand All @@ -37,7 +37,7 @@ describe('DepositLib', function () {
before(async () => {
const GoodTokenFactory = (await ethers.getContractFactory(
'GoodToken'
)) as GoodToken__factory
)) as unknown as GoodToken__factory
goodToken = await GoodTokenFactory.deploy()
})

Expand Down Expand Up @@ -84,7 +84,7 @@ describe('DepositLib', function () {
before(async () => {
const GoodTokenFactory = (await ethers.getContractFactory(
'GoodToken'
)) as GoodToken__factory
)) as unknown as GoodToken__factory
goodToken = await GoodTokenFactory.deploy()
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('ERC1167ProxyFactory', () => {
owner = await signers[0].getAddress()
const CloneFactoryMock = (await ethers.getContractFactory(
'CloneFactoryMock'
)) as CloneFactoryMock__factory
)) as unknown as CloneFactoryMock__factory
factory = await CloneFactoryMock.deploy()
})

Expand All @@ -34,7 +34,7 @@ describe('ERC1167ProxyFactory', () => {
'ClonedContract',
clonedContractAddress,
signers[0]
)) as ClonedContract
)) as unknown as ClonedContract

expect(await clonedContract.getRandomString()).to.be.equal('NO INIT')
})
Expand All @@ -47,7 +47,7 @@ describe('ERC1167ProxyFactory', () => {
'ClonedContractWithInit',
clonedContractAddress,
signers[0]
)) as ClonedContractWithInit
)) as unknown as ClonedContractWithInit

expect(await clonedContract.randomString()).to.be.equal('INIT DATA')
})
Expand All @@ -62,7 +62,7 @@ describe('ERC1167ProxyFactory', () => {
'ClonedContract',
clonedContractAddress,
signers[0]
)) as ClonedContract
)) as unknown as ClonedContract

expect(await clonedContract.getRandomString()).to.be.equal('NO INIT')
})
Expand All @@ -75,7 +75,7 @@ describe('ERC1167ProxyFactory', () => {
'ClonedContractWithInit',
clonedContractAddress,
signers[0]
)) as ClonedContractWithInit
)) as unknown as ClonedContractWithInit

expect(await clonedContract.randomString()).to.be.equal('INIT DATA')
})
Expand Down
2 changes: 1 addition & 1 deletion packages/govern-contract-utils/test/initializable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Initializable', function () {
beforeEach(async () => {
const Initializable = (await ethers.getContractFactory(
'InitializableMock'
)) as InitializableMock__factory
)) as unknown as InitializableMock__factory
init = await Initializable.deploy()
})

Expand Down
8 changes: 4 additions & 4 deletions packages/govern-contract-utils/test/safe-erc20.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ describe('SafeERC20', function () {
beforeEach(async () => {
const safeERCMock = (await ethers.getContractFactory(
'SafeERC20Mock'
)) as SafeERC20Mock__factory
)) as unknown as SafeERC20Mock__factory
safeERC20 = await safeERCMock.deploy()

const BadToken = (await ethers.getContractFactory(
'BadToken'
)) as BadToken__factory
)) as unknown as BadToken__factory
badToken = await BadToken.deploy()
badToken.setBalanceTo(safeERC20.address, balanceAmount)

const GoodToken = (await ethers.getContractFactory(
'GoodToken'
)) as GoodToken__factory
)) as unknown as GoodToken__factory
goodToken = await GoodToken.deploy()
goodToken.setBalanceTo(safeERC20.address, balanceAmount)

const WorstToken = (await ethers.getContractFactory(
'WorstToken'
)) as WorstToken__factory
)) as unknown as WorstToken__factory
worstToken = await WorstToken.deploy()
worstToken.setBalanceTo(safeERC20.address, balanceAmount)

Expand Down
6 changes: 3 additions & 3 deletions packages/govern-core/test/govern-registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ describe('GovernRegistry', function () {
beforeEach(async () => {
const ERC3000Mock = (await ethers.getContractFactory(
'ERC3000Mock'
)) as ERC3000Mock__factory
)) as unknown as ERC3000Mock__factory

const ERC3000ExecutorMock = (await ethers.getContractFactory(
'ERC3000ExecutorMock'
)) as ERC3000ExecutorMock__factory
)) as unknown as ERC3000ExecutorMock__factory

const GovernRegistry = (await ethers.getContractFactory(
'GovernRegistry'
)) as GovernRegistry__factory
)) as unknown as GovernRegistry__factory

erc3kExec = await ERC3000ExecutorMock.deploy()

Expand Down
2 changes: 1 addition & 1 deletion packages/govern-core/test/govern.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Govern', function () {

beforeEach(async () => {
const Govern = await ethers.getContractFactory('Govern')
govern = (await Govern.deploy(owner)) as Govern
govern = (await Govern.deploy(owner)) as unknown as Govern
governNotOwner = await govern.connect(signers[1])
})

Expand Down
18 changes: 9 additions & 9 deletions packages/govern-core/test/pipelines/govern-queue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('Govern Queue', function () {
const createArbitratorMock = async () => {
const ArbitratorMock = (await ethers.getContractFactory(
'ArbitratorMock'
)) as ArbitratorMock__factory
)) as unknown as ArbitratorMock__factory
const arbitratorMock = (await ArbitratorMock.deploy(
testToken.address
)) as ArbitratorMock
Expand All @@ -121,7 +121,7 @@ describe('Govern Queue', function () {
// add tokens for schedule, challenge and fee amounts from arbitrator
const TestToken = (await ethers.getContractFactory(
'TestToken'
)) as TestToken__factory
)) as unknown as TestToken__factory
testToken = (await TestToken.deploy(ownerAddr)) as TestToken
await testToken.mint(ownerAddr, 1000000)

Expand All @@ -140,13 +140,13 @@ describe('Govern Queue', function () {
// add ERC3000 executor
const ERC3000ExecutorMock = (await ethers.getContractFactory(
'ERC3000ExecutorMock'
)) as ERC3000ExecutorMock__factory
)) as unknown as ERC3000ExecutorMock__factory
executor = await ERC3000ExecutorMock.deploy()
container.payload.executor = executor.address

const GQ = (await ethers.getContractFactory(
'GovernQueue'
)) as GovernQueue__factory
)) as unknown as GovernQueue__factory

gq = (await GQ.deploy(ownerAddr, container.config)) as GovernQueue

Expand Down Expand Up @@ -437,7 +437,7 @@ describe('Govern Queue', function () {
it('reverts when arbitrator subject does not match the queue address', async () => {
const ArbitratorMock = (await ethers.getContractFactory(
'ArbitratorWrongSubjectMock'
)) as ArbitratorWrongSubjectMock__factory
)) as unknown as ArbitratorWrongSubjectMock__factory
const arbitratorMock = await ArbitratorMock.deploy(testToken.address)
container.config.resolver = arbitratorMock.address

Expand Down Expand Up @@ -519,7 +519,7 @@ describe('Govern Queue', function () {
const eventContract = new Contract(
gq.address,
unlockedEventAbi,
gq.provider
// gq.provider
)

await expect(gq.resolve(container, disputeId))
Expand Down Expand Up @@ -579,7 +579,7 @@ describe('Govern Queue', function () {
const eventContract = new Contract(
gq.address,
unlockedEventAbi,
gq.provider
// gq.provider
)

await expect(gq.veto(container, '0x02'))
Expand Down Expand Up @@ -608,7 +608,7 @@ describe('Govern Queue', function () {

const ArbitratorMock = (await ethers.getContractFactory(
'ArbitratorMock'
)) as ArbitratorMock__factory
)) as unknown as ArbitratorMock__factory
const arbitratorMock = await ArbitratorMock.deploy(testToken.address)
container.config.resolver = arbitratorMock.address

Expand All @@ -625,7 +625,7 @@ describe('Govern Queue', function () {
const eventContract = new Contract(
gq.address,
unlockedEventAbi,
gq.provider
// gq.provider
)
await expect(gq.veto(container, '0x02'))
.to.emit(eventContract, EVENTS.UNLOCK)
Expand Down
8 changes: 4 additions & 4 deletions packages/govern-create/test/govern-base-factory-e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,22 @@ describe('Govern Base Factory with the real contracts(NO MOCKs)', function () {
governRegistry = (await ethers.getContractAt(
'GovernRegistry',
(await deployments.get('GovernRegistry')).address
)) as GovernRegistry
)) as unknown as GovernRegistry

governQueueFactory = (await ethers.getContractAt(
'GovernRegistry',
(await deployments.get('GovernQueueFactory')).address
)) as GovernRegistry
)) as unknown as GovernRegistry

governTokenFactory = (await ethers.getContractAt(
'GovernRegistry',
(await deployments.get('GovernTokenFactory')).address
)) as GovernRegistry
)) as unknown as GovernRegistry

governFactory = (await ethers.getContractAt(
'GovernRegistry',
(await deployments.get('GovernFactory')).address
)) as GovernRegistry
)) as unknown as GovernRegistry


const { abi, baseFactoryBytecode } = await getMergedABI();
Expand Down
10 changes: 5 additions & 5 deletions packages/govern-create/test/govern-base-factory-unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@ describe('Govern Base Factory with mocked contracts', function () {
// Deploy Mocks
GovernQueueFactoryMock = await ((await ethers.getContractFactory(
'GovernQueueFactoryMock'
)) as GovernQueueFactoryMock__factory).deploy()
)) as unknown as GovernQueueFactoryMock__factory).deploy()

GovernTokenFactoryMock = await ((await ethers.getContractFactory(
'GovernTokenFactoryMock'
)) as GovernTokenFactoryMock__factory).deploy()
)) as unknown as GovernTokenFactoryMock__factory).deploy()

GovernFactoryMock = await ((await ethers.getContractFactory(
'GovernFactoryMock'
)) as GovernFactoryMock__factory).deploy()
)) as unknown as GovernFactoryMock__factory).deploy()

GovernRegistryMock = await ((await ethers.getContractFactory(
'GovernRegistryMock'
)) as GovernRegistryMock__factory).deploy()
)) as unknown as GovernRegistryMock__factory).deploy()

// Deploy the GovernBaseFactory
GovernBaseFactory = await ((await ethers.getContractFactory(
'GovernBaseFactory'
)) as GovernBaseFactory__factory).deploy(
)) as unknown as GovernBaseFactory__factory).deploy(
GovernRegistryMock.address,
GovernFactoryMock.address,
GovernQueueFactoryMock.address,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9301,7 +9301,7 @@ concat-stream@^1.5.0, concat-stream@^1.5.1, concat-stream@~1.6.2:

concat-stream@^2.0.0, "concat-stream@github:hugomrdias/concat-stream#feat/smaller":
version "2.0.0"
resolved "https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
dependencies:
inherits "^2.0.3"
readable-stream "^3.0.2"
Expand Down
Loading