Skip to content

Commit

Permalink
Merge pull request #24 from mangata-finance/mangata-dev-v4
Browse files Browse the repository at this point in the history
Mangata dev v4
  • Loading branch information
mateuszaaa committed Feb 17, 2022
2 parents 033ee76 + dc16986 commit 5101014
Show file tree
Hide file tree
Showing 2,042 changed files with 268,252 additions and 164,206 deletions.
33 changes: 33 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# An auto defined `clippy` feature was introduced,
# but it was found to clash with user defined features,
# so was renamed to `cargo-clippy`.
#
# If you want standard clippy run:
# RUSTFLAGS= cargo clippy
[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Aclippy::clone-double-ref",
"-Dclippy::complexity",
"-Aclippy::clone_on_copy", # Too common
"-Aclippy::needless_lifetimes", # Backward compat?
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
"-Aclippy::nonminimal-bool", # maybe
"-Aclippy::borrowed-box", # Reasonable to fix this one
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
"-Aclippy::unnecessary_cast", # Types may change
"-Aclippy::identity-op", # One case where we do 0 +
"-Aclippy::useless_conversion", # Types may change
"-Aclippy::unit_arg", # styalistic.
"-Aclippy::option-map-unit-fn", # styalistic
"-Aclippy::bind_instead_of_map", # styalistic
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
"-Aclippy::eq_op", # In tests we test equality.
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
]
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ doc
Dockerfile
.dockerignore
.local
.env*
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ trim_trailing_whitespace=true
max_line_length=100
insert_final_newline=true

[*.md]
max_line_length=80
indent_style=space
indent_size=2

[*.yml]
indent_style=space
indent_size=2
Expand Down
15 changes: 15 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# You can easily exclude big automated code changes by running
#
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# in your local repository. It will work also in IDE integrations.
#
# On versions of Git 2.20 and later comments (#), empty lines, and any leading and
# trailing whitespace is ignored. Everything but a SHA-1 per line will error out on
# older versions.
#
# You should add new commit hashes to this file when you create or find such big
# automated refactorings while reading code history. If you only know the short hash,
# use `git rev-parse 1d5abf01` to expand it to the full SHA1 hash needed in this file.

1d5abf01abafdb6c15bcd0172f5de09fd87c5fbf # Run cargo fmt on the whole code base (#9394)
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/release.md

This file was deleted.

7 changes: 7 additions & 0 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This is a whitelist of GitHub Actions that are approved for use in this project.
// If a new or existing workflow file is updated to use an action or action version
// not listed here, CI will fail.

module.exports = [
'gaurav-nelson/github-action-markdown-link-check@7481451f70251762f149d69596e3e276ebf2b236', // gaurav-nelson/github-action-markdown-link-check@v1.0.8
]
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌"]
schedule:
interval: "daily"
18 changes: 18 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- "D9-needsaudit 👮"
# Label to use when marking an issue as stale
staleLabel: "A3-stale"
# we only bother with pull requests
only: pulls
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hey, is anyone still working on this? Due to the inactivity this issue has
been automatically marked as stale. It will be closed if no further activity
occurs. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
17 changes: 0 additions & 17 deletions .github/workflows/auto-label-issues.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/auto-label-prs.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/burnin-label-notification.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/check-gitlab-pipeline.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/mangata-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
pull_request:
branches:
- mangata-dev
- mangata-dev-v4
push:
branches: [ mangata-dev ]

Expand All @@ -18,22 +19,23 @@ jobs:
with:
toolchain: nightly
default: true
- name: Install nightly-2020-10-01 with wasm
- name: Install nightly-2021-10-19 with wasm
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2020-10-01
toolchain: nightly-2021-10-19
target: wasm32-unknown-unknown
- name: Check Cargo version
run: |
cargo --version
- name: Build UT
uses: actions-rs/cargo@v1
with:
toolchain: nightly-2020-10-01
toolchain: nightly-2021-10-19
command: test
args: -j1 --no-run
args: --release -j2 --no-run
- name: Run UT
uses: actions-rs/cargo@v1
with:
toolchain: nightly-2020-10-01
toolchain: nightly-2021-10-19
command: test
args: --release
18 changes: 0 additions & 18 deletions .github/workflows/release-bot.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/release-tagging.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/trigger-review-pipeline.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ rls*.log
.local
**/hfuzz_target/
**/hfuzz_workspace/
.cargo/
.cargo-remote.toml
*.bin
*.iml
.maintain/node-template-release/Cargo.lock
Loading

0 comments on commit 5101014

Please sign in to comment.