forked from madara-alliance/madara-orchestrator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ee102b
commit 9062d21
Showing
5 changed files
with
92 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"MD033": false, | ||
"MD041": false, | ||
"MD045": false, | ||
"MD003": false, | ||
"MD013": { | ||
"code_blocks": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# Madara Orchestrator | ||
|
||
The Madara orchestrator is designed to be an additional service which runs in parallel to Madara and handles | ||
The Madara orchestrator is designed to be an additional service which runs in | ||
parallel to Madara and handles | ||
|
||
1. publishing data to the respective DA layer | ||
2. running SNOS and submitting jobs to the prover | ||
3. updating the state on Cairo core contracts | ||
|
||
As a v1, the orchestrator handles the DA publishing. The architecture for the same is as follows | ||
As a v1, the orchestrator handles the DA publishing. The architecture for the | ||
same is as follows | ||
|
||
 | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Taplo | ||
|
||
[Taplo](https://github.com/tamasfe/taplo) is a TOML validator and formatter. It | ||
provides a command-line interface (CLI) for working with TOML files. | ||
|
||
## Installation | ||
|
||
You can install Taplo using either cargo or Yarn or NPM. | ||
|
||
### Cargo | ||
|
||
```bash | ||
cargo install taplo-cli --locked | ||
``` | ||
|
||
### Yarn | ||
|
||
```bash | ||
yarn global add @taplo/cli | ||
``` | ||
|
||
### NPM | ||
|
||
```bash | ||
npm install -g @taplo/cli | ||
``` | ||
|
||
### Usage | ||
|
||
To check your TOML files for formatting issues, use the following command: | ||
|
||
```bash | ||
npx @taplo/cli fmt --config taplo.toml --check | ||
``` | ||
|
||
To format all TOML files in your project, use the following command: | ||
|
||
```bash | ||
npx @taplo/cli fmt --config taplo.toml | ||
``` | ||
|
||
This command will automatically format the TOML files, ensuring consistent and | ||
readable formatting. | ||
|
||
### Configuration | ||
|
||
Taplo allows you to customize the formatting rules by adding configuration | ||
options. You can find the available options and how to use them | ||
[here](https://taplo.tamasfe.dev/configuration/formatter-options.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
include = ["**/*.toml"] | ||
exclude = ["**/bad.toml"] | ||
|
||
[formatting] | ||
align_entries = false | ||
|
||
[[rule]] | ||
keys = ["dependencies"] | ||
|
||
[rule.formatting] | ||
reorder_keys = true |