Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 27 6 wip #4582

Merged
merged 19 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
target: ${{ matrix.target }}
override: true
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -92,7 +92,18 @@ jobs:
tar czvf massa_${GITHUB_REF/refs\/tags\//}_${{ matrix.name }} massa
fi
cd -
- name: Generate checksum
uses: jmgilman/actions-generate-checksum@v1
with:
method: sha256
patterns: |
massa_*.zip
massa_*.tar.gz
output: checksums_${{ matrix.name }}.txt
- name: Publish
uses: softprops/action-gh-release@v1
with:
files: 'massa_*'
files: |
massa_*.zip
massa_*.tar.gz
checksums_*.txt
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
- uses: Swatinem/rust-cache@v2
with:
shared-key: "check"
Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
components: clippy
override: true
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
override: true
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -206,7 +206,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: nextest
args: run --retries 10 --profile ci
args: run --retries 10 --profile ci
- uses: actions-rs/cargo@v1
with:
command: clean
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
components: rustfmt
override: true
- uses: actions/checkout@v3
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
toolchain: 1.74.1
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand Down
55 changes: 55 additions & 0 deletions COMMUNITY_CHARTER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Massa Community Charter

Code for open collaboration & truly decentralized blockchain

This is the “social” contract that all members of the Massa community are committed to read and to follow (hereinafter the “Charter”). By member we mean anyone who owns Massa tokens, who hosts a node, or who creates blocks on the Massa blockchain (hereinafter a “Member”).

This Charter aims to reflect the values of openness, transparency, decentralization, and the prohibition of delegation that are intrinsic to the community. By signing this Charter, any individual, institution, or social group of any kind commits to fulfill the principles established below.

## Decentralization

In order to preserve the fully decentralized character of the blockchain, the members undertake to make direct use of their Massa and more specifically not to delegate or transmit the management of their Massa to other members for staking; or to take on such delegation or management to stake on their behalf (as described in ###Prohibition on delegation by any means). Such a prohibition is effective when the amount of tokens transmitted or delegated is greater than or equal to 1,000,000 MAS tokens.


Thus, any Member commits themselves not to act within the Massa community as professional delegates (person or entity whose economic activity, whether principal or accessory, is to receive coins from other members to stake them on their behalf). For the avoidance of doubt, listing Massa on an exchange platform is allowed and other exchange platform activities (receive, manage and trade cryptocurrencies between blockchain networks) are allowed except staking.

## Prohibition of delegation by any means

As mentioned above (Decentralization section), the Massa ecosystem community recognizes that, for reasons of decentralization, delegating or transferring the management of tokens held by a given Member to another one constitutes an assumption of delegation contrary to the terms of this Charter. This includes, but is not limited to, delegation contrary to the provisions of the Charter:
Delegating tokens to a third party, whether professional or not, to stake or validate blocks on behalf of a given token holder;
Participating in a delegation pool.
Any violation of the prohibition of delegation is subject to sanctions, such as:
Suspension or exclusion of the given Member from the Massa community;
Legal action against the failing Member.
In any and all instances, any Member who feels aggrieved under the terms of the present provisions may request Massa Foundation's support, in particular for the purpose of taking legal action in the event that the defaulting Member's behavior is manifestly disproportionate and contrary to the present provisions.
In addition, any Member may also bring legal action with the support of any private entity they choose, such as a law firm. The provisions of this charter have full contractual value, allowing such an action to be brought in the event of a violation, whether the action is brought directly by the Foundation, by a community member with the support of the Foundation, or by a community member with the support of a private law firm.

## Accountability

The community recognizes everyone's right to be anonymous, however members' activities must be carried out in accordance with the charter to ensure that they do not undermine other members or even the decentralization of the Massa blockchain.

Massa members agree about what constitutes fair use of the platform, and are committed to not engaging in its misuse, whether explicitly or covertly. On a regular basis, and in case of doubt, the community may implement a number of measures to ensure compliance with these commitments. The community can also engage in all necessary actions in order to establish evidence of non-compliance in order to incur the liability of non-compliant persons.

## Transparency and integrity

The Massa network, and its current or future configuration, development, deployment and use must ensure and prioritize [1]transparency, [2]traceability and [3]integrity within the community at all times.

* [1]Transparency is a necessary condition for monitoring participatory processes and mechanisms, but will never, in any case, be applied to the processing of personal data or in violation of the privacy of Massa participants.

* [2]Traceability refers to the ability to fully account for what happens in any participatory or decision-making process related to the Massa community in the past and, to guarantee similar conditions for present and future ones. Each member acts on his or her own behalf or undertakes to make his or her position clear when acting on behalf of another Massa user or member.

* [3]Integrity is understood as the authenticity of a specific vote, or decision process, in order to avoid manipulation of proposals or results of participatory processes or mechanisms.

## Continuous improvement and governance

The Charter will be accessible on the blockchain at charter.massa. The community will be responsible for updating the present Charter in light of its collective needs and on the basis of a majority vote of the stakers, once the governance framework has been implemented. It suggests shared governance procedures based on Massa and a non-centralized decision-making process. Mechanisms for periodic review and evaluation of this Charter will be provided in order to facilitate its continuous improvement.

Every Member of the Massa community is responsible for the application of this Charter.

## Massa protocol license

In addition to the rights set forth in the Open Source license(s) included in the distribution for this software, data, and/or documentation (collectively the "Software," and such licenses collectively with this additional terms the "Software License"), the copyright holders wish to facilitate interoperability and regulate such data exchange with other software (including constants, function signatures, data structures and other invocation methods used to run or interact with each of them).

The implementation of the Massa protocol is conditional to the acceptance of and compliance with the Massa Charter available at charter.massa (the "Charter"). The mere use of any software implementing the Massa protocol makes you a Member of the Massa community and requires the reading and acceptance of the Charter. You must therefore accept the terms of the Charter and undertake to ensure that other members of the community respect them as well.

Failure to comply with these terms may result in legal action, as specified in the present provisions.
Loading
Loading