-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from karnotxyz/revert-2-delete_all
review init
- Loading branch information
Showing
43 changed files
with
118,252 additions
and
0 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,13 @@ | ||
APP_CHAIN_ID="" | ||
ETH_CHAIN_ID=0 | ||
ETH_PRIV_KEY="" | ||
ETH_RPC="" | ||
FEE_TOKEN_ADDRESS="" | ||
L1_DEPLOYER_ADDRESS="" | ||
L1_WAIT_TIME="" | ||
L2_DEPLOYER_ADDRESS="" | ||
ROLLUP_PRIV_KEY="" | ||
ROLLUP_SEQ_URL="" | ||
SN_OS_CONFIG_HASH_VERSION="" | ||
SN_OS_PROGRAM_HASH="" | ||
CROSS_CHAIN_WAIT_TIME=0 |
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,3 @@ | ||
target/ | ||
starkgate-contracts/ | ||
starkgate-contracts-2-0-1/ |
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,23 @@ | ||
--- | ||
name: Task - Linters Cargo | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
cargo-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# selecting a toolchain either by action or manual `rustup` calls should happen | ||
# before the plugin, as the cache uses the current rustc version as its cache key | ||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
- name: Format and clippy | ||
run: | | ||
cargo fmt -- --check | ||
cargo clippy --no-deps -- -D warnings | ||
cargo clippy --tests --no-deps -- -D warnings |
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,33 @@ | ||
--- | ||
name: Task - Linters | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run prettier | ||
run: |- | ||
npx prettier --check . | ||
markdown-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: avto-dev/markdown-lint@v1 | ||
with: | ||
config: "./.markdownlint.json" | ||
args: "." | ||
ignore: "./target" | ||
|
||
toml-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout toml files | ||
uses: actions/checkout@v3 | ||
- name: Run toml check | ||
run: npx @taplo/cli fmt --config ./taplo/taplo.toml --check |
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,23 @@ | ||
--- | ||
name: Workflow - Pull Request | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
linters: | ||
name: Run linters | ||
uses: ./.github/workflows/linters.yml | ||
|
||
rust_build: | ||
name: Build Rust project | ||
uses: ./.github/workflows/rust-build.yml | ||
|
||
linters_cargo: | ||
name: Run Cargo linters | ||
uses: ./.github/workflows/linters-cargo.yml | ||
needs: rust_build |
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,22 @@ | ||
--- | ||
name: Task - Build Rust | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
rust_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# selecting a toolchain either by action or manual `rustup` calls should happen | ||
# before the plugin, as the cache uses the current rustc version as its cache key | ||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build the project | ||
run: | | ||
cargo build --release --workspace |
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,3 @@ | ||
/target | ||
.idea | ||
.env |
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,8 @@ | ||
[submodule "starkgate contracts 2.0.1"] | ||
path = starkgate-contracts-2-0-1 | ||
url = https://github.com/starknet-io/starkgate-contracts | ||
branch = cairo-1 | ||
[submodule "starkgate contracts 0.9.0"] | ||
path = starkgate-contracts | ||
url = https://github.com/starknet-io/starkgate-contracts | ||
branch = update-cairo-0.9.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
target/ | ||
starkgate-contracts/ | ||
starkgate-contracts-2-0-1/ |
Oops, something went wrong.