Skip to content

Commit

Permalink
Merge branch 'master' into feat/stdlib-net-url
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
moul authored and gfanton committed Sep 20, 2023
2 parents 25da127 + 61f3ada commit 99aeb62
Show file tree
Hide file tree
Showing 19 changed files with 939 additions and 30 deletions.
36 changes: 20 additions & 16 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
codecov:
require_ci_to_pass: no
require_ci_to_pass: false
notify:
wait_for_ci: no
wait_for_ci: false

ignore:
- misc

comment: false # will use it later.
comment:
require_changes: false

coverage:
status:
project: off
patch: off
round: down
precision: 2

flags:
flag_management:
default_rules:
carryforward: true
tm2:
paths:
statuses:
- type: project
target: auto
threshold: 0.5%
- type: patch
target: auto
individual_flags:
- name: tm2
paths:
- tm2
after_n_builds: 4
gnovm:
paths:
- name: gnovm
paths:
- gnovm
after_n_builds: 9
gno.land:
paths:
- name: gno.land
paths:
- gno.land
after_n_builds: 3
2 changes: 1 addition & 1 deletion .github/workflows/gnoland.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: gno.land
flags: gno.land,gno.land-${{matrix.args}},go-${{ matrix.go-version }}
flags: gno.land-${{matrix.args}}
files: ./gno.land/coverage.out
#fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
fail_ci_if_error: false # temporarily
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gnovm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: gnovm
flags: gnovm,gnovm-${{matrix.args}},go-${{ matrix.go-version }}
flags: gnovm-${{matrix.args}}
files: ./gnovm/coverage.out
#fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
fail_ci_if_error: false # temporarily
2 changes: 1 addition & 1 deletion .github/workflows/tm2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: tm2
flags: tm2,tm2-${{matrix.args}},go-${{ matrix.go-version }}
flags: tm2-${{matrix.args}}
files: ./tm2/coverage.out
#fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
fail_ci_if_error: false # temporarily
14 changes: 12 additions & 2 deletions PHILOSOPHY.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Philosophy

* Simplicity of design.
* Simplicity of design - there should be one obvious way to do it.
* The code is the spec.
* Readability is paramount - beautiful is better than fast.
* Minimal code - keep total footprint small.
* Minimal dependencies - all dependencies must get audited, and become part of the repo.
* Modular dependencies - whereever reasonable, make components modular.
* Finished - software projects that don't become finished are projects that
are forever vulnerable. One of the primary goals of the Gno language and
related works is to become finished within a reasonable timeframe.
* Maintainable, debuggable, and future-proof codebase.

## Gno Philosophy

Expand All @@ -20,7 +22,15 @@

* Each node can run on a commodity machine. Corollarily, for scaling we focus on sharding & forms of IBC.

## Cli Philosophy
## Performance Philosophy

* Correct, debuggable software is more important than extreme performance.
* Multicore concurrency makes Tendermint within the range of theoretical performance.
* Go is chosen for faster development of modular components, not for maximum speed.
* Real bottleneck is in the application layer, not in supporting large validator sets.
* Focus on feature completeness, debuggability, and maintainability over extreme performance.

## CLI Philosophy

* No envs.
* No short flags.
Expand Down
5 changes: 5 additions & 0 deletions examples/gno.land/p/demo/math_eval/int32/gno.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module gno.land/p/demo/math_eval/int32

require (
"gno.land/p/demo/ufmt" v0.0.0-latest
)
Loading

0 comments on commit 99aeb62

Please sign in to comment.