gear-foundation / dapps Goto Github PK
View Code? Open in Web Editor NEWGear Ecosystem
Home Page: https://wiki.gear-tech.io/docs/examples/prerequisites
License: MIT License
Gear Ecosystem
Home Page: https://wiki.gear-tech.io/docs/examples/prerequisites
License: MIT License
[![Contracts CI](https://github.com/gear-foundation/dapps/actions/workflows/contracts.yml/badge.svg?branch=master)](https://github.com/gear-foundation/dapps/actions/workflows/contracts.yml)
Originally posted by @Madib036 in #205 (comment)
Currently, tests take up an enormous amount of time of the CI workflow. On average, from 2 hours of the workflow they consume almost 3/4 of this time. The reason, initially, all tests were written for executing in separated repositories where, individually, tests didn't take up a lot of time but now, in a single workspace, this has become very critical. Therefore, we need to somehow reduce the time for tests.
Here are some ideas:
gclient
. Some of them didn't need it all, and can be rewritten with gtest
. Also, some tests are implemented for high load testing and as well take a long time. They can be moved to a separate manually controlled CI workflow or can be simply ignored by the main workflow.our repo is currently super big even downloading with --depth=1
git clone https://github.com/gear-foundation/dapps.git --depth=1
cd dapps
du -sh .
142M
# go to the frontend folder
du -h -d1
2.6M ./.yarn
120K ./packages
22M ./dev
64M ./apps
89M .
I found that we are currently using local pictures in frontend examples, for example
https://github.com/gear-foundation/dapps/tree/master/frontend/apps/escrow/src/assets/images/icons
these icons could be replaced https://fontawesome.com/ which could be embedded in node_modules but not the git history
ref #143 , the wasm files are big as well, for example https://github.com/gear-foundation/dapps/tree/master/frontend/apps/escrow/src/assets/wasm, plus the wasm files are changing while the development of contracts, so a compile
script before dev
makes sense tbh
provide a script in package.json like compile
to compile the target contract and cp the meta.wasm
to the expected place on development
Playing around with the tamagotchi contract and app. Once the tamagotchi stat gets to 8 or below I start getting this error and the whole apps locks up. However if the stat is above 8 then the wallet transaction processes like normal.
8000: Runtime error: "Program terminated with a trap: 'attempt to subtract with overflow', /home/mikenike/dapps/contracts/tamagotchi/src/lib.rs:51:24"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.