Commit Graph

283 Commits

Author SHA1 Message Date
Felicio Mununga 9981951283
Merge branch 'master' into review 2024-07-25 10:43:15 +02:00
Felicio Mununga aeb5e09ab2
chore: use peers from "@status-im/js" dependency (#115) 2024-07-25 10:42:33 +02:00
Felicio Mununga 3d92b21fb4
Merge branch 'master' into review 2024-07-24 17:35:08 +02:00
Felicio Mununga b96a08c90f
chore: update "@status-im/js" dependency to version 0.6.7 (#114) 2024-07-24 17:34:47 +02:00
Felicio Mununga bc5db0ead3
Merge branch 'master' into review 2024-05-09 19:14:17 +02:00
Felicio Mununga 3a8455faa3
update deps (#113)
* update deps

* u
2024-05-09 18:55:11 +02:00
Felicio Mununga baa1e4fa08
Merge branch 'master' into review 2024-03-26 15:42:58 +09:00
Felicio Mununga 0b25379bd4
update dependencies (#112)
* update dependencies

* f
2024-03-26 15:42:44 +09:00
Felicio Mununga fd75a80877
Merge branch 'master' into review 2024-03-26 12:20:51 +09:00
Felicio Mununga b3c2c6a768
cherry pick from `review` branch (#111)
* u

(cherry picked from commit 2715ec654d)

* change placeholder for public key

(cherry picked from commit 4b3e56cd6e)

* fix link to etherscan in notification

(cherry picked from commit fdc0663041)

---------

Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
2024-03-26 12:19:50 +09:00
Felicio Mununga 3e2f648f08
Merge branch 'master' into review 2024-03-25 14:29:04 +09:00
Felicio Mununga aba2e34255
update config (#110)
* update config

* u

* u
2024-03-25 14:28:27 +09:00
Felicio Mununga 0c59b126a4
Merge branch 'master' into review 2024-03-19 00:04:28 +09:00
Felicio Mununga 871511249b
use boot and store nodes from `shards.test` (#109)
* use boot and store nodes from `shards.test`

* u

* u

* u

* u
2024-03-18 23:51:20 +09:00
Felicio Mununga 875441b25c
add op sepolia dapp config (#108)
* add op sepolia dapp config

* f

* f
2024-03-07 19:01:51 +09:00
r4bbit 02ebe0a247
chore: add optimism sepolia deployment config (#107) 2024-02-16 08:26:03 +01:00
Felicio Mununga 546992c612
Merge branch 'master' into review 2023-11-16 14:45:31 +01:00
Felicio Mununga baaa3d0e12
use `@waku/sdk` (#102)
* u target

* u deps

* f

* f
2023-11-16 14:45:16 +01:00
Felicio Mununga 48cfb2ad89
update WakuProvider (#101)
* revert notification changes

* u waku provider

* f NotificationsList

* use NotificationsList for waku state

* c
2023-11-16 14:07:58 +01:00
Felicio Mununga 7132914d3f
Merge remote-tracking branch 'origin/master' into review 2023-11-16 13:24:16 +01:00
Felicio Mununga faa624b889
Revert "add check if network is supported"
This reverts commit 9762c401fe.
2023-11-16 13:23:50 +01:00
Felicio Mununga f35371c6cd
check network (#103)
* add check if network is supported

(cherry picked from commit 9762c401fe)

* u

* f

* Apply suggestions from code review

Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>

---------

Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
2023-11-16 13:18:15 +01:00
Felicio Mununga 38dab59fbd
Merge branch 'master' into review 2023-11-06 21:04:47 +01:00
Felicio Mununga bf60b2cc1e
set provider in `readOnlyUrls` (#100) 2023-11-06 20:45:42 +01:00
Jakub Kotula fdc0663041
fix link to etherscan in notification 2023-11-06 16:51:39 +01:00
Jakub Kotula 9762c401fe
add check if network is supported 2023-11-05 10:58:34 +01:00
Felicio Mununga c2827e12f2
set provider in `readOnlyUrls`
(cherry picked from commit 8802e7ca43)
2023-11-03 22:23:52 +01:00
Jakub Kotula 4b3e56cd6e
change placeholder for public key 2023-11-03 14:13:45 +01:00
r4bbit d57f98c394
cleanup(DeploymentConfig): remove unused network configs (#99)
The application is not intended to be deployed on L1 mainnet or testnet,
so we can remove the configuration settings.
2023-11-02 13:21:54 +01:00
Felicio Mununga 54bc00c0b3
Merge branch 'master' into review 2023-11-02 13:17:22 +01:00
Felicio Mununga d5db47c521
config testnet (#98)
* config testnet

* f

(cherry picked from commit 55deba520c)
2023-11-02 13:16:07 +01:00
r4bbit 9dd802726a
chore(README): add deployment goerli OP addresses (#97)
And remove unused L1 goerli deployment addresses
2023-11-02 12:48:46 +01:00
r4bbit a3967fcdf9
chore(DeploymentConfig): add goerli optimism network config (#96) 2023-11-02 12:29:02 +01:00
r4bbit 894162b5d3
fix: adjust remappings and rpc configs (#95)
This slightly adjust the remappings config to be a bit more specific as
otherwise there was an issue with verifying contracts on chain
explorers.

It also enables RPC configs for optimism.
2023-11-02 12:25:15 +01:00
Felicio Mununga 55deba520c
f 2023-11-01 16:24:40 +01:00
r4bbit 3fb6e1ca19
chore: readme formatting (#78) 2023-11-01 15:51:59 +01:00
Felicio Mununga 2715ec654d
u 2023-11-01 13:31:47 +01:00
Felicio Mununga 8958b534b1
noop 2023-11-01 13:21:55 +01:00
Felicio Mununga 56e1316c20
Update contracts.ts (#93)
* Update contracts.ts

* Update config.ts
2023-11-01 12:59:56 +01:00
Jakub Kotula 2ea23bd37d
[FE] Batching functionality (#88) 2023-11-01 12:52:59 +01:00
Patryk Osmaczko afdfe715f5 Partially revert "chore: tweak deployment parameters before first release"
This reverts commit a47ff64a11.

closes: #46
2023-10-30 22:26:51 +01:00
r4bbit af449861d7
feat(Directory): add ownership capabilities to `Directory` (#90) 2023-10-30 16:10:19 +01:00
Felicio Mununga 4f5651871b
61-featured-communities-list-is-wrong (#87)
* u

* a

* u

* f

* Update FeatureModal.tsx
2023-10-30 13:21:28 +01:00
r4bbit 10cfa07bd7
fix(VotingContract): voting rooms are considered active until evaluated (#89)
This commit fixes a bug in the `VotingContract` where any voting room
marked as `finalized` is not considered to be an active voting room,
even though, evaluation is still ongoing.

The fix adds a check that a voting room has to be either not marked as
finalized, or, if it is, it should not be evaluated, to be considered
an active voting room.

It also adds a test that ensures the fix is working as expected.
2023-10-30 12:24:08 +01:00
r4bbit ed5e16e647
chore(DeploymentConfig): add optimism mainnet config (#86)
Closes #83
2023-10-27 20:17:53 +02:00
r4bbit 1e6f46ac8e
test: add some more assertions to tests to make them explicit (#85) 2023-10-27 20:17:05 +02:00
r4bbit aa006ba177
fix(DeployContracts): deploy multicall on local node (#82)
This fixes a bug that multicall isn't available on a local node. This
commit ensures we deploy it.

It also outputs multicall addresses for Goerli and Optimism, as those
will be needed when the app is deployed to production.
2023-10-20 14:14:44 +02:00
r4bbit c8c01b0423
fix: ensure deployscript sets directory contract (#81)
Something that came up during testing:
The deployment script didn't set the directory contract in both, the
voting contract and the featured voting contract, which resulted in
functoin calls to revert because they essentially didn't exist at the
addresses referenced in those contracts.

This commit fixes it by ensuring `setDirectory()` is called for both
voting contracts.
2023-10-17 20:24:52 +02:00
r4bbit 9c804dd06f
refactor(DeployContracts): mint test tokens for local node (#80)
This commit addresses the issue that, when testing the contracts on a
local node, the test (deployer) account does not have any tokens to use
the voting contracts with.

This is fixed by minting tokens as the deployer of the mock SNT
contract.

The commit also adds the expect SNT contract instance as a return value
of the deploy function, ensuring its address is rendered in stdout when
running the script.

Adding it to the returned tuple however caused a "stack too deep" error,
which is why we had to remove one value from the returned tuple.

Since the `DeploymentConfig` contract instance address is irrelevant for actual
deployments, I've removed it from `DeployContracts.run()` and added an
additional function to retrieve it within tests.
2023-10-17 13:28:27 +02:00
r4bbit da2810c1cd
docs: add goerli addresses (#77) 2023-10-04 13:37:58 +02:00