Commit Graph

12 Commits

Author SHA1 Message Date
Shredder eb2a765803
test: remove all matchstick tests (#233)
* test: remove all matchstick tests.

* test: remove testing step in the subgraph workflow.
2023-04-19 19:51:23 +03:30
Camila Sosa Morales a571dabe6c
refactor: refactor site deploy (#225) 2023-04-14 14:26:00 -03:00
Camila Sosa Morales f51269b6a3
fix: add alchemy keys missinng (#222)
* fix: add alchemy keys missinng

* style: fix combobox index

* Update ui/src/store/features/github/async-thunk/login.ts

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* style: remove zindex

* chore: remove duplicate toast

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-04-13 11:44:55 -03:00
Camila Sosa Morales 440a80752a
feat: CI/CD xyz (#206)
* feat: add deploy site config

* feat: add CI deploy xyz

* chore: add build ui folder on github workflow

* fix: fix workflow

* fix: fix build UI step

* chore: added remove comment

* feat: depoloy site on xyz when push to develop

* chore: add env varibles

* chore: remove main branch for CI/CD

* chore: change variables for secrets

* chore: make explore landing page
2023-04-12 13:48:55 -03:00
Felipe Mendes 83cd36dfc3
feat: design ens verification flow (#193)
* wip: add base solidity functions to try ens validation

* chore: add hardhat fork setup with env variable

* wip: setup ens verification for FleekERC721

* wip: add ens namehash generation

* chore: gas report setting

* feat: add ens verification on setTokenENS function

* test: hardhat transfer ens owner to set new ens

* test: fix foundry tests to enable ens validation

* refactor: change back ens to calldata and split out a public function for namehash testing

* refactor: move FleekENS.sol to util folder

* test: add ens validation tests for not owner attempts

* chore: add mainnet api key env in ci

* chore: fix .env.example

* fix: remove extra unused file
2023-04-05 11:48:56 -03:00
Camila Sosa Morales 9db81d2025
chore: UI setup subgraph querying (#152)
* wip: querying with graph-client and apollo

* feat: fetching last nfts minted with basic pagination

* chore: add .graphclient folder to gitignore and update readme

* chore: teste pagination

* chore: add create ap button in NFA

* chore: remove unsued files

* fix: fix CI

* Update test.yml

* chore: add config to handle graphclient imports

* chore: update queries

* chore: update list nfa views

* chore: add graphql folder. remove unused env variable
2023-03-08 15:28:16 -05:00
Shredder 7387b68571
chore: add / update workflows to do folder filtering (#153)
* Reflect Polygon -> Eth Mainnet change in main readme

* chore: add / update workflows to do folder filtering and run change specific tests.

* chore: run workflows based on both the path and the target branch of pr.

* chore: add graphclient generation command to ui workflow

Co-authored-by: Camila Sosa Morales <camisosa@fleek.xyz>

* style: fix indentation in the ui workflow yml file

---------

Co-authored-by: Janison Sivarajah <jsonsivar@gmail.com>
Co-authored-by: Camila Sosa Morales <camisosa@fleek.xyz>
2023-03-08 09:50:25 +03:30
Shredder 2ae7666648
feat: subgraph reverse lookup (gitRepo -> NFA) (#131)
* feat: define the GithubRepository entity and update the Token entity to include it.

* feat: add NewMint event to the contract and emit it in the mint function.

* feat: add newmint entity, update token and gitrepository entities. add handler for entities. update transfer entity handler. update subgraph.yaml config.

* chore: deployment update

* chore: fix proxy file with before deployments

* fix: remove constructor args in verify-polyscan.js file and update contract address at subgraph.yaml

* fix: remove develop from subgraph.yaml gh action.

* merge: develop with auto approval settings into reverse lookup branch

* fix: remove the word settings from acesspointautoapproval param.

* fix: error in hardhat last token id test

* fix: solidity tests.

* fix: proxy contract address in subgraph.yaml.

* chore: run subgraph tests only on main PRs

---------

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-02-24 16:22:18 +03:30
Felipe Mendes a86c30a8da
refactor: make a single event for token metadata changes (#111)
* refactor: add new unified events and remove old multiple ones

* fix: remove indexed from string params on events

* test: add hardhat tests for metadata update changes

* refactor: change event name

* test: add foundry tests for event emits in metadata changes

* refactor: undo changes on accespoint events

* chore: remove subgraph ci tests on prs for develop

* refactor: overload MetadataUpdate event to have multiple type of parameters

---------

Co-authored-by: Shredder <110225819+EmperorOrokuSaki@users.noreply.github.com>
2023-02-17 09:59:55 -03:00
Shredder 2adb39641b
feat: new GH action for the subgraph (#120)
* feat: add subgraph unit tests to github action.

* feat: add yarn codegen to the github action.

* feat: create a subgraph action, remove unit testing subgraphs from test action.

* fix: add the location of the contracts.

* chore: remove empty tabs from GH workflow files.

* chore: add path to the subgraph github action and also add build command.

* fix: include a yarn compile step in the subgraph github action.
2023-02-10 22:42:58 +03:30
Janison Sivarajah 6a827263b7
chore: change top level folder structure (#105)
* folder restructure init - WIP

* Update husky for folder change

* Properly ignore local zeppelin file

* change folder strucutre: update readme and contribution files

* remove chakra from readme list of key dependencies

* run contract workflow steps in contract dir

* Cleanup readmes, split contract into it's own

* Apply some suggestions from code review

Co-authored-by: Shredder <110225819+EmperorOrokuSaki@users.noreply.github.com>
Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* Move .env.example to contracts folder, and use consistent format for directory references in docs

* More readme dir ref fixes

* Update poc note in readme, and removed deploy folder from readme

* Prettier refactor

* Revert "Prettier refactor"

This reverts commit 82249e32aaf6a6e9a4d432c4f89ca365c18972f8.

* Clean up package.json and add prettier ignore

---------

Co-authored-by: Shredder <110225819+EmperorOrokuSaki@users.noreply.github.com>
Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2023-02-06 15:15:44 -05:00
Felipe Mendes dc2f8849c2
chore: add test workflow (#19)
* chore: add test workflow

* chore: upgrade package lock

* chore: add ui tests workflow job

* chore: add compile and build steps for test workflow

* chore: remove ui test command to run just build on workflow

* chore: fix missed conflict

* chore: add foundry installation on test workflow

* fix: wrong sintax breaking test

* chore: set foundry version in workflow

* fix: foundry lib version
2022-12-16 17:51:54 -03:00