Commit Graph

193 Commits

Author SHA1 Message Date
Patryk Osmaczko 5cc0f21e07 refactor(VotingContract): improve `votingRooms` indexing 2023-03-21 22:13:40 +01:00
Patryk Osmaczko 396aa6d8a7 refactor(VotingContract): remove needless storage 2023-03-21 22:13:40 +01:00
Patryk Osmaczko 48a273443e chore: update solidity version 2023-03-21 22:13:40 +01:00
Patryk Osmaczko adafe3ad7d chore: migrate deploy scripts to hardhat 2023-03-21 22:13:40 +01:00
Patryk Osmaczko 57fa26a7c2 update yarn.lock 2023-03-20 10:06:09 +01:00
Patryk Osmaczko 6f23feab16 chore: migrate contracts to hardhat 2023-03-20 10:06:09 +01:00
Felicio Mununga 5b257aeafe
Fix usage of `ts-node/esm` and `mocha` (#12)
* revert lockfile

* revert deps

* update webpack

* update mocha

* update ts-node

* add core-js

* update js-waku

* add rimraf

* set ts-node and typescript versions

* update ts-node in contracts

* update ts-node in dapp

* update typescript in contracts

* update typescript in dapp

* extend tsconfig files

* remove ts-node/register from .mocharc

* fix @usedapp/core import

* fix `VotingContract.sol` lint errors

* set `exit` config
2023-03-15 19:22:19 +01:00
Patryk Osmaczko 346db8edd7 fix: lint 2023-03-06 21:36:24 +01:00
Patryk Osmaczko f1d364c478 chore: update CI.yml 2023-03-06 21:36:24 +01:00
Patryk Osmaczko ffc6cd6a30 update README 2023-03-02 15:58:05 +01:00
Patryk Osmaczko c92ea71397 enhance the usage of config
- use optimism goerli as default
- use any wallet provider in dev builds
2023-03-02 15:58:05 +01:00
Felicio Mununga 08676b6d65
Use `js-waku@^0.30.0` (#1)
* use `core-js@^3.26.1` and `js-waku@^0.30.0`

* comment

* use `webpack@^5.75.0`

* use `node@18.12.1`

* ignore `wakuMessage.test.ts`

* comment

* use `module` in `package.json`

* update mocha dependencies

* use `.cjs` extension for webpack config

* update mocha config

* update tsconfig

* remove empty setup.ts

* fix imports

* fix `wakuMessage.test.ts`

* rename prettier config

* resolve lint issues

* update test content topics
2023-03-02 13:52:22 +01:00
Szymon Szlachtowicz c5e897214b
Fix cast votes (#192) 2021-09-03 09:14:46 +02:00
Szymon Szlachtowicz 8082921651
Use voting history from contract (#191) 2021-09-02 13:05:35 +02:00
Szymon Szlachtowicz 253715de89
Fix test timeout (#190) 2021-09-02 11:25:42 +02:00
Szymon Szlachtowicz 9d8eb1d021
Introduce voting history to contract (#189) 2021-09-02 10:23:47 +02:00
Szymon Szlachtowicz 5c38980d4b
Use EIP712 for feature (#188) 2021-08-31 15:46:55 +02:00
Szymon Szlachtowicz 343cd57fee
Refactor waku messages (#187) 2021-08-31 09:39:27 +02:00
Szymon Szlachtowicz 69d10145fa
Use EIP712 (#186) 2021-08-27 14:53:14 +02:00
Szymon Szlachtowicz 1b8affde5a
Refactor smart contracts and fix useDapp (#185) 2021-08-26 18:57:05 +02:00
Szymon Szlachtowicz 8319db6fd9
Fix types (#184) 2021-08-26 11:34:25 +02:00
Szymon Szlachtowicz e54d22e177
Check protobuf fields (#183)
* Ensure protobud fields

* Add waku tests
2021-08-06 12:50:12 +02:00
Szymon Szlachtowicz 1eedf53352
Fix vote winner (#182) 2021-08-06 12:46:44 +02:00
Szymon Szlachtowicz ebee7f5571
Update gitignore (#181) 2021-08-05 16:39:21 +02:00
Szymon Szlachtowicz 9707156bbd
Use protobuf (#180) 2021-08-05 16:20:09 +02:00
Szymon Szlachtowicz 2b6440fc8f
Bump useDApp version (#179) 2021-08-04 15:47:10 +02:00
Szymon Szlachtowicz cedc2c9296
Add etherscan links (#178) 2021-08-03 10:01:20 +02:00
Szymon Szlachtowicz da833f7928
Show last featured in directory (#177) 2021-08-02 15:31:04 +02:00
Szymon Szlachtowicz 0dfeb056a8
Introduce subgraph (#176) 2021-08-02 13:42:11 +02:00
Szymon Szlachtowicz c7ce5544cf
Use token contract (#175) 2021-07-30 14:34:49 +02:00
Szymon Szlachtowicz 8e88d925d8
Refactor deploy (#174) 2021-07-30 12:37:00 +02:00
Szymon Szlachtowicz bdb8c4464f
Add token verification (#173) 2021-07-30 12:28:45 +02:00
Szymon Szlachtowicz 3cc6f6873c
Show number of votes (#172) 2021-07-30 08:45:49 +02:00
Szymon Szlachtowicz 7efa707e3c
Refactor hooks (#171) 2021-07-30 08:29:29 +02:00
Szymon Szlachtowicz d9bd35ac20
Add community featuring (#169) 2021-07-29 12:08:33 +02:00
Maria Rushkova 7e212a9cdf
Mobile UI changes (#166) 2021-07-28 16:50:24 +02:00
Szymon Szlachtowicz d51ad409aa
Fix tablet removeModal (#167) 2021-07-28 08:24:26 +02:00
Maria Rushkova e8e12a1633
Add notification list animation (#165) 2021-07-27 16:10:33 +02:00
Maria Rushkova e8097c4776
Make animation smooth (#164) 2021-07-27 13:42:16 +02:00
Maria Rushkova d2174b982d
Mobile voting empty state (#162) 2021-07-27 13:02:31 +02:00
Szymon Szlachtowicz 2cd3de1475
Fix mobile vote animations (#163) 2021-07-27 12:41:03 +02:00
Maria Rushkova 5d9c19ac2a
Mobile skeletons (#161) 2021-07-27 11:39:48 +02:00
Maria Rushkova e6bbcf5072
Mobile removal flow (#159) 2021-07-27 11:38:43 +02:00
Maria Rushkova c500e98599
Change warnings & buttons (#160) 2021-07-27 10:31:07 +02:00
Szymon Szlachtowicz 202d8200e8
Add multicall env variable (#158) 2021-07-26 14:45:49 +02:00
Szymon Szlachtowicz c88d95a2a5
Add localhost environment (#157) 2021-07-26 13:55:50 +02:00
Szymon Szlachtowicz aaa9bcd721
Refactor current voting (#156) 2021-07-26 13:36:53 +02:00
Maria Rushkova b5eaacdcc7
Mobile mode Status modal (#154) 2021-07-26 13:17:35 +02:00
Maria Rushkova 1e59fad524
Improve mobile feature (#153) 2021-07-26 10:54:23 +02:00
Szymon Szlachtowicz b056fb5942
Add mobile removal vote routing (#152) 2021-07-23 14:04:36 +02:00